address nits, remove docker_image=null

This commit is contained in:
Xi Yan 2024-09-16 10:56:05 -07:00
parent 037212c7b1
commit 13871d5a5b
13 changed files with 6 additions and 16 deletions

View file

@ -29,13 +29,13 @@ class StackBuild(Subcommand):
self.parser.add_argument(
"config",
type=str,
help="Path to a config file to use for the build",
help="Path to a config file to use for the build. You may find example configs in llama_toolchain/configs/distributions",
)
self.parser.add_argument(
"--name",
type=str,
help="Override the name of the llama stack build",
help="Name of the llama stack build to override from template config",
)
def _run_stack_build_command_from_build_config(
@ -92,5 +92,3 @@ class StackBuild(Subcommand):
if args.name:
build_config.name = args.name
self._run_stack_build_command_from_build_config(build_config)
return

View file

@ -1,7 +1,6 @@
name: local-conda-example
distribution_spec:
description: Use code from `llama_toolchain` itself to serve all llama stack APIs
docker_image: null
providers:
inference: meta-reference
memory: meta-reference-faiss

View file

@ -1,7 +1,6 @@
name: local-fireworks-conda-example
distribution_spec:
description: Use Fireworks.ai for running LLM inference
docker_image: null
providers:
inference: remote::fireworks
memory: meta-reference-faiss

View file

@ -1,7 +1,6 @@
name: local-ollama-conda-example
distribution_spec:
description: Like local, but use ollama for running LLM inference
docker_image: null
providers:
inference: remote::ollama
memory: meta-reference-faiss

View file

@ -1,7 +1,6 @@
name: local-tgi-conda-example
distribution_spec:
description: Use TGI (local or with Hugging Face Inference Endpoints for running LLM inference. When using HF Inference Endpoints, you must provide the name of the endpoint).
docker_image: null
providers:
inference: remote::tgi
memory: meta-reference-faiss

View file

@ -1,7 +1,6 @@
name: local-tgi-conda-example
distribution_spec:
description: Use Together.ai for running LLM inference
docker_image: null
providers:
inference: remote::together
memory: meta-reference-faiss

View file

@ -1,5 +1,4 @@
description: Like local, but use ollama for running LLM inference
docker_image: null
providers:
inference: remote::ollama
safety: meta-reference

View file

@ -1,5 +1,4 @@
description: Use Fireworks.ai for running LLM inference
docker_image: null
providers:
inference: remote::fireworks
safety: meta-reference

View file

@ -1,5 +1,4 @@
description: Use TGI (local or with Hugging Face Inference Endpoints for running LLM inference. When using HF Inference Endpoints, you must provide the name of the endpoint).
docker_image: null
providers:
inference: remote::tgi
safety: meta-reference

View file

@ -1,5 +1,4 @@
description: Use Together.ai for running LLM inference
docker_image: null
providers:
inference: remote::together
safety: meta-reference

View file

@ -1,5 +1,4 @@
description: Use code from `llama_toolchain` itself to serve all llama stack APIs
docker_image: null
providers:
inference: meta-reference
memory: meta-reference-faiss

View file

@ -1,7 +1,6 @@
name: local-docker-example
distribution_spec:
description: Use code from `llama_toolchain` itself to serve all llama stack APIs
docker_image: null
providers:
inference: meta-reference
memory: meta-reference-faiss

View file

@ -25,4 +25,7 @@ host_build_dir="$2"
container_build_dir="/app/builds"
set -x
podman run -it -v $host_build_dir:$container_build_dir $docker_image llama stack configure ./llamastack-build.yaml --output-dir $container_build_dir
podman run -it \
-v $host_build_dir:$container_build_dir \
$docker_image \
llama stack configure ./llamastack-build.yaml --output-dir $container_build_dir