kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 8bc845d9f3891e548a0ae8f5d7b0cd6df19265fb41c638996f0c80c5f56e471d |
|---|---|
| Author | Dalton Flanagan <6599399+dltn@users.noreply.github.com> · 2024-09-18 00:47 -04:00 |
| Committer | GitHub <noreply@github.com> · 2024-09-18 00:47 -04:00 |
| Parents | 7bf84b9a642d |
1 file changed
modified docs/getting_started.md +4 −4
| @@ -9,7 +9,7 @@ | ||
| 9 | 9 | |
| 10 | 10 | **`llama stack build`** |
| 11 | 11 | ``` |
| 12 | -llama stack build --config ./llama_stack/distribution/example_configs/conda/local-conda-example-build.yaml --name my-local-llama-stack | |
| 12 | +llama stack build ./llama_stack/distribution/example_configs/conda/local-conda-example-build.yaml --name my-local-llama-stack | |
| 13 | 13 | ... |
| 14 | 14 | ... |
| 15 | 15 | Build spec configuration saved at ~/.llama/distributions/conda/my-local-llama-stack-build.yaml |
| @@ -149,13 +149,13 @@ | ||
| 149 | 149 | |
| 150 | 150 | The following command allows you to build a distribution with TGI as the inference API provider, with the name `tgi`. |
| 151 | 151 | ``` |
| 152 | -llama stack build --config ./llama_stack/distribution/example_configs/conda/local-tgi-conda-example-build.yaml --name tgi | |
| 152 | +llama stack build ./llama_stack/distribution/example_configs/conda/local-tgi-conda-example-build.yaml --name tgi | |
| 153 | 153 | ``` |
| 154 | 154 | |
| 155 | 155 | We provide some example build configs to help you get started with building with different API providers. |
| 156 | 156 | |
| 157 | 157 | #### How to build distribution with Docker image |
| 158 | -To build a docker image, simply change the `image_type` to `docker` in our `<name>-build.yaml` file, and run `llama stack build --config <name>-build.yaml`. | |
| 158 | +To build a docker image, simply change the `image_type` to `docker` in our `<name>-build.yaml` file, and run `llama stack build <name>-build.yaml`. | |
| 159 | 159 | |
| 160 | 160 | ``` |
| 161 | 161 | $ cat ./llama_stack/distribution/example_configs/docker/local-docker-example-build.yaml |
| @@ -175,7 +175,7 @@ | ||
| 175 | 175 | |
| 176 | 176 | The following command allows you to build a Docker image with the name `docker-local` |
| 177 | 177 | ``` |
| 178 | -llama stack build --config ./llama_stack/distribution/example_configs/docker/local-docker-example-build.yaml --name docker-local | |
| 178 | +llama stack build ./llama_stack/distribution/example_configs/docker/local-docker-example-build.yaml --name docker-local | |
| 179 | 179 | |
| 180 | 180 | Dockerfile created successfully in /tmp/tmp.I0ifS2c46A/DockerfileFROM python:3.10-slim |
| 181 | 181 | WORKDIR /app |