Skip to content

Commit

Permalink
docs: update readme for commands to run llama on npu and xpu
Browse files Browse the repository at this point in the history
  • Loading branch information
0x404 committed Sep 4, 2024
1 parent 9838fe7 commit 0ece33a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/Llama/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ bash tools/infer.sh projects/Llama/pipeline.py 8

- npu
```bash
python projects/Llama/pipeline.py --device=npu --mode=huggingface --config_file=projects/Llama/configs/llama_config_npu.py
python projects/Llama/pipeline.py --device=npu --mode=huggingface --model_path /your/model/path
```

- xpu
```bash
python projects/Llama/pipeline.py --device=xpu --mode=huggingface --config_file=projects/Llama/configs/llama_config_xpu.py
python projects/Llama/pipeline.py --device=xpu --mode=huggingface --model_path /your/model/path
```

0 comments on commit 0ece33a

Please sign in to comment.