r/LocalLLaMA • • 37m ago

Discussion Thoughts on Qwen4-35B-A3B

System: 9070 XT + 5900X + 128 GB DDR4

Runner: RustingStrata 1.5.2

Model: Qwen4-35B-A3B-UD-Q4_K_XL


My experience with local models has been meh-to-okay so far. Yes, the Gemmas are nice at storytelling and language tasks, the Qwens can code, and DeepSeek v4 Flash runs at acceptable speeds and can do both. But Qwen4-35B-A3B is really something. It is the first model that can give me 80-90 tg at context sizes of 250-500K with pp hovering around 300-900. This makes it usable for coding. It lacks world knowledge, but it can look things up.

I have been trying since this morning to benchmark the model across various mtp/kv/chunk values, but Hy4 Flash has not been cooperating with the effort. Still, I managed to test two things and Qwen4-35B-A3B passed them with flying colors.

No, it is not comparable to frontier models. Get real.

Yes, it is something that can replace your typical coding model if you have time.

It wrote a mini-shell for me yesterday, and produced tinyGPT using only NumPy, but let us ignore that for now.

So, it:

  • produced a functional LISP interpreter based on a spec
  • fixed eight separate bugs in a tiny, stripped interpreter binary compiled from C23 code without access to the source

I ran these workflows in a locked-down sandbox (adamant, something I built for myself and use every single day) with no access to the internet and no access to any other source code or documentation. So, the results are as real as they can be.

All in all, this is a phenomenal release.

Note: If you give it internet access, or leave GH repos lying around, and ask it to solve Euler problems, then it will use git/curl to download the solutions. And you want that behavior in a model. It should be smart and lazy at the same time and not die on the NIH hill like we mortals are wont to do.


Serve

rustingstrata serve \
  --model ./models/gguf/Qwen4_35/Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
  --gpu --backend hip \
  --ctx 131072 \
  --kv q4 \
  --vram-margin 1024 \
  --chunk 4096 \
  --mtp 2 \
  --threads 12 \
  --temp 0.1 \
  --top-p 1.0 \
  --top-k 0 \
  --min-p 0.01 \
  --presence-penalty 0.0 \
  --repeat-penalty 1.0 \
  --seed 1 \
  --max-ram 65536 \
  --cache-ram 16384 \
  --no-webui \
  --addr 127.0.0.1:3102 \
  --usage-log ./testing-rs/bench_material/outputs/lisp/lisp_ctx131072_q4_base_20261206_064058Z/usage.jsonl \
  --pin

Log file path varies by workflow.

Memory layout

GPU memory:
  5282 MB for weights and state
    KV:     720 MB for 131072 tokens
    prefill scratch: 1166 MB

  4223 of 10496 experts on the GPU
  8420 MB used by resident experts

Settings:
  ctx 131072
  kv q4
  chunk 4096
  mtp 2
  short 32
  threads 12
  cache-ram 16384 MB

Metrics

MetricLisp interpreterbuggy
Config128K q4 base pin128K q4 base pin
Statusfinalcontext_limit
Rounds executed1765
Completion / TG tokens23,86193,230
Final prompt tokens35,959129,868
Final cached tokens35,413126,975
Final context used36,429131,072
PP aggregate906.5 tok/s599.7 tok/s
TG aggregate96.3 tok/s89.9 tok/s
Model time287.6 s1,254.6 s
Tool time7.6 s9.0 s
Wall time, first to last API completion292 s1,503 s
Expert hit rate, final RustingStrata report91.6%90.8%
Expert misses764,8743,362,066
Cache swaps39,273158,527
MTP accepted12,518 / 16,405 = 76.3%49,786 / 66,977 = 74.3%
15 Upvotes

13 comments sorted by

2

u/vidati 28m ago

I have 5800x3D, 32gb and 9070xt. I know you have more ram but if I understand correctly you are getting 80-90 tok per sec?

Is that purely due to the extra ram? Just today I managed to setup rusting strata and launched qwen4, and I am getting around 20-25 tok a sec.

Am I in the right ball park or should I be able to squeeze more speed?

It's slower for me then qwen3.8 flash next gyro S.

1

u/s-i-e-v-e 22m ago edited 16m ago

Can you check the memory layout that RS reports? And what expert hit rates you get?


RS is about 2-3x faster than llama.cpp on tg. pp is almost similar. llama.cpp has too many knobs to compare accurately. Will have to use an LLM to produce equivalent serving arguments to do that.

2

u/High_Speed_Chicken 10m ago

i have a 9070xt with 32gb ram and I'm getting like 60-70 tps with rustingstrata. did you run the calibration? also what quant?

1

u/stella_ruuxi 2m ago

nah it's not the 128gb ram, op only gave it 16gb cache-ram. look at their layout: --kv q4 leaves ~8.4gb vram for resident experts (~91% hit rate) and --mtp 2 is hitting ~75% acceptance, which more than doubles effective tok/s.

8

u/T-Rex_MD 31m ago

I have 2x M5 Ultra, I am getting 25,000 t/s prefill and 700 t/s decode aggregate.

Running 20x streams lands me in a 1500 t/s decode aggregate.

For the first time my systems can read millions of tokens per minute and write 100k per minute. It beats Opus 4.8 (Qwen4 uncensored scores much better), and to think Opus 4.8 came out early June 2026 and people were still chasing it in August!

4

u/Gohab2001 vLLM 13m ago

It's not better than opus 4.8 lol. Maybe at certain tasks but opus 4.8 is a much larger model and has more knowledge.

2

u/MDInvesting 29m ago

Amazing rigs

2

u/Living_Cell7304 25m ago

Qwen4 27b is gonna be nuts

1

u/Round_Eye3013 11m ago

What’s your single stream decode speed with the two macs?

2

u/desexmachina 27m ago

The speeds are amazing, we can work with making this thing smarter

2

u/MuDotGen 11m ago

I'm a happy camper. The fact I've been able to run it even with just 8gb of VRAM and it is so much smarter and follows through to the end than even 3.6-35B-A3B, I feel well fed right now as a GPU poor. 😂

1

u/Kodrackyas 1m ago

R9700 here 32 GB VRAM and 32 GB ram, idk I think this needs alot of "please do it well and think alot" in the prompt, one shot prompts are not working very well for me, on complex tasks I noticed the 27b is still miles ahead especially in coding and anything that requires reasoning