Views
No views yet
Note: The configuration files in the project follow the SGLang framework. If you intend to use other frameworks like vLLM, please modify the relevant configurations by yourself.
1python3 -m sglang.launch_server \
2--model Qwen/Qwen2.5-14B-Instruct \
3--speculative-algo EAGLE \
4--speculative-draft Zjcxy-SmartAI/Eagle-Qwen2.5-14B-Instruct \
5--speculative-num-steps 5 \
6--speculative-eagle-topk 4 \
7--speculative-num-draft-tokens 16 \
8--dtype float16 \
9--port 30000 \
10--mem-fraction 0.7 \
11--tp-size 2 \
12--cuda-graph-max-bs 16 \
13--cuda-graph-bs {1,2,3,4}1python -m sglang.launch_server \
2--model Qwen/Qwen2.5-14B-Instruct \
3--port 30000 \
4--mem-fraction 0.7 \
5--tp-size 2 \
6--cuda-graph-max-bs 16 \
7--cuda-graph-bs {1,2,3,4}| Dataset | parallel | Throughput/parallel(tokens/s) | Accept length |
|---|---|---|---|
| MT-bench | 1 | 89.76 | 3.15 |
| alpaca | 1 | 81.90 | 2.94 |
| MT-bench | 4 | 60.15 | 3.17 |
| alpaca | 4 | 55.19 | 2.93 |
| Dataset | parallel | Throughput/parallel(tokens/s) |
|---|---|---|
| MT-bench | 1 | 55.14 |
| alpaca | 1 | 54.95 |
| MT-bench | 4 | 49.43 |
| alpaca | 4 | 47.68 |
Note:
- Calculation Formula: Performance Improvement(%) = (Optimized Model Value - Baseline Model Value) / Baseline Model Value × 100
- Through extensive testing, the selected service parameter configuration achieves the optimal inference speed in the current setup, although it does sacrifice some Accept length.