mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
fix: update llama stack build --run to use new start_stack.sh signature (#2191)
# What does this PR do? fixes #2188 ## Test Plan `INFERENCE_MODEL=meta-llama/Llama-3.3-70B-Instruct llama stack build --image-name ollama --image-type conda --template ollama --run` without error
This commit is contained in:
parent
1ae61e8d5f
commit
8f9964f46b
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ def run_stack_build_command(args: argparse.Namespace) -> None:
|
||||||
if not os.path.exists(str(config.external_providers_dir)):
|
if not os.path.exists(str(config.external_providers_dir)):
|
||||||
os.makedirs(str(config.external_providers_dir), exist_ok=True)
|
os.makedirs(str(config.external_providers_dir), exist_ok=True)
|
||||||
run_args = formulate_run_args(args.image_type, args.image_name, config, args.template)
|
run_args = formulate_run_args(args.image_type, args.image_name, config, args.template)
|
||||||
run_args.extend([run_config, str(os.getenv("LLAMA_STACK_PORT", 8321))])
|
run_args.extend([str(os.getenv("LLAMA_STACK_PORT", 8321)), "--config", run_config])
|
||||||
run_command(run_args)
|
run_command(run_args)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue