mirror of
https://github.com/deepseek-ai/DeepSeek-V3
synced 2025-01-22 12:25:30 +00:00
fix: fix readme doc typo.
This commit is contained in:
parent
fd011c11aa
commit
3779a89770
@ -283,13 +283,13 @@ python convert.py --hf-ckpt-path /path/to/DeepSeek-V3 --save-path /path/to/DeepS
|
|||||||
Then you can chat with DeepSeek-V3:
|
Then you can chat with DeepSeek-V3:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
torchrun --nnodes 2 --nproc-per-node 8 generate.py --node-rank $RANK --master-addr $ADDR --ckpt-path /path/to/DeepSeek-V3-Demo --config configs/config_671B.json --interactive --temperature 0.7 --max-new-tokens 200
|
torchrun --nnodes 2 --nproc-per-node 8 --node-rank $RANK --master-addr $ADDR generate.py --ckpt-path /path/to/DeepSeek-V3-Demo --config configs/config_671B.json --interactive --temperature 0.7 --max-new-tokens 200
|
||||||
```
|
```
|
||||||
|
|
||||||
Or batch inference on a given file:
|
Or batch inference on a given file:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
torchrun --nnodes 2 --nproc-per-node 8 generate.py --node-rank $RANK --master-addr $ADDR --ckpt-path /path/to/DeepSeek-V3-Demo --config configs/config_671B.json --input-file $FILE
|
torchrun --nnodes 2 --nproc-per-node 8 --node-rank $RANK --master-addr $ADDR generate.py --ckpt-path /path/to/DeepSeek-V3-Demo --config configs/config_671B.json --input-file $FILE
|
||||||
```
|
```
|
||||||
|
|
||||||
### 6.2 Inference with SGLang (recommended)
|
### 6.2 Inference with SGLang (recommended)
|
||||||
|
Loading…
Reference in New Issue
Block a user