mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 00:34:44 +00:00
Fixed Formatting in Zero To Hero README.md
This commit is contained in:
parent
b1a63df8cd
commit
41ef81ef1e
1 changed files with 3 additions and 3 deletions
|
@ -120,13 +120,13 @@ export SAFETY_MODEL="meta-llama/Llama-Guard-3-1B"
|
||||||
|
|
||||||
3. **Run the Llama Stack**:
|
3. **Run the Llama Stack**:
|
||||||
- Run the stack with command shared by the API from earlier:
|
- Run the stack with command shared by the API from earlier:
|
||||||
```bash
|
```bash
|
||||||
llama stack run ollama \
|
llama stack run ollama \
|
||||||
--port $LLAMA_STACK_PORT \
|
--port $LLAMA_STACK_PORT \
|
||||||
--env INFERENCE_MODEL=$INFERENCE_MODEL \
|
--env INFERENCE_MODEL=$INFERENCE_MODEL \
|
||||||
--env SAFETY_MODEL=$SAFETY_MODEL \
|
--env SAFETY_MODEL=$SAFETY_MODEL \
|
||||||
--env OLLAMA_URL=http://localhost:11434
|
--env OLLAMA_URL=http://localhost:11434
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: Everytime you run a new model with `ollama run`, you will need to restart the llama stack. Otherwise it won't see the new model
|
Note: Everytime you run a new model with `ollama run`, you will need to restart the llama stack. Otherwise it won't see the new model
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue