Skip to content

Commit e2054d5

Browse files
authored
Fix issue 586 (#594)
# What does this PR do? - Addresses issue (#586 ) ## Test Plan ``` python llama_stack/scripts/distro_codegen.py ``` ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Ran pre-commit to handle lint / formatting issues. - [ ] Read the [contributor guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md), Pull Request section? - [ ] Updated relevant documentation. - [ ] Wrote necessary unit or integration tests.
1 parent 02b43be commit e2054d5

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/source/distributions/self_hosted_distro/meta-reference-gpu.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ LLAMA_STACK_PORT=5001
6060
docker run \
6161
-it \
6262
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
63+
-v ~/.llama:/root/.llama \
6364
llamastack/distribution-meta-reference-gpu \
6465
--port $LLAMA_STACK_PORT \
6566
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct
@@ -71,6 +72,7 @@ If you are using Llama Stack Safety / Shield APIs, use:
7172
docker run \
7273
-it \
7374
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
75+
-v ~/.llama:/root/.llama \
7476
llamastack/distribution-meta-reference-gpu \
7577
--port $LLAMA_STACK_PORT \
7678
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct \

docs/source/distributions/self_hosted_distro/meta-reference-quantized-gpu.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ LLAMA_STACK_PORT=5001
6060
docker run \
6161
-it \
6262
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
63+
-v ~/.llama:/root/.llama \
6364
llamastack/distribution-meta-reference-quantized-gpu \
6465
--port $LLAMA_STACK_PORT \
6566
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct
@@ -71,6 +72,7 @@ If you are using Llama Stack Safety / Shield APIs, use:
7172
docker run \
7273
-it \
7374
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
75+
-v ~/.llama:/root/.llama \
7476
llamastack/distribution-meta-reference-quantized-gpu \
7577
--port $LLAMA_STACK_PORT \
7678
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct \

llama_stack/templates/meta-reference-gpu/doc_template.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ LLAMA_STACK_PORT=5001
5050
docker run \
5151
-it \
5252
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
53+
-v ~/.llama:/root/.llama \
5354
llamastack/distribution-{{ name }} \
5455
--port $LLAMA_STACK_PORT \
5556
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct
@@ -61,6 +62,7 @@ If you are using Llama Stack Safety / Shield APIs, use:
6162
docker run \
6263
-it \
6364
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
65+
-v ~/.llama:/root/.llama \
6466
llamastack/distribution-{{ name }} \
6567
--port $LLAMA_STACK_PORT \
6668
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct \

llama_stack/templates/meta-reference-quantized-gpu/doc_template.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ LLAMA_STACK_PORT=5001
5252
docker run \
5353
-it \
5454
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
55+
-v ~/.llama:/root/.llama \
5556
llamastack/distribution-{{ name }} \
5657
--port $LLAMA_STACK_PORT \
5758
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct
@@ -63,6 +64,7 @@ If you are using Llama Stack Safety / Shield APIs, use:
6364
docker run \
6465
-it \
6566
-p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
67+
-v ~/.llama:/root/.llama \
6668
llamastack/distribution-{{ name }} \
6769
--port $LLAMA_STACK_PORT \
6870
--env INFERENCE_MODEL=meta-llama/Llama-3.2-3B-Instruct \

0 commit comments

Comments
 (0)