r/LocalLLM • • 8h ago

Other Qwen 4 is authentically impressive.

i9 12900kf, 64gb DDR4, ARC B580, LM Studio.

my go to bench marking prompt is "Explain IPv4."

No persona, no need to overthink anything, basic facts that are easy to verify; No special tuning, with the MTP runs I left draft tokens on the default 3, despite my experience being that 2 will be faster.

  • unsloth Qwen 4 35B A3B IQ4_XS: 12.86 t/s
  • unsloth Qwen 3.8 27B IQ4_XS MTP on: 5.97 t/s
  • unsloth Qwen 3.8 27B IQ4_XS MTP off: 4.12 t/s
  • Inkling 2 Mini Q2_K_XL: 5.48 t/s
  • Candor Labs Qwen 3.5 Q4_K_M MTP on: 66.82 t/s
  • Candor Labs Qwen 3.5 Q4_K_M MTP off: 52.09 t/s

Qwen 3.8 runs like ass on my system regardless of version or size, even smaller 9gb packages that completely fit on the GPU won't run better than 7 t/s, and that Inkling 2 Mini is also 9gb and fits completely in VRAM, but is no better.

Obviously my system works fine with older / simpler models like Qwen 3.5, so I figured I was just hardware locked due to having a 12gb VRAM GPU, and expected Qwen 4 to also run like ass ... Jaw on floor that a 35B model hits 12 t/s on a B580.

51 Upvotes

48 comments sorted by

37

u/Ori_553 7h ago

my go to bench marking prompt is "Explain IPv4."

Wait what?

I'd doubt one can tell apart a Claude Opus 5.5 and a 7B local model answer with that question

10

u/Xijit 7h ago

All I am looking for is how fast does it run: I am out of work and trying to learn home lab related things to keep myself busy while waiting for job applications to reject me.

Since I am a Trade Skill guy, the only IT related things I deal with is troubleshooting PLCs or Logic Controllers, and I am basically never going to use this stuff professionally. So all I am using AI for is a research assistant to explain home networking things I don't understand, or to give myself refreshers on technical details I could be asked in an interview.

Maybe I will eventually use it to help me make my dream retro JRPG that will delight dozens.

TL;DR: I am so basic that all I need is "how fast can it give me an answer I could find on Wikipedia?"

4

u/Ori_553 7h ago

I see, speed, in that case, it kind of makes sense as a rule of thumb test. I thought you meant you're assessing the quality of the answers with that prompt.

2

u/agentqx2 8h ago

are you running strata with unsloth qwen 4? https://github.com/niko1221/strata

1

u/Xijit 7h ago

I am using an Intel card & Strata doesn't naively support it ... supposedly they are working on adding it, because the guy who forked Strata to make XeStrata is a douche who altered the permission licence so that the Strata team can't merge it back into the original program.

I looked into running XeStrata, but the instructions didn't list a CLI install script, or a installer package, there is no flatpack, and instead of having a a premade docker container: it wanted me to load the thing into a podman container myself. I have enough side quests going on in my life to deal with all that, so I decided to wait for Strata to finish their Xe implementation.

1

u/agentqx2 7h ago

are you sure? documentation sounds like it supports it https://github.com/Niko1221/Strata/blob/main/docs/INTEL_ARC.md

2

u/Xijit 7h ago

When I tried it the patch notes said it did, but the installer still threw a fit when it didn't see a Nvidia GPU and refused to complete.

That was like a week ago, so maybe they fixed it.

2

u/Budkovsky 7h ago

Strata supports Intel Arc, I have B70, QFN works properly.

1

u/Difficult_Plantain89 27m ago

Polystrata supports Intel cards but I think it's Linux only. Maybe the same issue with regular strata?

1

u/Xijit 11m ago

That would be good for me since I run Linux Mint

1

u/Borigh 7h ago

I didn't think that was actually set up yet. I'm interested in trying it, on a 9070 XT if that matters.

27

