Save gguf in models/MODEL_ID/model.gguf

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
Adrien Gallouët 2025-02-19 16:13:50 +00:00
parent 961a133d4b
commit d41183a0b4
No known key found for this signature in database

View File

@ -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)