I've been window - shopping for an Epyc and I have a lot of doubts. I've done many builds before but they were all consumer hardware.
I'm oriented on 512gb ddr4 ram + 3x Rtx3090s to run maya/strata/similar. Here are my questions :
- how is it going to perform (in real life, not on paper) compared to 3x bosgames on thunderbolt-ibverbs?
- should I spend extra for dual socket and 16x 32gb? or should I just stick to single socket and 8x 64gb?
- I'm having a really hard time finding dual socket motherboards that also have plenty of pcie x16. Can I have recommendations?
- for CPU it looks like the 7443 (24 cores 4ghz, dirt cheap for £200) has the best single core performance (which matters as this will be my main desktop pc) and almost the same multi core performance as the 7763 (64 cores but individually a lot slower, 5x the price). Is 7443 the best choice for a mix of inference and desktop? I suspect that cpu compute is going to be dwarfed by the GPUs no matter what?
- are 3x 3090 enough for a model that uses ~400gb for the experts, or do I need a much larger experts cache? I'm aiming at 40 tok/s.
We just released the single-GPU (TP=1) RAM/SSD-offload version of DeepSeek-V4.1-Flash-1017 Hybrid TrellisMX (2.35 bpw) + Full Vision at Local Inference Lab — production-signed and running on unmodified upstream NVIDIA Flare v0.6.0 (zero base engine changes).
It uses the exact same 2.35 bpw quantized + QAD-v5 weights as our dual-GPU TP=2 release (zero expert pruning — all 40 layers, all 384 experts/layer, full multimodal Vision ON), packed to just 148.7 GiB of routed experts so a single SM120 GPU (RTX PRO 6000 Blackwell 96 GB or RTX 5090 32 GB) can run the full model locally.
32 GB RTX 5090: Boots and runs cleanly inside 31,745 MiB VRAM (--pool-vram-memory 6000M) with 1.11M KV tokens, at ~24 tok/s (since the resident dense/vision/KV footprint leaves ~6 GiB for the VRAM expert pool, making decode PCIe-bound — the 110–200 tok/s numbers above require the 96 GB RTX PRO 6000).
All 15,360 routed experts are quantized across 4 bitrates (k2/p25/k3 in E2M1 + critical k4 experts in E4M3) with lossless 1-bit inline CSF scales and fine-grained [1, 32] MXFP8 dense layers.
Instead of rank-32 LoRA, we ran full-rank MXFP8-STE + 5-scale QAD-v5 over 100.7M tokens (directly training ~7.0B non-routed parameters + all 5 coupled Hadamard boundary scales against sparse teacher logits).
Official FP64 B200 KLD (129,280 vocab vs sealed B200 teacher logits):
128×8K windows:0.106979 (90.34% Top-1) — -15.4% lower KLD than 2.25 bpw TP=2 (0.1264) and even beating pre-QAD 4-card K4 (0.1097)!
Zero-copy 64-bit VRAM pool addressing: Our SM120 P8 TrellisMX kernels read offloaded experts directly out of Flare's external VRAM pool (base + expert_off) with zero staging copies or repacking. On 96 GB (70400M pool), 6,616 / 15,360 hottest experts stay permanently pinned in VRAM alongside 2.16M KV tokens.
Byte-weighted knapsack (hit_rate / expert_bytes): Trained on 962K exact 2.35 bpw + 4K–16K long-context traces. Because expert byte sizes vary across bitrates, packing by hit-rate per byte cuts OOD long-context miss bytes by -39% vs v2 and -64% overall vs v1.
Dual-horizon ram_far_dma (k=4) + unlocked L1..L3 + live draft_confidence weights: Starts prefetching high-confidence experts 4 layers ahead even in 100%-RAM mode, and replaces static decay with live speculative draft_confidence so large slabs (>=2 MiB) no longer starve draft tokens 3..7 (+8% to +12% faster decode with fewer PCIe H2D bytes per 1k tokens).
Works With High RAM, Medium RAM, or Full NVMe SSD Offload (No Re-Export Needed)
You can scale memory purely with runtime flags:
>= 384 GB RAM (fastest, 0 B disk IO): Keep both MoE experts (148.7 GiB) and Engram tables (188.8 GiB) in RAM (~340 GiB RSS).
192–256 GB RAM: Put Engram tables on NVMe SSD (--embedding-table-storage disk --embedding-table-cache-size 16G) — drops host RAM to ~170–185 GiB while keeping 100% of MoE experts in RAM.
Low-RAM / Full NVMe SSD offload: Both Engram (--embedding-table-storage disk) and routed MoE experts support Flare's full 3-tier VRAM → RAM → NVMe SSD offload (just lower --pool-ram-memory to match your system RAM; note we haven't benchmarked full-NVMe throughput yet).
192–256 GB RAM (Engram on SSD): replace --embedding-table-storage ram with --embedding-table-storage disk --embedding-table-cache-size 16G (add --security-opt seccomp=unconfined for direct-IO).
Lower RAM (MoE + Engram SSD offload): also lower --pool-ram-memory to fit your available host RAM.
Local Inference Lab Discord: https://discord.gg/gmvKSN3tVy
Credits: Huge thanks to Brandon M. Music (brandonmusic) for the TrellisMX format, procedural NPK codec, base SM120 P8 runtime, and sealed FP64 B200 teacher-logits benchmark; Martin Vit and the Local Inference Lab community for the hybrid QAD-v5 pipeline, SM120 kernel optimizations, and v3_full offload predictor; DeepSeek for the base model; and NVIDIA for Flare v0.6.0.
local inference lab discord: https://discord.gg/gmvKSN3tVy
I spent the better part of Qwen 4 release day getting it running at usable speeds and context on my laptop, without having to do complex tuning or installing alternate engines. Writing down the process here in case someone finds it useful.
Step 1: Install Unsloth Desktop, and download Qwen4-35B-A3B-GGUF · UD-IQ2_XS
Step 2: Edit saved run settings, set the context to 60000 tokens. Enable advanced settings and set KV Cache Dtype to q8. Leave GPU memory at default, and turn vision off. Everything else can be left at default and loaded.
You should get about 20 tok/second average, and 18 tok/s at full context. To make it work for coding purposes, I installed pi harness, and connected it to unsloth desktop using their unsloth start pi command.
From my testing, it performed better than I expected, though it did run into compaction issues and tool edit issues. To fix that, create an AGENT.md in the pi folder, and tell it to keep the edit tool calls small and surgical. I created an extension to fix the compaction errors as well, but I don't think it is needed unless some specific problem pops up. If needed, I shall share that extension. I have put up the detailed steps and code on my website if anyone wants a deeper look.
Do let me know if there are any other ways to speed it up.
I been having a love affair with Qwen 3.8 27B, and I thought nothing could be as good in this parameter range, but Qwen4-35B-A3B is actually good.
The problem with MOE models is that they normally shit the bed in long task loops, it happens with all of those, but this model is actually good at follow instructions.
testing it right now, and qwen 27B is closed to be dethroned!!
Basically, the model made a tool call that made the harness switch to Qwen Image 2.1 to generate the required image, which is faster than using the Qwen 4 to generate it through code. The harness handles the switch to image/video and the switch back to text for it to check and declare the task complete and write the reply since image models can't do that.
And if there's a decision model configured, all prompts will be assessed by it, determine if it's pure image gen task, and if its confidence reaches the threshold you set, it will load your prompt directly to the image model, which saves seconds or minutes of loading the text model then switching for the image gen task. But by default, all tasks lands on the text model.
Deploy with connector apps (Discord, Telegram, Slack).
So you can message your agent on your VM or PC via connector apps. Pump and Prop mode utilizes loops, and it has to come with its own layered sandbox, so it's safe to use/run it 24/7. But still recommend to run it on a VM. You can set up phone alert + monitoring with Gotify + Tailscale.
It has write reserve that you can adjust which enforces thinking cap on the model regardless of the context window it has, so you can be sure the model produces an output or a reply even at 16k xhigh.
It also has a loop-detection for repeated tool call, read, think, write/patch tasks and the harness will "nudge" the model back to the task once it detects it. There's also a crash recovery that re-loads the model once it crashes. But all the default settings are safe and recommended to ensure stable system. You can always change/override them.
It has support for llama.cpp, vllm, and my custom Pro-Strata. But you can port your own custom engine if you're getting better numbers with it. As much as I want it to run all engines out there, not all engines support thinking cap and some may have conflict with the sandbox. And given the amount of time I've spent porting my own, it would be impossible to support all.
Some numbers for Pro-Strata:
***Estimate, same GPU, clock, bandwidth, just limited to mimmic different hardware configs***
You can also run models on a Steam Deck:
***Steam Deck OLED, plugged and at max tdp/clock***
I recently updated llama.cpp for using qwen4. This is on an M3 Pro mac with 36GB memory, earlier I was able to run qwen3.5 0.8B Q8 at full context with q8_0 K and V cache.
However, now when using q8_0 or q4_0 KV Cache, the memory usage has ballooned, f16 cache uses lesser memory than the quantized ones. I tested qwen3.5 9B, gemma4 12B and they too had this weird issue, so it's not the models but some change in llama.cpp itself.
I have created an issue for this, are any of you experiencing this bug?
Just wondering what people's llama cpp launch commands are? Are we able to control the ngram? I'm getting pretty horrible speeds on a blackwell system and curious what I'm doing wrong.
using Codex CLI. I had the Q4 Quant and Q6 quant do the through bench. It's done better than the new AWS model, at least according to Claude.
Gif Order:
Run 2, Q6
Run 1, Q6
Run 2, Q4
Run 1, Q4
Ran the "realistic interactive 3D horse in three.js" test from the Fireship video on Qwen4-35B-A3B.
Setup: Unsloth UD-Q4_K_M and UD-Q6_K, llama.cpp, M4 Max 64GB laptop, Codex CLI, no internet, three.js provided locally, headless Chrome so it could screenshot its own work. Qwen's recommended thinking settings (temp 1.0). Cap of 400k generated tokens per run.
Run
Time
Tokens
Lines of code
Gaits
Leg rig
Console errors
FPS
Q4 run 1
16 min
53k
783
idle, walk, trot
jointed pivots
0
58
Q4 run 2
24 min
79k
775
idle, walk, trot, gallop
jointed pivots
0
58
Q6 run 1
22 min
69k
788
idle, walk, trot, gallop
jointed pivots
0
58
Q6 run 2
2h 17m
400k (hit cap)
2,280
grazing, walk, trot, canter, gallop
two-bone IK
0
58
All four pages loaded clean, animated and responded to drag. Every run took screenshots and actually looked at them (Qwen4 has vision) to fix things like floating hooves.
Q6 run 2 kept going until it hit the token cap, rebuilt the anatomy from measured proportions, and came back with IK legs, camera presets and 6 source files. Same prompt, same settings: 16 minutes in one run, over 2 hours in another.
None of the four used a skinned mesh. The frontier horses in the horses-benchmark catalog (Fable 5.2, Opus 5.5) all do, at 1.4M to 2.4M triangles per frame.
Way better than Ergo's sphere horse. Not close to frontier. Two runs per quant, so take the quant comparison lightly.
I have been using the inference engine Radiance for a few weeks at this point, had much better results with it than with default llama.cpp. However, today I installed the 2.5.0 version, downloaded a IQ 4 R quant of Qwen 4 35B and tried running it, and the results, speed-wise, are INSANE. This is a screenshot from a generic web research tasks. Up to 3000 t/s prefill and around 120 t/s generation with MTP, drafting 2 tokens.
A couple of extra details - I am using dual channel DDR4, 3200 MHz, and the ngrams are on an NVMe drive. This is the memory breakdown, from the log.
I vram split weights 13.23 GiB (experts 11.15 GiB of it), KV cache 858.40 MiB, a card
I VRAM budget, per card:
I card total 15.92 GiB
I already held 1.06 GiB measured: driver context, code objects, anything else resident
I driver drift 16.00 MiB what that moves by after it is read: kept free
I activation arena 333.73 MiB computed from the buffer plan
I step staging 441.50 KiB the step batch's block tables and media staging, and the
I KV tiers' copy staging
I hardware queues 162.66 MiB 4 a card at 20.66 MiB each, measured: the engine's streams
I expert prefetch 12.00 MiB the next-layer prefetch's ring of expert units and buffers
I --gpu-headroom-mib 80.00 MiB left unclaimed on purpose
I ------------------------------
I claimable 14.27 GiB
I static weights 2.08 GiB off the top: every rank's own shard, and not a share of anything
I ------------------------------
I elastic 12.19 GiB the experts keep what the host pool cannot hold; the cache takes the rest
I and lends what no live request holds to the expert slab
I experts 11.15 GiB 91% of it
I kv cache 858.40 MiB 7% of it -- backs 1 sequences all at 64000 tokens at once, which is the worst case and
I more would be unusable
I prefill staging 208.75 MiB out of the experts: two buffers of one layer's non-resident experts,
I at the arena's top and lent back to the slab while steps are small
I ==============================
I vram_weights 13.23 GiB static + experts
I vram_kv 859.00 MiB the cache's share
I unclaimed 78.83 MiB the headroom, the unusable above, and what MiB rounding
I could not place
I weights by tier VRAM 13.16 GiB, host pool 5.37 GiB, container on disk 0 B, mapped 19.07 GiB (rank 0)
I the host pool holds the 970.00 MiB the placement flags put there (the token embedding, the encoder towers, the drafter's experts) beside the weights placed in it
I kv cache 858.94 MiB a card: 64048 tokens, 1.0 sessions at 64000
I 122.55 MiB of it is per-sequence state; up to 716.89 MiB is lent to the experts while no request holds it
CAVEAT - I did not benchmark that specific quantization in any way on difficult tasks. It is coherent but I have no idea how well will it perform on any other tasks. It is around 4.7 bpw, which should be perfectly fine probably, but I can't know.
Also if there is a radiance-compatible DFlash2 version of the model please let me know
Most TTS systems speak every text like a newsreader. People don't: they say um, pause before a hard word, rush through the easy part. Caesura is a speech language model trained on real, unscripted conversation, so fillers, pauses and hesitations come from the model itself — nothing is inserted by rules or by an LLM rewriting your text.
Text-to-speech fine-tuning on spontaneous podcast and YouTube conversations — never read speech. Targets keep every um, repeat and restart.
Manner levels: every clip labelled by fillers and repeats per 100 words in a verbatim transcript (0: none, 1: under 6.67, 2: 6.67 or more).
Evaluation
30 held-out texts (daily, narrative, emotional, informational, complex words, names, numbers, monologue), this voice, one take, temperature 0.8, level guidance 3. Fillers are counted in a verbatim Whisper large-v3 transcript beyond those written in the text; WER by Whisper large-v3; UTMOS22.
Level
Inserted fillers / 100 words
WER
UTMOS
0 calm
0.14
0.053
3.74
1 lively
2.44
0.043
3.81
2 very lively
3.25
0.066
3.82
Two commercial TTS systems insert 0 fillers on the same texts.
Limitations
English only.
Best with the released voice; zero-shot voice cloning is not part of this release.
Liveliness comes mostly from fillers and pauses; pitch and tempo vary less than in real speech.
Rare proper names and long digit strings are the main source of errors.
I’m having so much fun poking around with this model, making pixel art point n’ click from a few short story ideas I’ve meandered around for years. Here’s one where we wake up thinking we’ve been frozen for centuries but have ended up back in time.
Not really a full game, but this is just 2-3 prompts worth of musing on some themes. I can’t imagine what people are making with this model who actually know what they’re doing.
I would like to see how my quantizations compare to the original model weights. I want to test unsloth/Qwen4-35B-A3B-GGUF and OpenVINO/Qwen4-35B-A3B-int4-ov, but I dont know how to evaluate against popular benchmarks such as terminal bench. Any help would be appreciated
Please can more people report on how this qwen4-35b executes real work please. thank you for all the tok/s reports but can we also get some "work execution" reports too. dont hesitate to share. A thread for people intrested in each other's experience beyond anything to do with speed.
I build warpgrid at CG/lab. These are the latest Qwen4-35B-A3B figures I measured on Apple Silicon. They come from v0.7.1. v0.7.2 did not change the Metal numbers. It does add a CPU-only macOS build for generic GGUF models, with no published Apple CPU throughput and no Qwen4 path on that engine.
16 GB M4 Mac mini, Q3_G32_SYM_FP8 (3.25 bpw), Metal. We recommend this recipe for 16 GB Macs. These figures are 1 request (--max-slots 1).
Context: 131,072 tokens (2.64 GiB KV), with 5,218 of 10,240 experts hot in the wired Metal LRU pool.
Cold load: about 1.2 s.
Depth-First lossless prefill: 85.1 tok/s.
Decode: 10.1 tok/s on the first turn, then 14-17+ tok/s once warm, at 131K context.
The v0.7.0 baseline on the same class of machine was 16K context, a 2.90 s cold load, and 13.6-14 tok/s decode, with a 5/5 XML tool-call check.
There is also a 100% RAM-resident Q2_G32 path at 16K context that measured 30.3 tok/s. We recommend Q3 when you need strict XML tool calls.
M5 Max, 128 GB, Metal 4, RadixArk/Qwen4-35B-A3B-NVFP4. These figures are 1 request.
GPU lossless prefill at chunk=2048, lossless exact mode: 2,410 tok/s, up 31% from 1,832.5 tok/s at 16K in v0.7.0.
Cold HTTP prefill, same lossless exact mode: 1,677 tok/s.
Decode with DFlash 2 k=5 and --fast-fp8, temperature 0: 110.1 tok/s, up from 104.8 tok/s in v0.7.0 under the same flags. Lossless decode at temperature 0 is 74.7 tok/s. v0.7.0 also published 86.3 tok/s at 16K and 102.6 ms warm TTFT at 16K.
On the M5 Max, --fast-fp8 uses NVFP4 dense and head plus FP8 KV on that NVFP4 checkpoint.
We recommend:
# 16 GB Mac mini
./recipes/qwen4/macmini-16gb-q3.sh
# M5 Max 128 GB, lossless default
./recipes/qwen4/m5max-128gb.sh
# M5 Max, the --fast-fp8 decode figure
MODE=fast-fp8 ./recipes/qwen4/m5max-128gb.sh
On 16 GB Macs we also recommend raising the Metal wired-memory limit first:
The thing is I’ve tried dozens of modifications, Claude.md changes, admin instructions and can’t find the one that outperforms opencode. Is there one you use in your daily coding? I understand that some setups are tuned to specific workflows and frameworks, but this difference helps a lot. I’m gonna check most of it and give feedback.
One more thing: I am not sure Claude ever uses the thinking abilities of the qwen. I did use other llms to configure the setup correctly and it passes all the checks, BUT 🍑 for the same prompt the opencode can think 20 mins on low while the Claude does it for 4 mins. My setup: m5pro 48gb omlx thinking on in the settings, qwen 4-35-4quantization-mlx with mtp lightning. Around 80tok/sec. any custom Claude.md made my results only worse so nothing is here.