u/_TheWolfOfWalmart_ 8h ago edited 8h ago

12 t/s?

You might want to stop using the GPU entirely.

I have an i9-12900K at work without a GPU, and a while back I had it running Gemma4 26B-A4B entirely on CPU at nearly 30 t/s with basic llama.cpp.

Hint: Make sure XMP is enabled and limit threads to 8 (because you only have 8 performance cores)

-t 8 -tb 8

2

u/ilarp 7h ago

how come ecores do not help?

5

u/one-joule 7h ago

Memory bandwidth is the main limitation, not raw compute, and you don't want P cores waiting around on E cores.

1

u/_TheWolfOfWalmart_ 7h ago

Yes, and the E cores will destroy prefill performance which is already bad enough on CPU.

1

u/exrasser 4h ago

Interesting, I get 22 t/s using llama.cpp gemma-4-26B-A4B-it-MXFP4_MOE.gguf
Ryzen 7 1800X 32GB DDR4 2900mhz - RTX3070 8GB

1

u/Zealousideal-Fan-326 3h ago

This is actually good advice. Considering the price of vram, even though ram is expensive, it's still cheaper than vram and allows for easier upgrades too. Thanks..i should have thought of that as the solution I was looking for.
Being able to run a model of size slowly is better than not being able to run it at all

12

u/oromis95 8h ago

It's because it's an MoE model. Dense vs MoE matters a lot.

6

u/NegotiationPrior4373 8h ago

250 tok’s on 64GB M5 Max. I’m floored by it. It’s passing every test I throw at it. Claude is making more mistakes in test drafting than Qwen is on the tests.

1

u/Particular_Radio_892 5h ago

Which runtime do you use?

1

u/NegotiationPrior4373 4h ago edited 4h ago

It’s oMLX front end, launches Splash, DFlash 2 as the drafter.

More testing has been done, and it looks like it’s settled in at around 200 tok’s fully in memory, and about 180 using a 12GB Ngram. Highest I saw was around 280 and it was averaging 250 until I updated the tests suite, which is where the 200 comes from. The prior higher scores did not factor into the 200 tok’s average.

3

u/FuckinHighGuy LocalLLM 7h ago

Explain ipv4 is it? That’s a little shallow if you ask me. Give it something to really chew on!

2

u/whodidntante 4h ago

Write a tcp/ip stack for a dodge caravan in Lisp

1

u/gardenvarietyzombie 7h ago

Considering you're using LM Studio I'm guessing you prefer a GUI to the terminal? If that's the case I'd give Unsloth Desktop a shot, especially since you are already using their quants. It will do a better job at optimising the model for your machine than LM Studio. Maybe take a look at their guide as well: https://unsloth.ai/docs/models/qwen4

2

u/Xijit 6h ago

I tried it and got 11 t/s instead of 12 t/s with LM Studio.

2

u/ERPlegend 6h ago

is there a working version in lm studios

0

u/greaper_911 3h ago

Yes there is now. There is now an officially dev choice too

3

u/txlfxrd 8h ago

With ArcAngel you'll get 10X the decode speed on the same hardware

The Qwen 4 35b update is dropping in a few hours, I'm getting 1,300 tok/s prefill & 70-100 tok/s decode with Qwen 4 35b on a 5600x + b580

Most engines are just poorly optimised for Xe2

2

u/Budkovsky 7h ago

Great news, now I'm waiting for ArcAngel with Qwen4 support, its performance on B70 is really good.

2

u/No-List-4396 7h ago edited 3h ago

is he really going to update ArcAngel ? i tought it was only going to be avaible for Inkling 2 mini...
If i can ask where did you get those info ?
EDIT : arcangel just got an update

1

u/mk_saadi 59m ago

whats your context window?

1

u/PestiferousGamer 8h ago

With your specs you should be able to run qwen 4 35b at 3-4 times the tokens/sec you currently are. LM studio is like going to six flags but you are only there for the "ambience" and never ride the rides.

1

