r/LocalLLM • • 2d ago

News Qwen4-35B-A3B just released!

Post image

It's happening! The becoming begins!

414 Upvotes

78 comments sorted by

6

u/W61k3r 2d ago

LexiEngine's Friday release already out-performs llama's release today.

5

u/DomiMili 2d ago

I opened their website and they specify inference and prefill speeds for 7900XTX, the same card I have. Okay, I'm intrigued now.

What's your experience with it? I personally love the Unsloth Desktop UI way too much but if I could use a faster inference engine and just set it up through API... Is it noticeably faster for you?

7

u/W61k3r 2d ago edited 2d ago

Aye, thank you for your interest! I'm the author of LexiSuite. My Friday release will be out within 3-5 hours or so.

Yes, my engine is way faster than llama.cpp out the gate, and is measurably has the best accuracy to speed ratio available in engines today for consumer amd cards as of my last release.

I'm releasing an agent witht he next release, however there is a flexible API so you can keep at unsloth and lexiengine does run unsloth models. I have started producing my own bespoke models as well so you can expect one this weekend if not this evening for 35b.

*edit* bespoke models are made through the lexipanel gui, lexiengine can customize models.

3

u/DomiMili 2d ago

Oh wow, didn't know you are the author! I'll definitely try it as I was always looking for squeezing out a little bit more performance out of my system but never really tried anything else other than llama.cpp or Strata.
You impressed me enough to give it a try now :)

43

u/WheelIllustrious8777 2d ago

Well, a nice surprise to lead with this one. Such a flex that they don't even compare it with 3.6 35B-A3B in the graphs. Very impressive that it is competitive with 3.8 27B and even 3.8 Flash-Next in some benchmarks.

27

u/Jerrizzy-x 2d ago

Technically, it beat 27b in every benchmark 

11

u/Invader-Faye 2d ago

Beat it in my benchmarks too. They cooked with this one

2

u/CamalaKatayun 2d ago

its wild how fast the MoE architectures are catching up to dense models in that size bracket

24

u/Dizzy-Zebra9522 2d ago

Qwen you are best. Thank you for all the effort you do despite the American losers sanctions. Thank you China.

4

u/3dprintingboii 2d ago

Runs better on Q8 on my m1 max 64gb than inkling.

And my m5 ultra is coming up soon 💕😭 perfect timing

7

u/teekay_1994 2d ago

Is there going to be a Flash Next model too? What should we be expecting?

5

u/NeKon69 2d ago

I think "flash" model is called "Omni". So potentially yes. No one knows when though.

1

u/Few_Excitement_4898 2d ago

I've noticed it takes up a lot of memory for multiple tasking on Hermes. I might have to revert to my taskmaster v1 with chatgpt OSs. 24gb vram, 32gb memory

1

u/DomiMili 2d ago

What?
Why would you use that old model?
I'm on 24 GB VRAM and Qwen 3.8 27B runs perfectly for me

And Qwen 4 35B A3B did too but I struggle with inference speed drops at the moment

2

u/Few_Excitement_4898 2d ago

Prefacing, it does run. But for the responsiveness and tool calling benchmarks I have ChatGPT is faster and more accurate. I’ve benchmarked marked them all. I see qwen4 as superior in the bench test. But as I go thru the last bit of everyday tasking. I noticed I have .5 gb of memory overhead which isn’t the best. Means I can’t use my computer while I’m using my model. Which sucks because my agent is my research note taker.

1

u/DomiMili 2d ago

That's weird, I'd use literally any other model rather than GPT-OSS.
I have 490 GB of GGUFs and GPT isn't one of them. I really think it's rather odd.
I use my pc with my models as well, though I have 64 GB RAM. Still, I'd say even Qwen's 9B models would be much better. Or Gemma.

1

u/Few_Excitement_4898 2d ago

See this is where we fork. You having more ram allows you to comfortably offload when needed. My headroom would be .5gb which is useable but with multiple chromes or maybe an mcp up it will throttle me. I really don’t want to add another upgrade to my computer, just bought and installed a 3060. It’s turning cost sink fallacy as I look at 64gb ram and higher. 1.1k… at that point I might as well just buy a new ai computing solution!

2

u/Few_Excitement_4898 1d ago

I’m testing out 3bit now because I’m trying to see what’s best. Your older model statement got in my head. Fingers crossed.

1

u/faf-net 1d ago

