mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-15 23:42:37 +00:00
chore!: remove --image-type and --image-name from llama stack run (#3714)
# What does this PR do? Simplifies the CLI. I don't think these options make sense anymore: only venv is supported as image-type, and users can simply activate the env before running `llama stack` as they do any other project. ## Test Plan --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/llamastack/llama-stack/pull/3714). * __->__ #3714 * #3711
This commit is contained in:
parent
372dedb3d6
commit
9b9ff3b9bb
13 changed files with 48 additions and 52 deletions
|
|
@ -223,12 +223,12 @@
|
|||
" del os.environ[\"UV_SYSTEM_PYTHON\"]\n",
|
||||
"\n",
|
||||
"# this command installs all the dependencies needed for the llama stack server\n",
|
||||
"!uv run --with llama-stack llama stack build --distro llama_api --image-type venv\n",
|
||||
"!uv run --with llama-stack llama stack build --distro llama_api\n",
|
||||
"\n",
|
||||
"def run_llama_stack_server_background():\n",
|
||||
" log_file = open(\"llama_stack_server.log\", \"w\")\n",
|
||||
" process = subprocess.Popen(\n",
|
||||
" \"uv run --with llama-stack llama stack run llama_api --image-type venv\",\n",
|
||||
" \"uv run --with llama-stack llama stack run llama_api\",\n",
|
||||
" shell=True,\n",
|
||||
" stdout=log_file,\n",
|
||||
" stderr=log_file,\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue