Qwen

Qwen4-35B-A3B β€” TFQ 2.50

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

VRAM Fit 13.22 GB TFQ TFP6 v6 WT2 64x4K KL 0.1098 40x4K KL 0.0679 40/40 Verified

Qwen4-35B-A3B-TFQ-2.50 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 2.50 bpw water-filled SwiGLU-Jacobian MCKP MoE quantization (10.33 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 77.6 GB vs BF16 (113.6 GB) while keeping active GPU text VRAM at 13.22 GB (-44.8% lower KL (0.130206 vs 0.2359) than EXLR8 K2 (13.79 GB) and -14.5% lower KL than EXLR8 bit250 (15.80 GB, 0.1522) at -2.58 GB smaller VRAM).

Hardware & VRAM Fit

  • Active GPU Text VRAM (excl. host/NVMe PLE): 13.22 GB (10.33 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: 33.70 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): 35.98 GB (+1.68 GB MTP drafter + +0.60 GB 27-layer vision tower).
  • Target Hardware: Fits 16 GB GPU / 36–48 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 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 (this model) 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 (2.0–5.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 2.50, 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.109758 0.111893 87.36% 99.095% 6.9760 β†’ 7.0655 +1.283%
WikiText-2 16Γ—2K 32,752 0.130206 0.130420 86.54% 98.980% 7.1356 β†’ 7.3030 +2.346%
40Γ—4K 5-Domain 163,800 0.067948 0.068691 91.40% 99.394% 3.9930 β†’ 4.0202 +0.682%
48Γ—1K 4-Domain 49,104 0.081862 0.087289 91.84% 99.525% 3.2310 β†’ 3.2681 +1.150%

40Γ—4K Per-Domain Breakdown

Domain Tokens KL Top-1 Top-5 PPL (gold β†’ cand)
Chat / Tool-Calling 32,760 0.043378 92.36% 99.741% 3.5938 β†’ 3.6368 (+1.198%)
Code 32,760 0.019044 95.71% 99.707% 1.8832 β†’ 1.8820 (-0.067%)
Math / CoT Reasoning 32,760 0.019464 96.54% 99.918% 1.6863 β†’ 1.6864 (+0.006%)
Multilingual (9 languages) 32,760 0.150388 84.80% 98.678% 11.3332 β†’ 11.4728 (+1.231%)
Prose (FineWeb-Edu) 32,760 0.107464 87.62% 98.929% 7.8479 β†’ 7.9304 (+1.051%)

Checkpoint Layout

  • moe_L00.tffp6 .. moe_L39.tffp6: 40 TFP6 v6 (FLAG_A8_HADAMARD) MoE shards (10.33 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-2.50

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

License

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

Downloads last month
48
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-2.50

Quantized
(815)
this model