NVFP4 (W4A4) quantization of trohrbaugh/Qwen3.5-122B-A10B-heretic.
Tested on vLLM 0.19+.
vllm serve OptimizeLLM/Qwen3.5-122B-A10B-heretic-MTP-NVFP4 \
--tensor-parallel-size 2 \
--reasoning-parser qwen3 \
--reasoning-config '{}' \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--enable-prefix-caching \
--speculative-config '{"method":"mtp","num_speculative_tokens":6}'
| MTP Speculative Tokens | tok/s |
|---|---|
| 0 (disabled) | ~105 |
| 1 | ~115 |
| 2 | ~145 |
| 3 | ~170 |
| 6 | ~190 |
Quantized with llm-compressor (compressed-tensors v0.14.1.dev28).
nvfp4-pack-quantizedfloat8_e4m3fnmoe_calibrate_all_experts=TrueThe upstream heretic quant quantized MTP heads to FP4, which breaks speculative decoding. All 785 mtp.* tensors were extracted from base Qwen/Qwen3.5-122B-A10B in BF16 and saved as a separate model_mtp.safetensors shard (4.8GB).
use_auth_token kwarg crashes on transformers 5.x — patch to token.offload_folder is required even without disk offload (transformers reformats fused expert tensors during loading).ctypes.CDLL("libc.so.6").mallopt(-1, 0) before loading prevents glibc malloc arena bloat.model_mtp.safetensors 5.0 GBmodel-00007-of-00016.safetensors 5.0 GBmodel-00010-of-00016.safetensors 5.0 GBmodel-00004-of-00016.safetensors 5.0 GBmodel-00014-of-00016.safetensors 5.0 GBmodel-00005-of-00016.safetensors 5.0 GBmodel-00011-of-00016.safetensors 5.0 GBmodel-00008-of-00016.safetensors 5.0 GBmodel-00001-of-00016.safetensors 5.0 GBmodel-00009-of-00016.safetensors 5.0 GBmodel-00015-of-00016.safetensors 5.0 GBmodel-00003-of-00016.safetensors 5.0 GBmodel-00006-of-00016.safetensors 5.0 GBmodel-00012-of-00016.safetensors 5.0 GBmodel-00002-of-00016.safetensors 5.0 GBmodel-00013-of-00016.safetensors 5.0 GBmodel_visual.safetensors 903 MBmodel-00016-of-00016.safetensors 536 MBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo OptimizeLLM/Qwen3.5-122B-A10B-heretic-MTP-NVFP4 ./model-folderQwen/Qwen3.5-122B-A10B