7900 XTX here. IQ4_XS on llama.cpp Vulkan with the full 256K context (q8_0 K/V, -ot per_layer_token_embd=CPU, all layers on the card): 88–94 tok/s decode, prefill 2,300–2,800 tok/s up to 32K and about 1,000 tok/s at 200K. VRAM ends at 23.6 GiB, so there is no room for the MTP draft at that context. Numbers and a chart against Flash-Next on the same card: https://github.com/faf-net/ugreen-idx6011-egpu-llm/tree/main/messen/daten/2026-12-04-qwen4-35b-a3b

One warning if you write anything but English: its German is clearly worse than Flash-Next's in a blind comparison (39 against 56 of 60 points).

1

u/DomiMili 1d ago

Hey, 7900XTX as well! I get around 120 tok/s decode and 3000 tok/s prefill. Llama.cpp q4_0 KV and 65536 context, same qant as you. MTP is turned on. Czech is noticeably worse than 3.8 27B.

I get severe performance drops with 4 35b a3b for some reason. Restarting the whole computer does help. I couldn't pinpoint the issue but my very recent finding is that it seems to degrade when an embedding model loads. It doesn't recover after unloading though so it seems that there's an inssue with Unsloth Desktop when it comes to that. I'd appreciate your input!

1

u/faf-net 1d ago

Your numbers fit: with 64K context and q4_0 K/V you have room for MTP, I spend that VRAM on 256K. Czech matches what I see in German.

The drops look like VRAM spilling over. On this card Vulkan doesn't fail when VRAM is full, the driver moves buffers into shared system memory and prefill collapses. I had that with the UD-IQ4_XS at 256K: 2,300 tok/s down to 100–150. An embedding model loading next to a full card would trigger the same thing.

Check "shared GPU memory" in Task Manager when it's fast and again when it's slow. And try reloading just the LLM instead of rebooting. If that fixes it, keep the embedding model on the CPU or leave about 1 GB of VRAM free.

0

u/DomiMili 1d ago

The thing is, Vulkan is way slower for everything compared to ROCm. You're right that it's likely the overspill. But I'm more concerned about what's going on with the embedding models.

I let Qwen 4 analyze it and it reported that the granite embedding model runs on sentence-transformers inside the Studio python process. It also said the issue is that PyTorch uses CUDA contexts and eats up VRAM while not giving it back after unloading.

I honestly barely know what that means but I'm currently trying to fix it. I wonder whether I'll be able to run Brave alongside Qwen 4, though as that's crucial for me. It was fine in my very first tests, so I hope it'll fit.

1

u/faf-net 1d ago

Fair point on ROCm, I only use Vulkan for stock llama.cpp.

What Qwen told you sounds right. PyTorch keeps its GPU context and its memory cache until the process exits, so "unload" frees the model but not the VRAM. Restarting Studio should be enough, no reboot needed.

The clean fix is to keep the embedding model off the GPU. Granite is small and runs fine on CPU. If Studio has no setting for it, sentence-transformers takes device="cpu".

Brave will also take a few hundred MB of VRAM, more with video. If the card is already full, turn off hardware acceleration in Brave or give the model a bit less context.

1

u/DomiMili 1d ago

Thank you! That's what I did with the embedding model and now it seems okay. But only the embedding part.

When I opened Brave, the speed dropped from 130 tok/s to about 50 tok/s and it didn't go back up even though Brave was already closed! Until computer restart again.

It's so infuriating honestly.

I kinda don't want to turn off hardware acceleration though, especially not if I see this behavior of speed not going back up as there seems to be a bigger problem here.

1

u/faf-net 1d ago

That fits the same picture. When Brave grabs VRAM and the card is full, Windows moves part of the model into shared memory, and it does not move it back on its own when Brave closes. So the speed stays low until the model is loaded fresh.

Two things to check before you reboot next time:

  • Task Manager > Performance > GPU: is "Shared GPU memory" still high after closing Brave? Then unload and reload the model, that should be enough.
  • Brave often keeps running in the background after you close the window (Settings > System > "Continue running background apps when Brave is closed"). Turn that off, or check for leftover brave.exe processes.

If you want to keep hardware acceleration, leave about 1 GB of VRAM free, e.g. with a bit less context. Then the browser fits next to the model and nothing gets pushed out.

1

u/DomiMili 1d ago

Okay so I it most likely was VRAM spill.

But it was continuously rising all the time. The issue seemed to be dwm.exe and I fixed it by turning off hardware accelerated GPU scheduling and also disabling multi-plane overlay in the registry. That seemed to do the trick.

