Nandai AI
Sign In
GGF-18 · QWEN 4 35B-A3B BF16 (65.20 GIB + 38.20 GIB ENGRAM) & HYBRID GPU/CPU SPLIT

Qwen 4 35B-A3B BF16 Split: Unquantized 16-Bit Reference Math, Hybrid GPU/CPU Expert Routing & 192 GB Studio Fit

Unquantized BF16 requires 65.20 GiB for the 35B MoE backbone plus 38.20 GiB for the 20.5B Engram table (103.40 GiB total)—running natively on 128–192 GB Macs or via mixed-precision GPU/CPU splits.

Roofline Math Disclosure: 105.0 tok/s on 819 GB/s Mac Studio Ultra assumes 100% Unified Memory BF16 residency; hybrid RTX + DDR5 splits are capped by host DDR5 memory bandwidth divided by CPU-resident active bytes.

GGF-18 · Qwen 4 35B-A3B MoE · Unquantized BF16⌘9 Model Manager

OS-Aware Studios & Tools

Verify memory fit before downloading weights, or launch zero-upload browser studios on macOS, Windows, and Linux:

02 · Hardware Memory-Bandwidth Roofline & KV Matrix

Exact Weight GiB, Active GB/Token, KV Scaling & Bandwidth Ceilings

Calculated for Qwen 4 35B-A3B BF16 backbone (16.0 bpw, 65.20 GiB weights, 7.80 GB/token active read, 40 MiB/1K FP16 QSA KV + 0.25 GiB GDN state, 38.20 GiB BF16 Host Engram).

Hardware TierQuant / ModeWeight GiBActive GB/tokKV @ 32KKV @ 128KKV @ 1MRoofline tok/sResidency Fit
MacBook Pro M4 Max (128 GB)Qwen4 35B-A3B BF1665.20 GiB7.80 GB/tok1.50 GiB5.25 GiB40.25 GiB70.0 tok/s (546 GB/s)Fits 128K+ residency · +38.2 GiB Host Engram
Mac Studio Ultra (192 GB)Qwen4 35B-A3B BF1665.20 GiB7.80 GB/tok1.50 GiB5.25 GiB40.25 GiB105.0 tok/s (819 GB/s)Fits 1M full residency · +38.2 GiB Host Engram
Dual RTX 3090 (48 GB) + 128 GB DDR5Qwen4 35B-A3B BF1665.20 GiB7.80 GB/tok1.50 GiB5.25 GiB40.25 GiB120.0 peak; PCIe/swap limitedSpills VRAM (+22.0 GiB PCIe offload)
RTX 5090 (32 GB) + 128 GB DDR5Qwen4 35B-A3B BF1665.20 GiB7.80 GB/tok1.50 GiB5.25 GiB40.25 GiB229.7 peak; PCIe/swap limitedSpills VRAM (+37.3 GiB PCIe offload)
Variant / ModeMemory / ThroughputRecommended Hardware Configuration
BF16 Backbone (16.0 bpw)65.20 GiB GPU + 38.20 GiB Host Engram128 GB M4 Max (w/ Q8 KV) or 192 GB Ultra
Full Unsplit BF16 (103.40 GiB)103.40 GiB + 40.25 GiB (1M FP16 KV)192 GB+ Mac Studio M2/M3/M4 Ultra
Hybrid RTX + DDR5 CPU SplitQSA/GDN + Hot Experts on GPU; Cold on CPU24–32 GB RTX + >=128 GB DDR5 Host RAM

Section 01 · GGF-18

Full 16-Bit Brain Float Byte Breakdown: 65.20 GiB Backbone + 38.20 GiB Engram

Separating total checkpoint bytes clarifies why 128 GB Macs must carefully budget BF16 context.

At 16 bits (2.0 bytes) per parameter, 35 billion MoE backbone weights equal 35 × 10^9 × 2 / 1024^3 = 65.19 GiB (~65.20 GiB), while the 20.5 billion PLE Engram lookup table adds 20.5 × 10^9 × 2 / 1024^3 = 38.18 GiB (~38.20 GiB), yielding 103.38 GiB across disk and unquantized RAM.

On a 128 GB MacBook Pro M4 Max (~104.0 GiB practical pool), loading both 65.20 GiB backbone and 38.20 GiB Engram unquantized consumes 103.40 GiB—leaving almost zero space for 128K–1M KV cache unless the Engram table stays quantized (e.g., Q8_0 Engram = 20.30 GiB) or streams lazily from APFS NVMe. Stepping up to a 192 GB Mac Studio Ultra (156.0 GiB practical GPU pool) holds all 103.40 GiB of BF16 weights + Engram plus 40.25 GiB of full 1M FP16 QSA KV cache (144.4 GiB total!) cleanly in RAM at an 819 / 7.80 = 105.0 tok/s theoretical ceiling.

Roofline / Allocation EquationBF16_Full_GiB = (35e9 × 2)/1024^3 (65.20 GiB) + (20.5e9 × 2)/1024^3 (38.20 GiB) = 103.40 GiB

Section 02 · GGF-18

Mixed-Precision & Hybrid GPU/CPU Splitting via -ot Regex Overrides

Keep 10 QSA attention layers, 30 Gated-DeltaNet blocks, and shared experts on GPU; spill cold routed experts to Host DDR5.

Workstation users with an RTX 5090 32 GB (or Dual RTX 3090 48 GB) and 128 GB–256 GB of DDR5 RAM who want unquantized BF16 reference evaluations without owning an H100/B200 can split tensors cleanly using llama.cpp’s regex tensor-override flag (-ot). First, keep attention, Gated-DeltaNet, shared experts, routers, and KV cache 100% resident on GPU VRAM.

