Qwen3.5-4B
BF16 small-model recipe for a single S5000 GPU with MTP1 speculative decoding.
Tip
Use TP1 and enable MTP1 speculative decoding for this checkpoint.
BF161x S5000TP1MTP1
Validation
| Item | Value |
|---|---|
| Checkpoint | Qwen/Qwen3.5-4B (ModelScope) @ ed182e32090db791077e12e0f58d22f3daafa173 |
| vLLM-MUSA | vLLM 0.28.0 @ 2cf0a69, vllm-musa 0.1.28 |
| MUSA driver | 5.2.0 |
| Hardware | 1x S5000 |
| Served request | 2K/1K, 3K/1K, 3.5K/1K, 4K/1K, 4K/1.5K, 500 prompts each |
Launching the server
export VLLM_DISABLE_COMPILE_CACHE=1
vllm serve /models/Qwen3.5-4B \
--trust-remote-code \
--tensor-parallel-size 1 \
--served-model-name Qwen3.5-4B \
--max-model-len 8192 \
--max-num-seqs 128 \
--max-num-batched-tokens 16384 \
--gpu-memory-utilization 0.85 \
--enable-chunked-prefill \
--no-enable-prefix-caching \
--attention-config '{"backend":"FLASH_ATTN"}' \
--speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":1}'
Configuration notes
VLLM_DISABLE_COMPILE_CACHE=1matches the validated QA launch script.- Replace
/models/Qwen3.5-4Bif needed.
Return to the Qwen recipe index.