forked from phoenix-oss/llama-stack-mirror
Move to use argparse, fix issues with multiple --env cmdline options
This commit is contained in:
parent
b87f3ac499
commit
fb15ff4a97
3 changed files with 31 additions and 19 deletions
|
@ -58,9 +58,8 @@ eval "$(conda shell.bash hook)"
|
|||
conda deactivate && conda activate "$env_name"
|
||||
|
||||
set -x
|
||||
echo "ENV VARS $env_vars"
|
||||
$CONDA_PREFIX/bin/python \
|
||||
-m llama_stack.distribution.server.server \
|
||||
--yaml_config "$yaml_config" \
|
||||
--yaml-config "$yaml_config" \
|
||||
--port "$port" \
|
||||
"$env_vars"
|
||||
$env_vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue