mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
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 <rbryant@redhat.com>
This commit is contained in:
parent
fb9e6371ec
commit
5828ffd53b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue