Qwen

Qwen4-35B-A3B β€” TFQ 4.05

Base BF16 (113.6 GB) | TFQ 4.60 (21.68 GB VRAM) | TFQ 3.55 (17.45 GB VRAM) | TFQ 3.00 (15.23 GB VRAM) | TFQ 2.50 (13.22 GB VRAM) | TFQ 2.00 (11.21 GB VRAM) | TensorFold | TFQ | Apache-2.0

VRAM Fit 19.46 GB TFQ TFP6 v6 WT2 64x4K KL 0.0351 40x4K KL 0.0223 40/40 Verified

Qwen4-35B-A3B-TFQ-4.05 is a TensorFold Quantization (TFQ, TFP6 v6 zero-LUT pure-ALU native signed-int8 with FLAG_A8_HADAMARD) checkpoint of Qwen/Qwen4-35B-A3B (40 decoder layers: 30 Gated DeltaNet + 10 full GQA attention with sparse indexers, 256 routed experts top-8 + 1 gated shared expert, 4-stream Hyper-Connections, Layer-1 PLE n-gram table, vision tower, and native MTP drafter).

It pairs 4.05 bpw water-filled SwiGLU-Jacobian MCKP MoE quantization (16.57 GB) with our shipped-aligned FP8 PLE (20.48 GB, official Qwen FP8 E4M3 scale 0x3BA8) + Q8_g64 affine non-MoE (2.89 GB GPU text weights) β€” cutting total footprint by 71.4 GB vs BF16 (113.6 GB) while keeping active GPU text VRAM at 19.46 GB (Matches full 21.84 GB EXLR8 K4 on WikiText-2 64Γ—4K (0.035108 vs 0.034835, higher Top-5 99.835% vs 99.82%) at -2.38 GB smaller VRAM).

Hardware & VRAM Fit

  • Active GPU Text VRAM (excl. host/NVMe PLE): 19.46 GB (16.57 GB TFP6 v6 MoE + 2.89 GB Q8_g64 dense/attention/vocab; routers, norms, and GDN in_proj_a/b stay BF16).
  • Text + Host PLE: 39.94 GB (20.48 GB official FP8 Layer-1 PLE streams from host RAM or NVMe without occupying discrete GPU VRAM).
  • Full Repo (incl. MTP + Vision): 42.22 GB (+1.68 GB MTP drafter + +0.60 GB 27-layer vision tower).
  • Target Hardware: Fits 24 GB GPU (RTX 3090/4090) / 48–64 GB Mac.

Qwen4-35B-A3B TFQ Lineup (Exact 248,320-Vocab FP64 vs BF16 Gold)

Model GPU Text VRAM Text + PLE WT2 64Γ—4K KL (Top-1) WT2 16Γ—2K KL (Top-1) 40Γ—4K 5-Domain KL (Top-1) Hardware Fit
TFQ 4.60 21.68 GB 42.16 GB 0.028773 (93.18%) 0.037067 (92.43%) 0.018488 (95.26%) Fits 24 GB+ GPU (32 GB / 64 GB Mac)
TFQ 4.05 (this model) 19.46 GB 39.94 GB 0.035108 (92.53%) 0.043808 (91.76%) 0.022252 (94.78%) Fits 24 GB GPU (RTX 3090/4090) / 48–64 GB Mac
TFQ 3.55 17.45 GB 37.93 GB 0.045190 (91.70%) 0.054813 (90.99%) 0.028201 (94.29%) Fits 24 GB GPU (long ctx + MTP) / 48 GB Mac
TFQ 3.00 15.23 GB 35.71 GB 0.067833 (89.98%) 0.082105 (89.15%) 0.042614 (93.08%) Fits 16–24 GB GPU / 48 GB Mac
TFQ 2.50 13.22 GB 33.70 GB 0.109758 (87.36%) 0.130206 (86.54%) 0.067948 (91.40%) Fits 16 GB GPU / 36–48 GB Mac
TFQ 2.00 11.21 GB 31.69 GB 0.179072 (84.00%) 0.205570 (82.80%) 0.110791 (88.93%) Fits 12–16 GB GPU / 36 GB Mac

Head-to-Head vs Public EXLR8 Benchmarks (Same 248,320-Vocab FP64 vs Qwen/Qwen4-35B-A3B BF16)

