mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Fix Zero to Hero README.md Formatting (#546)
# What does this PR do? The formatting shown in the picture below in the Zero to Hero README.md was fixed with this PR (also shown in a picture below). **Before** <img width="1014" alt="Screenshot 2024-11-28 at 1 47 32 PM" src="https://github.com/user-attachments/assets/02d2281e-83ae-43eb-a1c7-702bc2365120"> **After** <img width="1014" alt="Screenshot 2024-11-28 at 1 50 19 PM" src="https://github.com/user-attachments/assets/03e54f40-c347-4737-8b91-197eee70a52f">
This commit is contained in:
parent
5fc2ee6f77
commit
2fc1c16d58
1 changed files with 7 additions and 7 deletions
|
@ -120,13 +120,13 @@ export SAFETY_MODEL="meta-llama/Llama-Guard-3-1B"
|
|||
|
||||
3. **Run the Llama Stack**:
|
||||
- Run the stack with command shared by the API from earlier:
|
||||
```bash
|
||||
llama stack run ollama \
|
||||
--port $LLAMA_STACK_PORT \
|
||||
--env INFERENCE_MODEL=$INFERENCE_MODEL \
|
||||
--env SAFETY_MODEL=$SAFETY_MODEL \
|
||||
--env OLLAMA_URL=http://localhost:11434
|
||||
```
|
||||
```bash
|
||||
llama stack run ollama \
|
||||
--port $LLAMA_STACK_PORT \
|
||||
--env INFERENCE_MODEL=$INFERENCE_MODEL \
|
||||
--env SAFETY_MODEL=$SAFETY_MODEL \
|
||||
--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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue