Update README.md
#4
by shanjiaz - opened
README.md
CHANGED
|
@@ -38,20 +38,23 @@ the context grows. This keeps drafting efficient at long context, up to Kimi K3.
|
|
| 38 |
## Serving with vLLM
|
| 39 |
|
| 40 |
```bash
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
-
|
|
|
|
|
|
|
| 44 |
--trust-remote-code \
|
|
|
|
| 45 |
--tensor-parallel-size 8 \
|
|
|
|
|
|
|
| 46 |
--load-format fastsafetensors \
|
|
|
|
|
|
|
| 47 |
--reasoning-parser kimi_k3 \
|
| 48 |
-
--
|
| 49 |
-
--
|
| 50 |
-
--
|
| 51 |
-
--gpu-memory-utilization 0.90 \
|
| 52 |
-
--no-enable-prefix-caching \
|
| 53 |
-
--per-request-spec-decode-metrics summary \
|
| 54 |
-
--speculative-config '{"method":"dspark","model":"Inferact/Kimi-K3.1-Pro-DSpark","num_speculative_tokens":7,"draft_sample_method":"probabilistic","rejection_sample_method":"block","enable_adaptive_verification":false}'
|
| 55 |
```
|
| 56 |
|
| 57 |
## Per-position draft acceptance
|
|
|
|
| 38 |
## Serving with vLLM
|
| 39 |
|
| 40 |
```bash
|
| 41 |
+
docker run --gpus all \
|
| 42 |
+
--privileged --ipc=host -p 8000:8000 \
|
| 43 |
+
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
| 44 |
+
-e VLLM_ENGINE_READY_TIMEOUT_S=3600 \
|
| 45 |
+
vllm/vllm-openai:kimi-k31 moonshotai/Kimi-K3.1-Pro \
|
| 46 |
--trust-remote-code \
|
| 47 |
+
--enable-expert-parallel \
|
| 48 |
--tensor-parallel-size 8 \
|
| 49 |
+
--moe-backend deep_gemm_mega_moe \
|
| 50 |
+
--all2all-backend flashinfer_nvlink_one_sided \
|
| 51 |
--load-format fastsafetensors \
|
| 52 |
+
--enable-auto-tool-choice \
|
| 53 |
+
--tool-call-parser kimi_k3 \
|
| 54 |
--reasoning-parser kimi_k3 \
|
| 55 |
+
--speculative-config '{"model":"Inferact/Kimi-K3.1-Pro-DSpark","num_speculative_tokens":5,"method":"dspark","draft_sample_method":"probabilistic"}' \
|
| 56 |
+
--kv-cache-dtype nvfp4_ds_mla \
|
| 57 |
+
--decode-context-parallel-size 8
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
```
|
| 59 |
|
| 60 |
## Per-position draft acceptance
|