r/LocalLLM • • 6d ago

News Heretic: Farewell

Thumbnail
github.com
622 Upvotes

r/LocalLLM • • 1d ago

News Qwen4 is out now!

Post image
183 Upvotes

Qwentastic!


r/LocalLLM • • 30m ago

Discussion I think we're getting closer to a point where Local AI will start (partially) replacing API models

Post image
58 Upvotes

If local AI models keep fitting so much power in so (relatively) little, I think we'll probably start seeing AI being treated as a more widespread casual standard instead of a niche thing for us nerds, while paid models end up being used only for serious professional work instead, maybe I'm too optimist, but with how quick things seem to evolve, I hope I am not

What do y'all think


r/LocalLLM • • 15h ago

Discussion Qwen4-35B-A3B (UD-Q5_K_XL, 41.8 GiB) one-shotting & visually debugging a 34K-voxel Three.js castle up to 215K context on a 12GB RTX 4070 SUPER + 32GB RAM — 79 tok/s avg decode, 4.4K tok/s peak prefill (Basalt-Ada Fork)

577 Upvotes

Single prompt, zero follow-ups, running 100% locally on an Ada (sm_89) build of Basalt:

"Create a fully rendered, highly detailed medieval castle environment using Three.js, built entirely from voxel-style geometry."

The agent ran autonomously for 41.6 min (53 requests, 76 tool calls), peaked at 215K context, and built a 34,317-voxel scene at 60 fps / 13 draw calls (zero external assets). The video shows it live around 174K–189K context taking its own screenshots via vision, fixing lighting/camera/clouds, and inspecting close-up angles.

PC Specs

  • GPU: RTX 4070 SUPER 12 GB
  • CPU: Ryzen 9 7900X
  • RAM: 32 GB DDR5-6000 CL30
  • SSD: Kingston KC3000 2 TB PCIe 4.0 NVMe (Windows x64, CUDA 13.5)

Setup

  • Model: Qwen4-35B-A3B UD-Q5_K_XL (41.83 GiB .basalt pack), 160M-row Q5_1 Engram on NVMe, Q8_0 MTP (--spec 8), dynamic GPU Vision, 262K max context, elastic VRAM --kv int8, lossless routing
  • Expert Split: 6.5 GiB VRAM (elastic KV trims slots as ctx grows) / 11.1 GiB RAM / 4.9 GiB NVMe SSD

Numbers (53 requests)

  • Peak context: 215,108 tokens (5.84M cached prompt tokens reused)
  • Prefill: 501.7K new tokens @ 3,002 tok/s avg (4,436 tok/s peak on 144K fill)
  • Decode: 177.0K generated tokens @ 79.0 tok/s avg (102.3 tok/s peak, 72.1 tok/s at 215K ctx)
  • MTP (--spec 8): 78.7% acceptance (88.3K / 112.1K) | GPU cache hit rate: 72.7%
  • Vision: 11 screenshots across 5 turns (302 ms for 1 img, 1,009 ms for 4 imgs)

