mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 13:00:39 +00:00
fix: build_venv expects an extra argument
currently, build_venv.sh expects a `distribution_type` as the first argument but the only things ever passed are: 1. image name 2. pip dependencies so distribution_type is never passed in meaning the script errors when calling something like: `llama stack build --image-type venv --template ollama --image-name test` Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
c4987bc349
commit
3aa3937560
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ if [ -n "$LLAMA_MODELS_DIR" ]; then
|
|||
fi
|
||||
|
||||
if [ "$#" -lt 2 ]; then
|
||||
echo "Usage: $0 <distribution_type> <env_name> <pip_dependencies> [<special_pip_deps>]" >&2
|
||||
echo "Example: $0 <distribution_type> mybuild ./my-stack-build.yaml 'numpy pandas scipy'" >&2
|
||||
echo "Usage: $0 <env_name> <pip_dependencies> [<special_pip_deps>]" >&2
|
||||
echo "Example: $0 mybuild ./my-stack-build.yaml 'numpy pandas scipy'" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue