darrellbest/Qwen4-35B-A3B-Heretic in FP8, about 60 GB.
This repository is Qwen's official FP8 quantization,
Qwen/Qwen4-35B-A3B-FP8, with our 34 edited matrices grafted in.
Those 34 (the attention output projections and the shared expert's down_proj of layers 19-35) are BF16 in Qwen's
FP8 release too, so they were copied in unchanged from the BF16 Heretic model; nothing was re-quantized. Every other
tensor is byte-for-byte Qwen's FP8 release: FP8-E4M3 routed experts (including the MTP head's) with 128x128 block
scales, the FP8 per-layer n-gram embedding table, and everything else in BF16. config.json (with Qwen's
quantization_config: fp8, dynamic activations, weight_block_size [128, 128]) and the shard layout are Qwen's.
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 FP8 | |
|---|---|---|
| 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 |
¹ One of the 30 ran out of 8,192 tokens inside the reasoning (empty answer). Heretic's keyword count flags 19/100 (thinking off) and 8/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.
As the original FP8 model. The tokenizer and processor are remote code, so pass --trust-remote-code. vLLM detects
the FP8 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-FP8 --trust-remote-code \
--enable-auto-tool-choice --tool-call-parser qwen4 --reasoning-parser qwen4
vLLM loaded it with Fp8Config (FP8 MoE experts, FP8 n-gram table) and put 36.5 GiB of weights on the GPU; 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, as on the main model: 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-00032-of-00033.safetensors 3.7 GiBmodel-00031-of-00033.safetensors 2.2 GiBmodel-00001-of-00033.safetensors 1.8 GiBmodel-00009-of-00033.safetensors 1.8 GiBmodel-00010-of-00033.safetensors 1.8 GiBmodel-00002-of-00033.safetensors 1.8 GiBmodel-00003-of-00033.safetensors 1.8 GiBmodel-00004-of-00033.safetensors 1.8 GiBmodel-00005-of-00033.safetensors 1.8 GiBmodel-00006-of-00033.safetensors 1.8 GiBmodel-00007-of-00033.safetensors 1.8 GiBmodel-00008-of-00033.safetensors 1.8 GiBmodel-00012-of-00033.safetensors 1.8 GiBmodel-00011-of-00033.safetensors 1.7 GiBmodel-00033-of-00033.safetensors 1.7 GiBmodel-00027-of-00033.safetensors 1.6 GiBmodel-00019-of-00033.safetensors 1.5 GiBmodel-00021-of-00033.safetensors 1.5 GiBmodel-00020-of-00033.safetensors 1.5 GiBmodel-00028-of-00033.safetensors 1.5 GiBmodel-00025-of-00033.safetensors 1.5 GiBmodel-00029-of-00033.safetensors 1.5 GiBmodel-00017-of-00033.safetensors 1.5 GiBmodel-00023-of-00033.safetensors 1.5 GiBmodel-00030-of-00033.safetensors 1.5 GiBmodel-00018-of-00033.safetensors 1.5 GiBmodel-00022-of-00033.safetensors 1.5 GiBmodel-00024-of-00033.safetensors 1.5 GiBmodel-00026-of-00033.safetensors 1.5 GiBmodel-00016-of-00033.safetensors 1.5 GiBmodel-00013-of-00033.safetensors 1.5 GiBmodel-00014-of-00033.safetensors 1.5 GiBmodel-00015-of-00033.safetensors 1.5 GiBQwen/Qwen4-35B-A3B-FP8