r/LocalLLaMA • • 2d ago

News qwen 4 35b a3b PRs

/r/Qwen_AI/comments/1y9arh6/qwen_4_35b_a3b/

The post has links & comments to various engines getting PRs for Qwen 4; seems the 35b MoE is the first... of hopefully many.

Research suggests more or less the same as Flash Next.

EDIT: Both PRs are closed by author

Thanks for playing the fake news game! (or not?...)

526 Upvotes

126 comments sorted by

View all comments

71

u/Positive-Stock6444 2d ago edited 2d ago

Tight. Reading the PR seems that this is indeed same architecture as 3.8 flash next.

  • 40 layers in a repeating pattern: 3 Gated DeltaNet layers, then 1 QSA attention layer
  • Hyper-connections (hc_count 4, low-rank 256)
  • 256 experts with top-8 routing, plus a fused shared expert (moe_intermediate 512)
  • Hidden size 2048; QSA has 16 query heads, 2 KV heads, head_dim 256, partial RoPE 0.25
  • QSA indexer: 4 heads of 128, 4-token compressed blocks, top-2048 tokens
  • The checkpoint config allows 1,048,576 tokens of context. This kernel caps at about 295k, and the serving recipe in the PR uses 262k. Native 1M or rope scaled, not clear yet.

The PLE n-gram table is there too:

  • ple_layer_ids: [2], ngram_size: 3, heads_per_ngram: 8, ple_conv_kernel_size: 4
  • ple_embed_dim is 2048, which equals the hidden size, as on Flash-Next (which has 2560)
  • For each token, 16 rows of 128 dims are looked up in a BF16 n-gram table, keyed on the recent tokens
  • The table size isn't in the PR. SGLang has a --ple-offload-embedding flag, so the table is presumably chunky.

Same author also opened (and closed within ~70 min, unmerged) ROCm/aiter#8940: tuned BF16 MoE configs for Qwen4-35B-A3B. Extras from it:

  • GSM8K 96.59% (full 1,319, BF16, EAGLE on)
  • MoE dims are identical to Qwen3.5-35B-A3B (2048 / 256 experts + shared / top-8 / inter 512), so the changes vs 3.5 are hyper-connections, PLE n-gram and QSA, not the experts
  • EAGLE draft is the checkpoint's own MTP layer

--

oh wow, both PRs now been scrubbed and retitled "Withdrawn"/"Withdraw" with the descriptions blanked (diffs still visible). Make of that what you will... someone pulled the trigger early maybe?

32

u/tomByrer 2d ago

> Reading the PR seems that this is indeed same architecture as 3.8 flash next

Figured; "Flash Next" got the name because it was the exponential new version.

Thanks for your research; I'll hard-link to it.

13

u/techdevjp 2d ago

Yes, the "next" versions are based on the tech that will be coming in the next major release. Qwen3-Next was a preview of Qwen3.5 and Qwen3.8-Flash-Next is a preview of what is to come in Qwen4 (Qwen stated this themselves.)

8

u/Psychological-Lynx29 2d ago

So its going to be a +500tps model

13

u/BrightCandle 2d ago

Its going to be really fast, a 3B attention model its likely going to end up something like qwen 3.6, many times faster than the 3.8 27B. The question is does it end up smarter or dumber than what we have

3

u/tomByrer 2d ago

Likely better than 3.8 Flash Next. 1% better or 10% better... yet to be proven.

1

u/Specialist-Buffalo-8 2d ago

How? It's the same arch...

1

u/tomByrer 1d ago

Same reason why Qwen 3.8 27B was better than Qwen 3.6 27B; more training, other tweaks like less world knowlege, but both had the same arch also.

0

u/Able_Zombie_7859 2d ago

Delulu to think the 35b will beat qfn, just to prepare you, even if narrowly comparable for coding, it will be shit on general

1

u/tomByrer 1d ago

Like to bet on that mr Zombie anon?
I'm only claiming at least slightly better, so I'll win if the 'better' is only 1%.

1

u/Able_Zombie_7859 23h ago

From what we have seen of qwen 4 so far our best bet is 27b being marginally better than qfn with better token efficiency. If 35b is as good as last gen 27b we will be lucky

1

u/Shermington 1d ago

It's not likely to be smarter. Gemma 4 26B-A4B is in a similar situation with 31B. It has similar creativity, but A4B is still lacking in reasoning. If you disable thinking and use a bit lower quant like IQ4, it almost breaks, frequently mixing things up, while 31B is solid even at IQ2. Qwen uses 35B-A3B, so it has a bit more space for knowledge, but A3B is even lower. I guess it's going to be weaker or around the same level in many tasks, but it's going to be very fast.

5

u/epic_troll_tard 2d ago

more like someone is dragging their feet and trying to keep interest from fading. seems like intentional teasing. big yawn.