Second, offload cold routed FFN experts (`blk.*.ffn_.*_exps`) and the entire 20.5B Engram table to multi-channel host CPU RAM (`=CPU`). Because active decode reads ~7.80 GB/tok across CPU+GPU, host DDR5 bandwidth (e.g., 96 GB/s dual-channel or 200–350 GB/s Threadripper/Xeon octa-channel) governs final token rate (~12–40 tok/s depending on host channels).

Verification & Runtime Flagsllama-server -m Qwen4-35B-A3B-BF16.gguf -c 65536 -fa on -ot "engram=CPU" -ot "\.ffn_.*_exps\.=CPU" -ngl 99

Section 03 · GGF-18

BF16 (7.80 GB/tok) vs Q8_0 (4.60 GB/tok) Evaluation Verdict

For almost all local workflows, Q8_0 delivers ~70% faster decode at virtually indistinguishable outputs.

Unless you are verifying exact BF16 reference perplexity deltas, generating imatrix calibration tables, or debugging numerical precision differences in custom fine-tunes, Q8_0 (37.40 GiB, 4.60 GB/tok) cuts active memory reads by 41% relative to BF16 (7.80 GB/tok)—raising Mac Studio Ultra theoretical ceilings from 105.0 tok/s (BF16) to 178.0 tok/s (Q8_0) while freeing 27.8 GiB for extra concurrent slots.

Bandwidth physics clarifies the daily tradeoff: at 7.80 GB read per generated token, even an 819 GB/s Mac Studio Ultra caps BF16 at 105.0 tok/s theoretical peak (and ~55–68 tok/s practical sustained). Dropping to Q8_0 (4.60 GB/tok) boosts the Studio Ultra ceiling immediately to 178.0 tok/s while shrinking RAM consumption by 27.8 GiB on the MoE backbone alone.

Section 04 · GGF-18

Using BF16 on 128–192 GB Studios to Generate Custom Domain imatrix.dat

Compute exact activation importance weights locally in BF16 before quantizing domain UD-IQ3_S/IQ4_XS builds.

Organizations specializing in legal, biomedical, or proprietary codebase vocabularies can run llama-imatrix directly against the BF16 GGUF on a 192 GB Mac Studio Ultra, producing a custom calibration matrix tailored to their exact token distribution before exporting lightweight 24 GB UD-IQ3_S checkpoints for laptop teams.

Compare BF16 vs Q8_0 vs UD-IQ4_XS residency profiles inside /tools/gguf-vram-calculator.

Remember that generating an imatrix calibration table requires only single-pass forward evaluation rather than multi-turn chat speed—meaning even a 128 GB M4 Max (keeping BF16 backbone in RAM and Engram mapped via APFS NVMe) or a 32 GB RTX 5090 + 128 GB DDR5 hybrid split can compute domain-specific imatrix weights cleanly.

Interactive Sizing & Browser Studios

Verify Exact Memory Margins Before Downloading Multi-Gigabyte GGUFs

Plug your exact hardware SKU, KV quantization (--cache-type-k / -v), and context length into our zero-upload GGUF VRAM & Roofline Calculator. Explore full model cards at /models and Apple Silicon tier breakdowns at /apple-silicon, or draft and audit content inside /writing-engine and /seo-engine.

05 · Technical FAQ (1:1 JSON-LD Parity)

Qwen 4 35B-A3B BF16 Split — Frequently Asked Questions

How much total memory does Qwen 4 35B-A3B BF16 require including the 20.5B Engram table?

65.20 GiB for the 35B MoE backbone plus 38.20 GiB for the 20.5B Engram table equals 103.40 GiB before adding KV cache.

Can a 128 GB MacBook Pro M4 Max run full BF16 + 1M context?

At 103.40 GiB unquantized + 40.25 GiB (1M FP16 KV) = 143.65 GiB, full BF16 + 1M overflows 128 GB; run Q8_0 (37.40 GiB) for full 1M on 128 GB M4 Max, or use a 192 GB Mac Studio Ultra for full BF16 + 1M.

Can I split BF16 between an RTX 5090 32 GB and 128 GB DDR5 system RAM?

Yes—keep QSA attention, Gated-DeltaNet, shared experts, and KV cache inside the 32 GB GDDR7 pool while offloading routed experts and Engram to host DDR5 using -ot flags.

Why does Q8_0 usually beat BF16 for interactive workstation usage?

Q8_0 cuts active memory traffic per token from 7.80 GB down to 4.60 GB (~1.7x higher bandwidth ceiling) with nearly zero measurable perplexity difference.

Founder Pro $9.99/mo · 67% Off1-tap Stripe Checkout · Instant ?ref= Free Months · 40% Recurring Partner Payouts
1. Subscribe in 1 TapFOUNDER_999_LOCK

Unlock All 19 Pro Studios + Mac App

Lock $9.99/mo Founder Pro (reg. $29.99 — 67% off), $119/yr Web Annual (-34%), or $299/yr 5-Mac + Web Pro.

Redeem Code
2. Get 6 Months FreeZERO OTP

Mint Your ?ref= Link Instantly

Give friends 67% off ($9.99/mo). Every paid friend adds 30 days of Pro free to your account (up to 6 months).

Dashboard: /refer · Rules

3. Creator & Publisher Cash90-DAY COOKIE

Earn 40% Monthly · 30% Annual

Earn 40% recurring monthly until cancel + 30% annual & every renewal, or embed our free tools with data-ref.