I still can't unfortunately run Brave alongside IQ4XS but Q3KXL fits.

1

u/faf-net 1d ago

Good find, a steadily growing dwm.exe is a different thing from Brave grabbing memory once, so that explains why closing the browser didn't help. Thanks for reporting back with the fix.

For Brave next to IQ4_XS: if your CPU has an iGPU, plug the monitor into the mainboard and let Windows render the desktop and browser there (Settings > Display > Graphics, set Brave to the power-saving GPU). Then the 7900 XTX is free for the model. Otherwise a quantized KV cache (-ctk q8_0 -ctv q8_0) or a bit less context gets you the last few hundred MB.

1

u/DomiMili 1d ago

I have AMD Ryzen 9 5900X so no iGPU for me. I'm also using 2x 4K 60 FPS displays. Sadly, I'm running already with 65536 context on KV q_4, so no more squeezing the cache for me. :(

If you have any other ideas, I'd greatly appreciate it. Thank you so much for all your help!

→ More replies

2

u/vespassassina 2d ago

Nice, unsloth has already a guide and a 24GB version : https://unsloth.ai/docs/models/qwen4

1

u/Material-Database-24 2d ago

Matching QFN is pretty sweet! If that holds. I was sort of expecting it match Qwen3.8 27B and just be faster, but cannot complain.

1

u/Markus2816 2d ago

how about the 27B?

1

u/Markus2816 2d ago

matching Qwen3.8 QFN performance is insane!

1

u/durandal2fr 2d ago

the oq6e was the first qwen to release a bugless version of my own test, a massive simulator in html file. the stuff worked at the first run, although not very sophisticated visually (compared to the 27b and flash next versionà it just worked fine on the first pass, which didn't happen since... wow. i'm shocked.

1

u/exodusTay 2d ago

i wonder how it compares against flash. i have been using it at work and it is very impressive for how fast it is

1

u/Connect-Tutor-9587 2d ago

Is anyone able to run quantization on a 16GB RTX 5060 Ti graphics card? I have 32GB of system RAM.

1

u/internet-reddit 1d ago

It’s probably possible since these models can offload to ram and system ram

1

u/pharrt 2d ago

omg omg omg - YESSSSSSSSSSSSSSSSSSSSS!

1

u/FoxSideOfTheMoon 2d ago

Please someone tell me 35B is better than QFN 3.8 and 27B 3.8 lol

1

u/lewando54 2d ago

Crying in my rtx 3080 ti 12gb

1

u/Denial_Jackson 1d ago

My Qwen got unexpectedly obese with these Johnny Silverhand anorak anagrams.

I hope it can prove the P=NP in exchange for being soon to be as large as a Western tripple "A" videogame. (/s)

1

u/deepman09 2d ago

Can the model run on M4 with 24GB ram smoothly?

3

u/c-ramirez-2036 2d ago

The 3B is active-per-token, not total weight size, so 24GB alone doesn't settle smoothness; quant and context determine memory headroom.

2

u/plscallmebyname 2d ago

I just wish i bought the 48Gb one! Now it's just too costly.

1

u/FiscalPragmatist 2d ago

Not smoothly, you'd need heavy quantization and a small context window to fit 24GB

0

u/darksoul_310 2d ago

can u please lmk if it runs in on the same device, also what llm do u run rn

0

u/LordKlavier 2d ago

It's actually happening? Let's go.

0

u/AssistanceOk2756 2d ago

ohh what if the community made it looped transformer? it would be a beast to say the least

-9

u/johnzadok 2d ago

Q4 KM needs 21.9 GB vram just for weights! Looks like my 24gb card can not run this with long ctx considering engine overhead.

16

u/BoatMunch 2d ago

Do you not know how moe models work

5

u/Janjaw007 2d ago

I am new to LLMs, please can you explain them? I used 3.6 35b a3b on a 16+12 card and set the GPU offload to max. It used 21-22 GB of VRAM at 100,000 context on LM Studio at q4, with a KV cache and a physical batch size of 1024.

What settings should I use to increase the context?

6

u/ApprehensiveFan1516 2d ago

100k context is relatively decent for 16/12 at Q4. Personally I'd try increasing the batch/ubatch size (will increase VRAM usage) to get better prefill speeds rather than increasing the context.

Also if you use vision try --no-mmproj-offload which will move the vision projector to RAM. Makes image processing slow, but if you don't use it much that doesn't really matter.

And try --threads X change X to whatever number of threads your CPU has, and then lower it. I usually find best speeds using about 1/2 to 2/3 of the number of threads.

2

u/Janjaw007 2d ago

Thank you, will try that surely

10

u/Prudent_Committee296 2d ago

You can now offload the KV cache to system ram due to the new attention layer that only reads a few tokens per token. So as long as you have a decent amount of system ram, you will be running at a reasonable speed.

2

u/FrigoCoder 2d ago

What new attention layer, could you elaborate on this one?

3

u/Prudent_Committee296 2d ago

Qwen 3.5 used Gated Attention 4 uses Qwen Sparse Attention. It only reads 2048 tokens per token with native support for NVFP4. So you KV cache reads are like 10 megabytes per token (or 40 at bf16). So you would hit bottlenecks on other parts of the system way earlier even at speeds like 100 tok/s.

1

u/hudimudi 2d ago

10kb, not mb, I guess?

1

u/Prudent_Committee296 2d ago edited 2d ago

MB. Per token as in for per token decode, so per 2048 tokens read.

1

u/LippyBumblebutt 2d ago edited 2d ago

(Disclaimer: just an educated guess)

the 10s kb per token you're thinking of is probably the kv space per token needed to store a single token. So at 100k context you need 100k * 10kb = 1GB memory for 100k context.

The 10Mb per Token he is referencing is for decode. When a new token is generated, usually you read the entire context, the 1GB from above. This has to be in fast RAM (VRAM) or it will be slow. When you only have to read 10MB per Token, even PCIe4x16 has 31GB/s bandwidth. So you can transfer the kv-cache of 3k t/s via PCIe from system RAM. edit Theoretically.

At that point bandwidth is unlikely to be the issue. But latency will be, so having everything in VRAM will still be a lot faster. But way less compared to transfering the full context for every token.

1

u/Prudent_Committee296 2d ago

PCIE latency isn't really that high as people make it be.

2

u/LippyBumblebutt 2d ago

You're probably right. PCIe will take at most 0.5ms for 10MB if it can be DMAd directly from system RAM. At 100 t/s => 10ms per token, that shouldn't make a huge difference.

That said. When I use --no-kv-offload with llama.cpp, the performance tanks with Qwen4 from ~35 to 9 t/s... so IDK what the issue is, but the theory doesn't hold up - yet.

1

u/Consistent_Piglet779 2d ago

What engines support the kv cache offload?

2

u/Prudent_Committee296 2d ago

Don't most support it nowadays? AFAIK there is no special optimization you need to do once the engine supports KV cache in system memory

-1

u/jonaddb 2d ago

Will we have a looped version to avoid overthinking? I will wait for the EXL3 version.

1

u/Long-Avocado-8620 2d ago

A looped version of this makes zero sense at all 😂.

Loop 27b when it comes out but u aren’t getting anything out of looping 35b-a3b.

1

u/jonaddb 2d ago

Weird how confident you are while being completely wrong:

  1. Looped MoEs are already a thing and work great, just look at Inkling 2 Mini or Looped Qwen3.8 Flash Next (which cut reasoning tokens by 32-67% on an MoE), or the LoopRes results on Qwen3-30B-A3B.
  2. Looping a 35B-A3B actually makes more sense than you think: with only 3B active params per pass, recurrent depth lets the router tap into different experts across passes in hidden state instead of wasting thousands of <think> tokens.
  3. 0xBakeer (TandemLLM) literally just announced Looped Qwen4-35B-A3B is cooking. So yeah, turns out it makes plenty of sense.

1

u/Long-Avocado-8620 2d ago

Yeah bro slap another adapter on I’m sure that will catch on.

Don’t you think if you could just loop it for free after it’s trained on a non-looped architecture Alibaba would do that?

1

u/jonaddb 2d ago

Bro you literally told me to loop 27B one comment ago, and 27B wasn't trained as a looped model either. The only way to loop it is by slapping an adapter on it afterwards. Pick a lane. Also that "slap an adapter on it" thing already worked on a frozen Qwen MoE (Looped-Qwen3.8-Flash-Next). 268MB adapter, LiveCodeBench v6 went from 77.7% to 85.7%, and thinking tokens dropped by a third.

Alibaba doesn't ship it like that by default because stock releases need to work cleanly on regular vLLM and SGLang without custom multi-pass state hacks, not because looping MoEs doesn't work.

1

u/Long-Avocado-8620 2d ago

Inkling was designed and trained with a looped architecture, there’s a reason these “loop qwen flash next at home” adapters have zero motion is because it hurts the model.