mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-07 02:12:08 +00:00
Save gguf in models/MODEL_ID/model.gguf
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
parent
961a133d4b
commit
d41183a0b4
@ -216,7 +216,7 @@ async fn main() -> Result<(), RouterError> {
|
||||
error!("No GGUF model given and environment variable MAKE_GGUF is missing.");
|
||||
RouterError::VarError(e)
|
||||
})?;
|
||||
let model_gguf = "models/model.gguf".to_string();
|
||||
let model_gguf = format!("models/{}/model.gguf", args.model_id);
|
||||
|
||||
let status = Command::new(make_gguf)
|
||||
.arg(&model_gguf)
|
||||
|
Loading…
Reference in New Issue
Block a user