Update README.md

#6
by zjxia - opened
Files changed (1) hide show
  1. README.md +18 -0
README.md CHANGED
@@ -39,6 +39,24 @@ examples under `inference/examples/` encode to identical prompts and token IDs.
39
  See [`inference/README.md`](inference/README.md) for dependency installation,
40
  checkpoint conversion, and TXT/JSON inference commands.
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  ## License
43
 
44
  This repository is licensed under the [MIT License](LICENSE).
 
39
  See [`inference/README.md`](inference/README.md) for dependency installation,
40
  checkpoint conversion, and TXT/JSON inference commands.
41
 
42
+ ## How to Run with SGLang
43
+ Enable DSpark with `--speculative-algorithm DSPARK` and do not set a separate `--speculative-draft-model-path` as the target and draft weights therefore come from the same checkpoint. See the [SGLang cookbook](https://docs.sglang.io/cookbook/autoregressive/DeepSeek/DeepSeek-V4_1) for detailed instructions, benchmarks and other hardwares configurations.
44
+
45
+ ```sh
46
+ sglang serve \
47
+ --trust-remote-code \
48
+ --model-path deepseek-ai/DeepSeek-V4.1-Flash \
49
+ --tp 4 \
50
+ --ep-size 4 \
51
+ --mem-fraction-static 0.8 \
52
+ --speculative-algorithm DSPARK \
53
+ --speculative-dspark-block-size 5 \
54
+ --reasoning-parser auto \
55
+ --tool-call-parser auto \
56
+ --host 0.0.0.0 \
57
+ --port 30000
58
+ ```
59
+
60
  ## License
61
 
62
  This repository is licensed under the [MIT License](LICENSE).