Views
No views yet
Qwen3_5ForConditionalGeneration: hybrid DeltaNet linear attention + full attention every 4 layers, Qwen3-VL vision tower, 262K context).mtp_num_hidden_layers: 1 but ships no mtp.* weights. This repo grafts the 15-tensor bf16 MTP draft head from the base model Qwen/Qwen3.5-4B (identical text-config dims), enabling speculative decoding: 63–66% draft acceptance, ~+20% single-stream decode (measured, see below)lm_head, vision tower (model.visual*), DeltaNet conv1dneuralmagic/calibration (pure-CPU calibration — no GPU used in the bake)vllm serve sakamakismile/Agents-A1-4B-NVFP4--quantization flag needed. Requires a GPU with FP4 support (SM120 Blackwell) for the NVFP4 kernels.1vllm serve sakamakismile/Agents-A1-4B-NVFP4 \
2 --speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":3}'| Config | single-stream (c1) | aggregate 8-way (c8) | vs base |
|---|---|---|---|
| base (no MTP) | 73.6 t/s | 492.9 t/s | — |
| MTP n=3 (grafted) | 88.6 t/s | 474.5 t/s | +20.4% c1 / −3.7% c8 |
qwen3_5 architecture family).