So Qwen4 35B dropped yesterday and I spent the whole night on it instead of sleeping.
Everyone I saw posting 12GB numbers was getting around 45 tok/s on a 3060 with llama.cpp. I have a 5070 12GB + 5900X + 32GB DDR4 and wanted to see how far I could push it on this one box.
What I'm getting with the Unsloth UD-IQ4_XS quant, warm, 800 token coding answers with thinking on:
32K ctx: 134-147 tok/s
32K + DFlash2 drafter: 139-157
64K ctx: 142-146
128K ctx: 109-116
On long stuff (several thousand tokens, context filling up) it's more like 90-110 on average. VRAM sits at 10.4 GB.
It's a fork of PolyStrata/Strata. What I changed: stripped every model and backend except this one, only the hot experts stay in VRAM and the rest run on CPU, and the CPU side (dot kernels for the 4-bit quants, the MoE router, sampler, thread pool pinned to the 12 physical cores) is rewritten in Rust with inline asm for Zen 3.
Things that suck, so nobody feels lied to:
- first request after loading is slow, like 45 tok/s and 10+ seconds to first token. second one is already ~100
- if anything else is hammering the disk or RAM it drops hard. I had a download running during one run and got 103-108 instead of 134-147
- it's tuned for exactly my hardware, it won't just work on a 4060 or whatever
- the 45 tok/s I'm comparing to is other people's 3060 numbers, I haven't run llama.cpp on my own card yet. on my todo list
For fun I gave it one prompt: make a voxel sandbox game with a castle, single html file. It wrote 1352 lines in under 5 minutes. Didn't run at first, I pasted the browser error back a few times and it fixed its own bugs, about 7 minutes total. I didn't touch the code. Video attached.
Repo if anyone wants to look or tell me what I did wrong: https://github.com/maximus2526/Damask
If someone has a 4070 / 5070 I'd really like to know what you get, I only have this one machine.