Checkpoint GPU Text VRAM Text + PLE WT2 64Γ—4K KL (Top-1 / Top-5) WT2 16Γ—2K KL (Top-1)
TensorFold/Qwen4-35B-A3B-TFQ-4.60 21.68 GB 42.16 GB 0.028773 (93.18% / 99.876%) 0.037067 (92.43%)
EXLR8 K4 (4.00 bpw, published) 21.84 GB 42.32 / 62.80 GB 0.034835 (92.56% / 99.82%) 0.0430 (92.15%)
TensorFold/Qwen4-35B-A3B-TFQ-4.05 19.46 GB 39.94 GB 0.035108 (92.53% / 99.835%) 0.043808 (91.76%)
TensorFold/Qwen4-35B-A3B-TFQ-3.55 17.45 GB 37.93 GB 0.045190 (91.70% / 99.736%) 0.054813 (90.99%)
EXLR8 K3 (3.00 bpw, published) 17.81 GB 38.29 / 58.77 GB β€” 0.0887 (88.61%)
TensorFold/Qwen4-35B-A3B-TFQ-3.00 15.23 GB 35.71 GB 0.067833 (89.98% / 99.517%) 0.082105 (89.15%)
EXLR8 bit250 (2.50 bpw, published) 15.80 GB 36.28 / 56.76 GB β€” 0.1522 (84.74%)
TensorFold/Qwen4-35B-A3B-TFQ-2.50 13.22 GB 33.70 GB 0.109758 (87.36% / 99.095%) 0.130206 (86.54%)
EXLR8 K2 (2.00 bpw, published) 13.79 GB 34.27 / 54.75 GB β€” 0.2359 (81.38%)
TensorFold/Qwen4-35B-A3B-TFQ-2.00 11.21 GB 31.69 GB 0.179072 (84.00% / 98.344%) 0.205570 (82.80%)

Method & Calibration

  • Codec: TFP6 v6 zero-LUT pure-ALU native signed-int8 trellis (FLAG_A8_HADAMARD) across 10 half-bit rates (3.0–6.0 bpw for this checkpoint; shared experts protected at 6.0 bpw).
  • Rate Allocation: Water-filled per-layer tempered SwiGLU-Jacobian MCKP (L00 & L39 edge-boosted +0.40 bpw; L01..L38 inverse-SNR water-filled across L15–L34 hard layers with zero starved layers).
  • Calibration: 1,048,576 diverse tokens (22% 9-language multilingual, 22% code, 18% CoT math/reasoning, 18% chat/tool-calling, 20% FineWeb-Edu prose; SHA-256 deduplicated with zero WikiText-2 or eval overlap), sequential L00..L39 normative A8 error propagation with shipped FP8 PLE + Q8_g64 active during calibration, --quality exact --eq heq --scale-search --polish --polish-su --polish-sv --share-su-groups --a8.
  • Integrity: All 40/40 MoE shards (moe_L00.tffp6 .. moe_L39.tffp6, 771 tensors each) verified OK [A8] [XXH64 verified] via tfq3-inspect.

Detailed Evaluation (TFQ 4.05, Normative tfp6_a8 vs BF16 Gold)

Benchmark Scored Tokens KL (gold || cand) Rev-KL Top-1 Top-5 PPL (gold β†’ cand) Ξ”PPL
WikiText-2 64Γ—4K 262,080 0.035108 0.035113 92.53% 99.835% 6.9760 β†’ 7.0016 +0.368%
WikiText-2 16Γ—2K 32,752 0.043808 0.043969 91.76% 99.713% 7.1356 β†’ 7.1962 +0.849%
40Γ—4K 5-Domain 163,800 0.022252 0.022003 94.78% 99.857% 3.9930 β†’ 3.9940 +0.026%
48Γ—1K 4-Domain 49,104 0.030629 0.030756 94.94% 99.866% 3.2310 β†’ 3.2320 +0.032%

40Γ—4K Per-Domain Breakdown

Domain Tokens KL Top-1 Top-5 PPL (gold β†’ cand)
Chat / Tool-Calling 32,760 0.014252 95.56% 99.927% 3.5938 β†’ 3.5926 (-0.033%)
Code 32,760 0.007743 97.19% 99.857% 1.8832 β†’ 1.8817 (-0.083%)
Math / CoT Reasoning 32,760 0.009683 97.55% 99.963% 1.6863 β†’ 1.6888 (+0.150%)
Multilingual (9 languages) 32,760 0.049277 90.68% 99.692% 11.3332 β†’ 11.3199 (-0.117%)
Prose (FineWeb-Edu) 32,760 0.030306 92.89% 99.847% 7.8479 β†’ 7.8648 (+0.216%)

Checkpoint Layout

  • moe_L00.tffp6 .. moe_L39.tffp6: 40 TFP6 v6 (FLAG_A8_HADAMARD) MoE shards (16.57 GB total, 771 tensors per layer: 256 routed experts + 1 shared expert Γ— gate/up/down).
  • model-nonmoe-00001-of-00006.safetensors .. model-nonmoe-00006-of-00006.safetensors + model.safetensors.index.json: 25.66 GB repacked non-MoE weights (20.48 GB official FP8 E4M3 Layer-1 PLE with weight_scale = 0.005126953125, 2.89 GB Q8_g64 affine GPU dense/attention/vocab, 1.68 GB MTP drafter, 0.60 GB vision tower; routers, norms, conv1d, and GDN in_proj_a/b untouched in BF16).
  • Tokenizer, processor, and configuration files from Qwen/Qwen4-35B-A3B.

Running with TensorFold

tensorfold serve TensorFold/Qwen4-35B-A3B-TFQ-4.05

Supported in TensorFold, with open-source quantization tools in TFQ.

License

Apache 2.0, inherited from Qwen/Qwen4-35B-A3B.

Downloads last month
88
Safetensors
Model size
24B params
Tensor type
F8_E4M3
Β·
U32
Β·
BF16
Β·
I64
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for TensorFold/Qwen4-35B-A3B-TFQ-4.05

Quantized
(815)
this model