u/devMayCare 8h ago

You have a strong preference other than LM Studio?

5

u/PestiferousGamer 8h ago

Just use llama cpp, its already in the backend of LM studio, but its always lagging behind the latest updates and makes fine-tuning parameters a pain in the ass. I have rtx 3060 12gb w/ 48gb ddr4 and I easily get 40 tokens/sec at 120k context.

--spec-type draft-mtp --spec-draft-n-max 1 -fa on --jinja --load-mode mlock --lazy-mode on -ot per_layer_token_embd=CPU --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 -c 120000 -np 1 -ctk q8_0 -ctv q8_0 --cpu-moe --moe-cache-mib 6500 -fit off

3

u/Xijit 8h ago

I am on Linux and llama cpp doesn't have a Linux App ... I had been using llama cli/serve, but I am not competent enough to navigate how to run these things with a GUI.

I have only been running local llms for about 3 weeks now and before that I had only used Gemini to troubleshoot 2 error codes when switching to Linux.

So yeah, I am pretty incompetent at this stuf , but I'm learning.

5

u/Osi32 7h ago

Everyone is learning. Use google gemini in the browser (the free one) ask it to help you with llama-server install on Linux.
There definitely is a binary for Linux.
Then give Gemini your system specs and the fact you’re on Linux and ask it to generate a config file or a run script with recommended arguments.
Using a frontier model to help you setup local is the way, especially if it’s your first time.

1

u/Xijit 7h ago

Yeah, I was running "llama serve" and then using the WebUI to talk to it, but the WebUI doesn't have any UI based options besides swapping models and managing chats. So I still would have had to use command line interface to do any tuning or change settings ... and that is where my competency falls off a cliff.

Especially since the "llama App" side of the house doesn't use the same set of instructions as the "llama cpp" side of the house. Like the speculative decoding functions are not 1:1 and the llama App page does a shit job of explaining it / the CLI example doesn't work.

5

u/ZeroSkribe 8h ago

That string of command arguments is absurd

6

u/PestiferousGamer 7h ago

I agree. Wait until you start using the waterfall feature of stacking ngram speculative decoding like ngram-mod,ngram-map-k,ngram-simple along with MTP. Not too mention messing with --prio options and creating your own personal ngram-cache static/dynamic files. All of these things are utilized by the big providers and are readily available in llama cpp, it's just not user friendly.

2

u/ImpressiveSuperfluit 5h ago

That's why you do a config file and just autoboot the damn thing. Puzzling to me why people start it that way, surely I'm missing something... Surely...

1

u/maison_deja_vu 7h ago

Bruh I’ve seen ones even longer than that lol 😭

1

u/Constant-Rutabaga466 4h ago

Is there no arc-tuned inference engine you can use? this seems extremely low especially since 12 gb vram should be getting you a bit more tps, I assume its a software support issue here..

1

u/Holiday_Point_603 2h ago

Invest some time, download unsloth studio (ditch lm studio) and tweak the settings with the help of ChatGPT or whatever cloud AI (since you probably don't have a lot of knowledge in this field) and also ask it how to swap out engram tables for higher precision (it will not know what it is, ask it to perform online searching and it will find unsloth docs) and I'm sure you will be able to run an iq4 quant with at least 15tps.

-1

u/NatMicky 8h ago edited 7h ago

gpt-oss-20b non quant MXFP4 on your hardware will smoke all those Qwens. Plus it has 3.6B active parameters.

0

u/ApprehensiveFan1516 5h ago

It's almost 2027. That model is completely obsolete and belongs in a museum.

1

u/NatMicky 5h ago • Mindblown

Nothing obsolete about it. It knocks the heck out of the models I just mentioned and much FASTER. It's highly trained in STEM. You know nothing about it. Your "modern" models are slow slugs and don't compare to MXFP4.

0

u/ProductResident4634 5h ago

Dude at this speed just get opus 5.5 with 20$ sub and write bespoke fused gemv kernels with it