darrellbest/Qwen4-35B-A3B-Heretic in NVFP4, about 47 GB. NVFP4 needs an NVIDIA Blackwell GPU.
This repository is RadixArk's NVFP4 quantization, RadixArk/Qwen4-35B-A3B-NVFP4, with our 34 edited matrices grafted in. RadixArk quantized Qwen4-35B-A3B with NVIDIA Model Optimizer 0.48: the routed experts are NVFP4 W4A4 (group size 16), the per-layer n-gram embedding table is FP8, and everything else, including the MTP head, is BF16.
Our changes to their release (Apache-2.0):
down_proj of layers 19-35. They are BF16 in RadixArk's release too, so they were copied in as-is; nothing was
re-quantized. Every other tensor is byte-for-byte RadixArk's, as are config.json, hf_quant_config.json and the
shard layout.<think></think> handling for reasoning_effort="off"). Their
two test scripts were dropped and Qwen's LICENSE was added.xhigh by default and thinking-mode sampling in
generation_config.json.How the refusal removal was done, its parameters and the full evaluation are on the main model card.
Measured on these files in vLLM, against the BF16 Heretic model with the same harness:
| BF16 Heretic | This NVFP4 | |
|---|---|---|
| Hard refusals, thinking off (100 harmful prompts, read by hand) | 1/100 | 0/100 |
Hard refusals, thinking on xhigh (first 30 harmful prompts, read by hand) |
0/30 | 0/30 |
MATH-500 levels 4-5, 40 problems, xhigh |
40/40 | 40/40 |
Tool call (get_weather) |
well-formed | well-formed |
| Default prompt renders "Reasoning effort is set to xhigh." | yes | yes |
Heretic's keyword count flags 16/100 (thinking off) and 11/30 (thinking on); reading them, these are compliant or deflecting answers that contain words such as "illegal" or "disclaimer", as on the main model. On five benign prompts the answers are correct; two are byte-identical to the BF16 model's and three differ in wording only.
RadixArk documents SGLang (see their card). We tested vLLM. The
tokenizer and processor are remote code, so pass --trust-remote-code. vLLM detects the format from config.json; no
quantization flag is needed. As tested here (the image from vLLM's Qwen4 recipe):
docker run --gpus all --ipc=host -p 8000:8000 vllm/vllm-openai:qwen4 \
darrellbest/Qwen4-35B-A3B-Heretic-NVFP4 --trust-remote-code \
--enable-auto-tool-choice --tool-call-parser qwen4 --reasoning-parser qwen4
vLLM loaded it as ModelOpt mixed precision, with FlashInfer NVFP4 MoE experts and the FP8 n-gram table, and put
23.2 GiB of weights on the GPU (RTX PRO 6000 Blackwell); the n-gram table is offloaded to CPU by default. Our tests
also used --max-model-len 36864 --max-num-seqs 64 --gpu-memory-utilization 0.88 --enable-prefix-caching.
Defaults: reasoning effort xhigh by default (reasoning_effort = xhigh / high / low / off and
enable_thinking=False still work), thinking-mode sampling in generation_config.json (temperature=1.0,
top_p=0.95, top_k=20, min_p=0, presence_penalty=0, repetition_penalty=1.0), context 1,048,576 tokens.
This model will comply with harmful requests. It is for research and personal use by adults who accept full responsibility for what they do with it.
| Repository | Format | Size |
|---|---|---|
| Qwen4-35B-A3B-Heretic | BF16 safetensors | 114 GB |
| Qwen4-35B-A3B-Heretic-FP8 | Qwen's FP8 + our 34 BF16 matrices | 60 GB |
| Qwen4-35B-A3B-Heretic-NVFP4 | RadixArk's NVFP4 + our 34 BF16 matrices | 47 GB |
| Qwen4-35B-A3B-Heretic-W4A16 | GPTQ INT4 experts, FP8 n-gram table | 45 GB |
| Qwen4-35B-A3B-Heretic-GGUF | GGUF BF16 / Q8_0 down to Q2_K, plus imatrix (+ MTP, mmproj) | 111 GB down to 25 GB |
| Qwen4-35B-A3B-Heretic-MLX (experimental) | MLX 4 / 6 / 8-bit | 34 / 47 / 60 GB |
model-00007-of-00011.safetensors 4.7 GiBmodel-00009-of-00011.safetensors 4.7 GiBmodel-00006-of-00011.safetensors 4.7 GiBmodel-00008-of-00011.safetensors 4.6 GiBmodel-00010-of-00011.safetensors 4.5 GiBmodel-00004-of-00011.safetensors 4.0 GiBmodel-00002-of-00011.safetensors 4.0 GiBmodel-00003-of-00011.safetensors 4.0 GiBmodel-00001-of-00011.safetensors 4.0 GiBmodel-00005-of-00011.safetensors 3.0 GiBmodel-00011-of-00011.safetensors 1.5 GiBRadixArk/Qwen4-35B-A3B-NVFP4