Caveat: With 32 GB RAM, 4.9 GiB of cold experts spill to NVMe, reading 2.43 TB over the 42-min run (~1 GB/s avg — reads don't eat TBW, though 64 GB RAM would keep it all off disk).


r/LocalLLM • • 7h ago

Discussion Qwen4-35B-A3B vs Qwen3.8-27B on the same H200: about 7× faster, about 3.5 points lower on hard questions

Post image
97 Upvotes

We ran both models through the same tests for our assistant app, to decide whether to switch.

Setup

  • 1× H200, vLLM's qwen4 docker image (Dec 2026 build), FP8 weights for both, MTP 3 speculative decoding
  • Same app code, prompts and sampling for both. Web search was replayed from saved results, so both models saw the same pages.
  • About 640 questions: 163 everyday ones, ~440 harder lookup, fact and list questions, 33 in 11 languages, and 5 "write me a single HTML/SVG file" prompts

Results

  • Speed: 354 vs 50 tok/s on one chat, and 1,642 vs 329 tok/s total at 8 chats at once. First visible word 0.30 s vs 1.20 s on one chat. With only 3B parameters active per token, it flies.
  • Quality: level on everyday questions (99.4% vs 98.8%), the 11 languages (100% both) and code files (3/5 both). About 3.5 points lower on hard questions (86.2% vs 89.7%).
  • Behaviour: it's noticeably more cautious. It says "I'd rather not guess" about twice as often on live facts like stock prices.

Gotchas if you're switching

  • Sending enable_thinking: false together with reasoning_effort returns HTTP 400. Send reasoning_effort: "none" on its own instead.
  • reasoning_effort: "medium" isn't accepted. Only xhigh, high, low and none work.
  • Short classifier-style prompts (answer with one word) sometimes come back in a format our parser didn't expect. Constrain the output (a choice list or JSON schema) and don't rely on parsing free text.
  • The image's torch is built for CUDA 13.2. It runs on a 580 driver only because the image ships a CUDA forward-compatibility library. A bare pip install on a 580 driver crashed for us.

Caveats

  • The H200's memory bandwidth favours a small-active MoE, so treat the speeds as a comparison between the two models, not a prediction for your GPU.
  • We haven't tuned sampling for Qwen4 yet. The recommended settings are temperature 1.0, top_p 0.95, top_k 20.
  • Hard-question scores leave out rows where a search couldn't be replayed. That's about 80 per model, the same set for both.

Verdict for us: worth migrating, but not as a drop-in swap. The prompts and the thinking settings need work first.


r/LocalLLM • • 1h ago

Discussion I think Qwen4's architecture is more interesting than its benchmark scores

17 Upvotes

I've been looking into Qwen4's architecture, and one thing that caught my attention is how misleading parameter counts are becoming.

The 35B-A3B model actually has around 56B parameters if you include the additional 20.5B n-gram embedding parameters, yet only around 3.8B parameters are active per token.

At this point, does comparing models purely by parameter count even make sense anymore?

The combination of Gated DeltaNet, sparse attention and per-layer embeddings is pretty interesting. It feels like Qwen is trying to figure out how to increase model capacity without massively increasing compute requirements.

The 1M context window sounds great on paper, but we've seen plenty of models struggle with long context despite technically supporting it. I'm more curious about how much reasoning ability it retains at 128K or 256K than whether it can simply process 1M tokens.

Another thing worth mentioning is that 3.8B active parameters doesn't automatically mean it's easy to run locally. You still have to deal with storing all those weights.

Personally, I'd love to see more community testing around quantization, memory consumption and long-context reasoning rather than the usual benchmark comparisons.

I wonder if we're slowly moving towards a point where smarter architectures matter more than simply throwing more parameters at a model.

What do you guys think? Is this the direction open-weight models should be heading in?


r/LocalLLM • • 3h ago

Project 1,259 tok/s across 8 concurrent Qwen4-35B-A3B NVFP4 agents on 1x stock RTX 5090 (5-file sm_120 patch, 4,352/4,352 bit-exact, cold ABBA)

23 Upvotes

Built a 5-file sm_120 patch and unified recipe on top of jesdga95/basalt + Maxrio9 4e74c440 (q80p_2048=1), tested on 1x stock RTX 5090 32 GB (0 MHz OC, CUDA 13.0.88) in cold bracketed ABBA at both 450 W matched and 575 W stock:

  • c=8 decode: 1,258.5 tok/s (+17.6% vs baseline at 575 W, +17.4% at 450 W matched)
  • c=4 decode: 984.3 tok/s (+13.5% at 450 W) / 974.6 tok/s (+11.9%, +14.9% E2E at 575 W)
  • c=1 decode: 512.9 tok/s (+8.4% at 575 W, +8.5% at 450 W matched)
  • Prefill: 20.98K at 8K (+13.8%), 21.53K at 32K (+9.8%), 19.73K at 131K (+3.6%), 22.3 GiB (22,867 MiB) peak VRAM
  • Parity: 4,352 / 4,352 (100%) bit-exact greedy match against untouched 4e74c440 --spec 0

3 changes that drove it:

  1. q80p_center_seed=1: tracks the 4-bit center argmax row in 2 registers (102 vs 105 regs, 0 spills) to tighten the exact threshold on unseeded and rejected columns, cutting c=1 LM head by 31%.
  2. batch_vhead_screen=1: unlocks batched 4+4 screening at c=4/c=8, cutting c=8 LM head 2.25x (408 to 182 us).
  3. pf_own_buf=2: uses 9.8 GiB of idle VRAM for zero-eviction prefill instead of evicting up to 6,883 experts and streaming/refilling them over PCIe.

Also tested and dropped 4 other sm_120 tweaks (mid_max_t=8, commit_blocks=170, a3b_gu_stream_min=1, df2_c4_cap=12) that slightly regressed c=1 or c=4.

Video is 1.0x real-time (46,365 tokens across 72 tasks in 42s, 1,219 median / 1,263 peak tok/s, 22.1 GiB VRAM, 521 W median).

Patch, launcher, and raw ABBA/nsys receipts: https://github.com/CallitaCrushes/blackwell-builder-lab


r/LocalLLM • • 8h ago

Other Qwen 4 is authentically impressive.

54 Upvotes

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.


r/LocalLLM • • 4h ago

Discussion Anyone on running Qwen 3.8 Flash Next switching to Qwen 4 35B A3B?

24 Upvotes

I know Qwen 4 is supposed to match Qwen 3.8 FN at a smaller size, but are there any benefits to switching from Qwen 3.8 FN?


r/LocalLLM • • 2h ago

Discussion Qwen4-35B-A3B writes 88 tok/s on a 7900 XTX, but in German it lands next to Gemma 4 and far behind Flash-Next

Post image
15 Upvotes

Most numbers posted for new models are tokens per second and English benchmarks. I work in German, so for three weeks I have been grading German output blind for every model I try on my card, and plotting it against decode speed. Qwen4-35B-A3B is the newest entry.

Setup: one RX 7900 XTX (24 GB) in an eGPU dock on a NAS with 62 GB RAM. Flash-Next 125B runs on Strata, split between VRAM and RAM. Everything else runs on llama.cpp (Vulkan), fully on the card where it fits. Qwen4 is measured at the full 256K context with 8-bit K/V.

How German is graded: twelve German writing tasks. The answers are anonymised and shuffled per task, then graded 1 to 5 by a separate reader who does not know which model wrote what. 60 points maximum. The third number is a separate set of 102 auto-graded tasks (code, logic, tool calls, facts, following instructions).

ModelDecode tok/sGerman (of 60)Tasks (of 102)
Flash-Next 125B IQ3_XXS, uncensored (control vector)625498
Flash-Next 125B IQ3_XXS645196
Flash-Next 125B IQ2_XS744697
Qwen3.8-27B (dense)365292
Gemma 4 31B (dense)353897
Qwen3.5-35B-A3B1143790
Qwen4-35B-A3B Heretic IQ4_XS883999
Qwen4-35B-A3B Heretic Q4_K_M524394
Qwen4-35B-A3B Heretic Q8_02544–

What I take from it

  1. Task scores do not tell you about language. Qwen4-35B has the best task score in the table and one of the worst German scores. Gemma 4 31B shows the same split.
  2. A bigger quant does not fix it. IQ4_XS, Q4_K_M and Q8_0 got 39, 43 and 44. The grading itself moves by about three points between rounds (the same IQ4_XS answers got 39, 41 and 38), so that is at best a small step. And at 256K the bigger quants no longer fit on 24 GB, which is why they are slower.
  3. The errors are of one kind: English words inside German sentences ("Ich hope, dass Sie …"), made-up word forms, wrong gender and case, in one answer Chinese characters in the middle of a word. A Czech user told me he sees the same.
  4. Fast and good German at once is only the 125B model for me, even at 3 bits. The dense Qwen3.8-27B writes German just as well but at half the speed.

Limits: one run per task and one grader per round. The models were graded in separate rounds over three weeks; Flash-Next was in every round as an anchor and its score moved by 2 to 4 points between rounds, so compare across rounds with that much slack. The Qwen3.5 stock model was in a round that graded stricter. I did not test English writing, and for English-only use Qwen4-35B looks like a very good fit for a 24 GB card.

If you have a Qwen4 fine-tune or settings that fix non-English output, tell me and I will run the same twelve tasks.

Chart, method and all numbers (no answer texts): https://faf.net/local-ai · data: https://github.com/faf-net/ugreen-idx6011-egpu-llm


r/LocalLLM • • 20h ago

Other Qwen 4 release be like

Post image
414 Upvotes

Humour btw


r/LocalLLM • • 16h ago

Model Qwen4 35b (Q8_K_XL) vs Qwen3.8 Flash Next (IQ3_S) vs Deepseek 4.1 Flash - Quality Test

158 Upvotes

Outperforms dense Qwen3.8-27B, and matches Qwen3.8-Flash-Next at ~1/3 the size.

This was one of the headlines Qwen itself made about the new model so I wanted to test it out for myself if it really "matches Qwen3.8-Flash-Next" in my work.

My setup: Dual 3090, 5950x Cpu, 92gb DDR4-3200 ram.

Engine: Strata with latest PRs for Qwen4-35b & main Strata for Qwen3.8 FN

Strata PRs merged to get it to work with Qwen4:

#7774: Qwen4 engine support 
#7786: compact MTP packing
#7790: selected fixes for reasoning-effort handling

----

Models:

Qwen4 35B-A3B - UD-Q8_K_XL [Unsloth] - (MTP On)

Qwen3.8 Flash Next - IQ3_S [Strata version] (MTP Off)

Deepseek 4.1 Flash - Opencode API

-----

Speeds:

Qwen4 35b -> Around ~5k prefill and 120-150tps at 500k context window.

Qwen3.8 Flash Next -> Around ~3k prefill and 100-120tps at 250k context window.

So as expected faster for my hardware and get double context window, but quality and accuracy is much more important in my work so moving on..

-----

Quality Test:

The real stuff that I wanted to see was how much better is the model at being able to analyze a very large and complex codebase/pipeline that has a lot of moving pieces and has some flaws that need to be addressed. I basically have an agentic coding pipeline thats designed for the development work I have to do where I work and it touches everything from lots of AWS services, python, terraform, orchestration etc.

So I gave each model the same simple prompt of analyzing my agentic development pipeline, summarize its understanding of it and make recommendations for the flaws/issues that it finds.

I had Opus 5.5 (high) be the judge, and here are the raw results it tabulated:

I had it analyze not only the final report of each but also had it go through the chain of thought transcripts of all three models and it was very definitive:

Opus conclusion: My ranking: deepseek, then qwen3.8-flash, then qwen4-35b. Deepseek is the most accurate and the most efficient, and its recommendations are the most usable. qwen3.8-flash found the single most important fact that the other two missed. qwen4-35b is confidently wrong on its headline.

Deepseek was the most accurate of the three in its understanding and recommendations it made, so was the best of the three but Qwen3.8 Flash Next had found the core issue that was the most important thing to be fixed that Deepseek even missed.

The most important thing for me was that Deepseek and Qwen3.8 Flash were accurate and found most of the problems correct and the recommendations they gave were valid, whereas Qwen4 35b confidently was wrong on several things and did not give strong solutions so it is weaker on understanding of codebases and being able to ground itself in the answers it confidently gives.

I'm running some coding benchmarks next to see coding abilities next between the three to see if that's where Qwen4 35b starts to shine even though it may be weaker in its analysis and comprehension.


r/LocalLLM • • 4h ago

Other Obligatory Pelican on Qwen 4 35b UD IQ4 XS

Post image
19 Upvotes

the prompt was: make a large, highly detailed, animated .svg of a pelican riding a bike on a boardwalk, with a beautiful sunset over the ocean in the background. assess the quality and refine until it is correct.

running on the strata desktop app in W11 with a 9070xt. total time 10m 55s, average of 116.3 decode and 2829 prefill with 89.8K context used. the new engine is still pretty buggy on AMD, but when the model does load it works great. I couldn't figure out how post an .svg so I got Gemini to turn it into a .gif

This is going to be a powerhouse for anyone who struggles to run flash next.

AI SLOP WARNING- courtesy of antigrav, which optimized and "fixed" all the stuff that broke when changing config file...

Optimized settings

  • Args: --prefill auto:16384 --spec 3 --spec-min-p 0.50 --pcie-frac 0.40 --kv int8 --kv-resident 20480 --vram-reserve-mib 1024 --conversation-cache-mib 22528 --prompt-cache-spread (keep PLE in RAM if you have 64GB+)
  • Env (speed): STRATA_HIP_WMMA=1, STRATA_PF_FUSED=1, STRATA_PREFILL_RING=384, STRATA_PREFILL_COPY_EVENT_EVERY=16, STRATA_HIPBLASLT_TABLE=on, STRATA_HC_Q8=1, STRATA_ROUTE_TAIL_SKIP=0, STRATA_ROUTE_PRIOR=0
  • Env (stability): STRATA_VERIFY_COHERENT=1, STRATA_HIP_MAPPED_COHERENT=1, HIP_HOST_COHERENT=1
  • Windows: Raised TdrDelay and TdrDdiDelay to 10 seconds (default 2s is too short for 16K prefill chunks).

Strata Bugs Hit & Fixes

  1. Won't load UD-IQ4_XS (false missing file): Strata shares UD-Q4_K_XL-00002-of-00002.gguf as the --ple-gguf table across quants, and the shard checker in tools/strata_mcp.py falsely demands UD-Q4_K_XL-00001-of-00002.gguf. Fix: Patched shard_gaps() in strata_mcp.py to skip --ple-gguf.
  2. Driver timeouts on 16K prefill chunks: Windows' default 2s GPU timeout killed large prefill chunks. Fix: Set TdrDelay=10 / TdrDdiDelay=10 in the registry + rebooted.
  3. Decode dip at 64K context (~68 tok/s): --vram-reserve-mib 512 was too tight on Windows WDDM. Fix: Bumped to --vram-reserve-mib 1024 and lowered --kv-resident to 20480 (still ~97–98% expert cache hit rate).
  4. Intermittent hang on model load (Windows HIP 0.1.74**):** ~10–30% of cold starts deadlock right after 1-token HIP graph capture. Fix: Coherent HIP env flags got it to 9/10; added a 4-second stall watchdog + auto-retry in serve/server.py to get 10/10 clean loads without triggering a driver timeout.

r/LocalLLM • • 5h ago

Discussion Stop t/s, start time-to-correct-answers

20 Upvotes

Guys,

-- t/s is useless if a model overthinks and rethinks.

-- t/s is useless if a model is giving you poor answers

Example 1: a model of lower t/s can finish the task in shorter time.

Example 2: a Ferrari driven by a drunkard vs a Beetle 1969 driven by a no-fault driver.

So to have a correct judgement of how good a model is: First: we need to agree on a benchmarking set. Second: we need to report only (1) how long does a model finish the benchmarking, and (2) how good is the benchmarking score.

This guy is on a right track: first agree on the benchmark : https://www.reddit.com/r/LocalLLM/s/tiu7PNcEwc


r/LocalLLM • • 22h ago

News Artificial Analysis Ranks Qwen4-35B-A3B Between Much Larger Models

Post image
373 Upvotes

r/LocalLLM • • 4h ago

Discussion Qwen 4 35B for creative writing

15 Upvotes

How good is it?


r/LocalLLM • • 8h ago

Discussion Qwen4-35B-A3B (NVFP4) — 139.9 tok/s avg decode on RTX 5060 Ti 16GB + 64GB DDR5 (Basalt v0.6.3)

29 Upvotes
MetricMeasured
Decode (avg / peak)139.9 tok/s / 146.0 tok/s
Prefill (avg / peak)1,360 tok/s / 3,057 tok/s
VRAM / RAM Weight Split13.8 GiB VRAM / 5.9 GiB RAM (98.2% VRAM expert share)
Expert Cache Hit Rate99.7% (1.5% routed over PCle, 0% SSD)

Windows Binary: Prebuilt v0.6.3 Windows x64 binary is on my fork if anyone wants to skip compiling from source: https://github.com/U4mess/basalt/releases/tag/v0.6.3 (expand Assets and grab basalt-v0.6.3-windows-x64.zip, plus drop your CUDA 13 runtime DLLs into bin\).


r/LocalLLM • • 15h ago

News New official Huawei quant for new Qwen4-35B-A3B for llama.cpp (4,3,2.75bit)

Post image
86 Upvotes

Qwen4 Official quants from Huawei following the announcement on their repo days ago https://github.com/huawei-csl/macaq . This seems the first time Huawei competes with Unsloth. It does it with these 3 models: 35.18 GB, 24.98GB and 23.85GB.


r/LocalLLM • • 3h ago

Question Building your first agentic AI

9 Upvotes

When you start to build your first local agent, do you give the instructions to the agent itself, or should you use an subscription tier (Claude code, codex etc) AI access to make it for you?

I've been working for a few weeks having Claude write the instructions for the Qwen model I've been working with, and understably, it doesn't want to look under the hood due to the sensitive data underneath. However, it keeps a bit annoying having to go back and forth between terminal windows.

How did you all do it?


r/LocalLLM • • 21m ago

Discussion Qwen4-35B-A3B: Alibaba vs Self-hosted IQ3_S Output Quality

Thumbnail
gallery
5 Upvotes

Two scenes from the same prompt. The first was generated by qwen4-35b-a3b hosted by Qwen/Alibaba. The second was generated by Strata hosting UD IQ3_S with vision enabled on a 12-year old i5 system with an RTX 3060. Both were generated in Hermes Agent at xhigh thinking.

There isn't much difference that I can see beyond the typical variance in model output. The biggest noticeable difference was that the cloud model used 170k tokens, whereas the local model used only 75k.

One interesting thing I found is that when the landscape was generated in Strata's chat interface where no tools were available, the smoke from the chimneys was not visible. I saw the same problem occur during development of both scenes above. Under Hermes, the models had access to browser-vision and both caught and fixed this during their testing.

What do you think? What sort of results are you seeing from the model?

Prompt:

Create a voxel art landscape in ThreeJS of a snow-covered castle nestled in a winter valley, with an icy river winding from the mountains through the foreground. The castle's spires and walls are dusted with snow, and the middle ground features frozen trees and a small village with smoke rising from chimneys. The background shows towering, jagged mountains under a pale blue sky. The scene is lit by the soft light of a mid-morning sun, creating crisp shadows on the snow. Your budget is 200,000 voxels.


r/LocalLLM • • 4h ago

Discussion Running Qwen4 35B-A3B is very unoptimized right now

10 Upvotes

Everyone be talking about running, but they are running it at Q4, and... at that point, why not just run 27b Q4? To me the main point of MOE is to be able to run a bigger model.

Even Strata seems to focus on Q4 (and tbf, Strata itself has poorly optimized SSD streaming, but it at least does better than llama.cpp, look at Tokenwing for a better optimized SSD pipeline, which still could have improvement too).

And current implementations of Unsloth suck at properly splitting the model between your VRAM RAM, and SSD. The website says you need 41GB of overall memory to run, but I can't even run it at like 1t/s with more memory (24GB VRAM + 32GB RAM). Not to mention the app doesn't even recognize and give you the options if you import the model externally (unless you fool it into thinking it itself downloaded it).


r/LocalLLM • • 1d ago

Model Qwen4 is out now!

Post image
459 Upvotes

r/LocalLLM • • 1d ago

News Qwen4-35B-A3B just released!

Post image
405 Upvotes

It's happening! The becoming begins!


r/LocalLLM • • 10h ago

Question Qwen4-35B-A3B impossible to download at normal speeds

26 Upvotes

When using huggingface to download a model, my typical bandwidth is 8-14 MB/s. For the past 10 hours I am trying to install Qwen/Qwen4-35B-A3B-FP8 but the download rate drops to 20-200 KB/s once I downloaded 2GB. I tried creating the venv and access token from scratch, I tried a second device and the outcome is the same. However, I did not have this issue installing Ernie5.5-Flash-Preview (165GB) this night.

Is it something I am doing wrong or the HF servers are overloaded with people attempting to install the checkpoint?


r/LocalLLM • • 18h ago Heartwarming Bravo

Discussion Qwen4-35B-A3B (Unsloth UD-Q4_K_XL) on a 12 GB and a 24 GB card vs Flash-Next, Qwen3.8-27B and Inkling 2 Mini, same 54 tasks - THE CONSUMER PC CHAMPION ARRIVES!!

87 Upvotes

Ran the same 54 question set I put Flash-Next, 27B and Inkling through last month (on my own 5070 box, 265F + 64GB DDR5) on a rented 5070 12GB, and also checked speeds on a rented 4090 24GB (both on vast).

Qwen4 setup: unsloth UD-Q4_K_XL (24.7GB file + the 11.5GB engram file, which stays in RAM), llama.cpp b12973, 32k context, MTP on with 1 draft token, no mmproj since the questions are all text. Thinking on default (high), sampling from the model card. The rented 5070 box had a 265K with 62GB RAM, the 4090 box a 7900X with 61GB.

So it's basically tied with Flash-Next and ahead of 27B and Inkling. It went 12/12 on the agent tasks with no rejected tool calls and never looped or ran out of tokens (Inkling did on 6). It also thinks a lot less, around 195k tokens for the whole set vs 230-281k for the other three, so it finished in about half the time Flash-Next took.

12GB command I used:

llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf -c 32768 -np 1 --jinja --load-mode none --lazy-mode off -cmoe --moe-cache-mib 7168 --spec-type draft-mtp --spec-draft-n-max 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0

On the 4090 it does 149.6 t/s tg and 5233 t/s pp with this:

llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf -c 32768 -np 1 --jinja --load-mode none --lazy-mode off --moe-cache-mib 4096 -b 2048 -ub 2048 --spec-type draft-mtp --spec-draft-n-max 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0

MTP gave +17% there (127.6 -> 149.6 t/s) but nothing on the 5070 (89.8 without, 89.7 with). Stick to n-max 1, 2 and 3 were never faster (acceptance drops to 64% and 47%).

Poor GPU club: about 90 t/s on 12GB at Q4 beats what Flash-Next IQ3_S did on the same card (78.7), with about half the RAM (Flash-Next ate almost all of my 64GB). Stuff that mattered:

Skip the -ot per_layer_token_embd=CPU from the unsloth guide. Any -ot / -cmoe / --n-cpu-moe turns off --fit, and the 4090 OOM'd with it. The engram table stays off the GPU anyway.

Plain --fit only got about 40 t/s on the 5070. -cmoe + --moe-cache-mib + --load-mode none --lazy-mode off (loads the weights into RAM instead of mmap) got it to 90.

That uses about 32GB of RAM though. With 32GB total keep mmap, the same layout did about 70 t/s that way (haven't tried it on an actual 32GB machine).

pp is the weak spot on 12GB (1210 t/s). This keeps the same tg and gets pp to 2345, it's what I'd run day to day:

llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf -c 32768 -np 1 --jinja --load-mode none --lazy-mode off -cmoe --moe-cache-mib 6144 -b 2048 -ub 2048 --spec-type draft-mtp --spec-draft-n-max 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0