From 5828ffd53b7b940f53ffd7bd9a0a8b31a9bd7e01 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 27 Sep 2024 16:31:11 -0400 Subject: [PATCH] inference: Fix download command in error msg (#133) I got this error message and tried to the run the command presented and it didn't work. The model needs to be give with `--model-id` instead of as a positional argument. Signed-off-by: Russell Bryant --- .../providers/impls/meta_reference/inference/generation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/providers/impls/meta_reference/inference/generation.py b/llama_stack/providers/impls/meta_reference/inference/generation.py index e418979e2..397e923d2 100644 --- a/llama_stack/providers/impls/meta_reference/inference/generation.py +++ b/llama_stack/providers/impls/meta_reference/inference/generation.py @@ -53,7 +53,7 @@ def model_checkpoint_dir(model) -> str: assert checkpoint_dir.exists(), ( f"Could not find checkpoint dir: {checkpoint_dir}." - f"Please download model using `llama download {model.descriptor()}`" + f"Please download model using `llama download --model-id {model.descriptor()}`" ) return str(checkpoint_dir)