danielhanchen commited on
Commit
890bdef
·
verified ·
1 Parent(s): 8e821a5

Add MTP support

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -30,6 +30,22 @@ vllm serve unsloth/Qwen3.6-27B-NVFP4 --trust-remote-code --dtype bfloat16 --max-
30
 
31
  Increase `--max-model-len` only after checking available GPU memory.
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  [![Qwen Chat](https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5)](https://chat.qwen.ai)
34
 
35
  > [!Note]
 
30
 
31
  Increase `--max-model-len` only after checking available GPU memory.
32
 
33
+ ## Multi-Token Prediction (MTP)
34
+
35
+ This checkpoint includes the MTP module, so it can act as its own speculative draft for faster decoding.
36
+
37
+ vLLM:
38
+
39
+ ```shell
40
+ vllm serve unsloth/Qwen3.6-27B-NVFP4 --trust-remote-code --dtype bfloat16 --speculative-config '{"method":"mtp","num_speculative_tokens":3}'
41
+ ```
42
+
43
+ SGLang:
44
+
45
+ ```shell
46
+ python -m sglang.launch_server --model-path unsloth/Qwen3.6-27B-NVFP4 --speculative-algo NEXTN --speculative-num-steps 3 --speculative-eagle-topk 1 --speculative-num-draft-tokens 4
47
+ ```
48
+
49
  [![Qwen Chat](https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5)](https://chat.qwen.ai)
50
 
51
  > [!Note]