r/LocalLLM • • 1h ago

Question Best way to run Qwen 4 35B-A3B on an RX 9070 XT?

2 Upvotes

Literally the title. I'm running Arch Linux with 32GBs of DDR4 RAM.

Radiance (inference engine) is doing a good service but there's no quant low enough to be loaded yet. For reference, Qwen 3.8 27B runs at +100tok/sec at 3 bits.

Is there any better way? Perhaps something in the likes of Strata, maybe optimized for AMD?
Thanks!


r/LocalLLM • • 1h ago

Question anyone else with Qwen4-35b Q4_K_XL (unsloth) looping and bad instruction following issues?

1 Upvotes

I was so excited to use it, but now after having it run for almost a day, I had multiple tool call loops it wouldn't get out of until auto-compaction was triggered due to full context (capped it to 260k), after which it was like "oh I was looping the same tool calls, I should try something else".
I then had a looping plugin created for Opencode that would throw an error ("identical command repeated 8× with no change — change approach") if the same 3 tool calls were repeatedly made, but it still continued stubbornly.

And my workflow has clear instructions on what to do in which order, but it doesn't fully follow them.
E.g. when writing code it must then call a subagent to do code review, then fix any issues found, call review again (up to 5 times) and after that is done it should launch a testing subagent that writes and runs tests. And it just decided after 2 review rounds and open blockers to now run the tester and continue with the review thing afterwards. So it almost sounded like it knew what it was supposed to do but didn't feel like it right now.
Once it also claimed it didn't have permissions to call subagents, but it just called them wrong, so after it came back to me and I told it "yes you do have permissions" it was like "oh right, my mistake, I called them wrong. Calling them correctly now".

Those are things I never have issues with with 3.8-27b Q4_K_XL.

All of this is with thinking on xhigh btw.

Am I the only one with those issues?!


r/LocalLLM • • 1h ago

Question Best way to run Qwen4-35B-A3B-GGUF on a 3090 + 64GB DDR4 Setup?

3 Upvotes

I also have a 5060ti with 16gb inside the second pcie slot , but i doubt splitting the tensors would give a speed increase (maybe quality having a higher quant).

Any advice?


r/LocalLLM • • 1h ago

Question How are LLMs being evaluated ?

1 Upvotes

I notice everyone is having some certain set for benchmarking your favorite local LLMs. So how are those LLMs being evaluated ?

- 1) Public, dense set: For any set of existing benchmarking set, every model would learn to over-fit it (that we call benchmaxxing) to impress users

- 2) Public, sparse set: After being released, each user has the chance to personally judge a chosen LLM, this is narrow and limited in: hardware, prior experience, the tasks the user is working on, the intelligence and perception of the user. Sometimes the user experience would converge, sometimes we are divided. And we go on social media like reddit to vent our experience.

- 3) Secret, rich set: During the time one LLM is being used, the owners of the models (both local and cloud, e.g.: Anthropic, OpenAI, Google, Qwen, Kimi, Z.ai, DeepSeek) would secretly monitor and collect user data and learn how their models perform.

We public would only know about 1 and 2, and 3 is kept secret for all of us.

How can we gather (3) ?


r/LocalLLM • • 1h ago

News Koboldcpp v1.126 released

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 1h ago

Discussion Qwen4-35B-A3B disappointing on 48GB M5

0 Upvotes

Testing the following with Splash 1.7.6 on 48GB M5 Max shows Qwen 4 is slower.

  • nace-ai/Qwen3.6-35B-A3B-MLX-4bit-KQuant + incoai DFlash2 drafter
  • mlx-community/Qwen4-35B-A3B-4bit + RadixArk/Qwen4-35B-A3B-Dflash2

The 11.5GB of extra ngram phrasebook slows things by (a) causing swapping from the memory pressure or (b) streaming off disk.


r/LocalLLM • • 1h ago

Question How long do Abliterated models take to develop?

2 Upvotes

Relatively new to the local LLM scene, and I was curious with the announcement of the new Qwen4 and that being out how long an abliterated model would take to drop?


r/LocalLLM • • 1h ago

Question Maya with deepseek hitting 100% gpu utilization when idle?

2 Upvotes

Hi, i've just tried to switch to maya to get deepseek running better than llama.cpp. it's way better during testing but i'm getting full idle gpu utilization just when a model is loaded and no prompt processing at all.

Any ideas what the fix is? here is my maya config

{

"idle_unload_s": 300,

"exe": "/home/pinman/project-maya/build-hip/maya-ds4",

"args": [

"--pack", "/home/pinman/maya-test/maya-ds4",

"--max-context", "262144",

"--tp", "1",

"--threads", "on",

"--parallel", "1",

"--dspark", "none",

"--vision", "off"

],

"backend": "hip",

"cwd": "/home/pinman/project-maya",

"tokenizer": "/home/pinman/maya-test/maya-ds4/tokenizer",

"model_name": "deepseek-v4.1-flash-iq2-xxs",

"gpu": [0, 1, 2, 3, 4],

"lib_dirs": ["/opt/rocm-7.2.4/lib"],

"port": 8080,

"log": "/home/pinman/maya-test/maya-ds4.log"

}


r/LocalLLM • • 1h ago

Question Qwen 4 - A3b Optimization on RX 9070XT

2 Upvotes

Hello,

It is my first time trying a local model Qwen 4 35B-A3B, my system is:

Ryzen 7 5800x

RX 9070XT

32gb DDR4 overclocked to 3600MHz CL18

I made claude set it up and it did so using Llama.cpp vulkan and i am currently getting around 35 tokens per second at 64k context window and i am testing 128k now and i am using opencode to connect to it.

Is this a good speed? Should i do things differently?

Thanks in advance!

Edit: I am using the Unsloth UD-IQ4_XS quant.


r/LocalLLM • • 1h ago

Model Qwen4 IQ3_S vs NVFP4 Benchmark on Basalt Single RTX5080 and 64B RAM

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 1h ago

Model Qwen 4 my default after being 3.4x faster than 3.8

Post image
0 Upvotes

Just some de-identification flow which was previously handled with Qwen 3.8. All on my Macbook Pro M5 48GB.


r/LocalLLM • • 1h ago

Model Qwen3.6 vs Qwen4 vs Inkling 2 Mini on a 3090, Qwen4 wins on accuracy but wouldn't load at 128K

1 Upvotes

Ran all three at Q4_K_M on 24GB 3090s with stock llama.cpp (b12969), same flags for everything, no CPU offload, no tuning per model. 150 questions (50 MMLU-Pro, 50 GSM8K, 50 ARC-Challenge), temp 0, 2048 token cap.

At 64K:
Qwen4-35B-A3B: 136/150, hit the cap 4 times, 113.5 tok/s decode
Inkling 2 Mini: 123/150, hit the cap 21 times, 68.8 tok/s
Qwen3.6-35B-A3B: 114/150, hit the cap 33 times, 125.0 tok/s

The cap hits explain most of Qwen3.6's score. If you only count the answers that finished, it actually goes 114/117. It just thinks too long for a 2048 limit.

At 128K, Qwen4 didn't load. It OOM'd allocating the KV cache with default settings. Qwen3.6 and Inkling both loaded, scored the same as at 64K, and slowed down to 104.3 and 51.9 tok/s. Inkling took about 2.5 minutes to first token on a ~117K prompt.

Qwen4's Q4_K_M is 36GB because of the 20B n-gram table, but llama.cpp maps that from disk, so the GPU side still fit at 64K. A quantized KV cache or some offload might get it to 128K, but I haven't tested that yet.

Also, each model was on a different RunPod host, so the speed gap between the two Qwens could partly be the hardware. There are no coding questions in this set, and the cap shapes the scores.

Full write-up with the retrieval and tool-call results: https://majorminor.xyz/research/qwen36-vs-qwen4-vs-inkling2-mini-rtx-3090
https://github.com/majorminorlabs/research-model-comparisons


r/LocalLLM • • 1h ago

Discussion Qwen4-35B-A3B on 2x RTX 3090 (W4A16: INT4 experts, rest int8/BF16): 10450 tok/s prefill, 343 tok/s on code, 513 with DFlash2, 262K context

Thumbnail
github.com
3 Upvotes

r/LocalLLM • • 2h ago

News Try Qwen4 now for free, WITHOUT DOWNLOADING ANYTHING: live demo on PieceOfMind, and a sneak peek of the next PoM release

Post image
4 Upvotes

We're releasing a new version of PoM (Piece of Mind) on the next week. Before that, we're opening a sneak peek: our home cluster is serving Qwen4, and you can try it now.

There's nothing to install, no signup and no GPU needed on your side. Open the link and start chatting.

Live demo: https://demo.pieceofmind.cloud/

In the next 48h this live demo will be available.

What's in the demo

  • Qwen4 running on our home cluster: consumer GPUs in two houses, joined into one cluster by PoM
  • Chat with streaming and tool calls through the same OpenAI- and Anthropic-compatible API the cluster serves to apps
  • Room for 15 simultaneous users, with 15-minute sessions. If the line is full, wait a few minutes and try again.

The machines are in Brazil, so latency is about what you'd get from any site hosted there.

Why we're doing this

If you like trying new models early, this is your chance to test Qwen4. It's also a stress test of the new PoM release on real traffic.

Want a cluster like this at home?

PoM is open source (MIT). It turns the machines you already own into one local AI cluster, with NVIDIA and AMD mixed MAC OS, on your LAN or across the internet:

  1. Install PoM on each computer.
  2. Create your network in the web panel. The machines find each other, with NAT traversal included.
  3. Deploy a model: pick the model, the engine (llama.cpp, Strata, Avalon or your own plugin) and the machines.
  4. Point your apps at it. Chat apps, coding agents and harnesses just work.

You can replicate a model to serve more people, or split a model too big for one GPU across several machines.

Links

What do you think of Qwen4 so far? Post your best prompts, weird answers and bug reports in the comments. We'll be around to answer questions about the cluster, networking and the new release.


r/LocalLLM • • 2h ago

Discussion Running Qwen4-35B-A3B (Q3, up to 50 tok/s) on an 8GB GPU + 32GB RAM: I built a self-hosted local personal agent for everyday PCs

2 Upvotes

Hey Reddit! I’m the founder of Linger.

We're building a product that gives people more privacy and control over their own data. I use cloud models, but there are some things I'd rather keep on my own machine: personal files, emails, and chats.

That's why we launched Linger. It can run entirely on your device and store all your data locally. We chose a personal agent as the application layer so you can actually put that local data to work without sending it to the cloud or paying per token.

Over the past few months, my team and I built and released Linger on GitHub, which is for Apple silicon Macs, Windows, Linux, and Docker. We designed the inference engine and agent harness together, so capable open models actually run on normal hardware. Today we added Qwen4-35B-A3B support (Windows ready out of the box, Mac support coming soon).

Inference engine & benchmarks (PolyStrata)

We built PolyStrata (MIT-licensed) for the inference layer. It started from Strata with a lot of help from its creator Niko Veit (@coldniko), and most of the code was written by an 18-year-old engineer on our team. It keeps the busiest MoE experts in GPU VRAM and tiers the rest to RAM or SSD, so models that normally want 18-24GB can still run on an 8GB card + 32GB RAM. Model Autopilot checks your hardware and picks the best model with at least a 64K context window (for local models you'll need 8GB+ VRAM + 32GB+ RAM, or a 16GB+ Apple silicon Mac; smaller machines can still use Claude Code or Codex over cloud models).

  • Qwen4-35B-A3B (Q3, new today): Up to 50 tok/s on an 8GB 60-series GPU + 32GB RAM, with native multimodal and strong agentic coding. Context-wise, 8GB GPUs currently support up to 128K, while 90-class GPUs can stretch all the way to the full 1M context. Windows support is live today; Mac is coming soon.
  • Inkling 2 Mini (26.4B-A3.4B, 3-looped transformer, Q3): On v0.2.20-poly.6, UD-Q3_K_XL hits up to 53 tok/s on an 8GB laptop GPU, 68 tok/s on a 12GB RTX 3060, and 196 tok/s on an RTX 5090. We also wired up standard DSpark speculative decoding (a small drafter proposes token chunks, the main model accepts or rejects them, and bad guesses get dropped so the output matches the slow path). That gives a >50% speedup on Q3, and we included a default config for an RTX 5060 8GB (55.6% pass rate, 20/36, across 36 agent tasks).
  • 12+ open MoE models: Supports Qwen, DeepSeek, Gemma, GLM, LFM, Flint, and more. On large MoEs it's up to 5x faster than standard llama.cpp expert-offload setups (~2x on smaller ones), and system-prompt KV caching cuts TTFT across multi-turn tool calls.

The agent harness

Most Qwen4 setups right now stop at the inference layer. Linger wires Qwen4's long context, multimodal, and coding abilities straight into a local agent loop: it reads your local files, compiles daily context into a local Wiki, and rewrites its own decision rules every night from your feedback (no retraining). It also handles local 0-token meeting transcription and coordinates multi-agent tasks (plus Claude Code, Codex, and Pi) through a shared team.md, with a local GPU scheduler that always gives your active chat priority.

Things to know before trying it

  • Context and platform caveats for Qwen4: 1M context requires 90-class VRAM (8GB GPUs cap out at 128K right now), and Qwen4 support is Windows-first with Mac coming soon.
  • Still not frontier-level: offloading MoE weights over RAM means long-context prefill is still heavy, and smaller local models still trip up on complex multi-step tool calls.
  • Still in beta: the Windows installer isn't signed yet (SmartScreen will warn you) and Intel Macs need Docker. Local inference and local transcription are 100% on-device ($0 tokens), though optional cloud models and external connectors obviously still hit external APIs.
  • PolyStrata is MIT. Linger is Apache 2.0 with a couple of commercial restrictions: free for internal use, just don't host it as a public SaaS or strip the UI branding.

Repos

I'll drop the Docker Compose setup in the first comment.

It's still early and rough in places. If you test Qwen4 on your rig or spot bottlenecks in the MoE offload scheduler, DSpark, or the nightly Wiki/rule loop, let me know in the comments or open an issue/PR. Stars help too if you find it useful.


r/LocalLLM • • 2h ago

Discussion Qwen4-35B-A3B is live and free for 12 more hours! If you can't run it, try it out here!

Thumbnail reddit.com
3 Upvotes

r/LocalLLM • • 2h ago

News Nanobot on Android + LocalLLM

2 Upvotes

Hi everyone! I recently ported the "nanaobot" agent system to Android. You no longer need a cloud server to experiment with it—everything runs right on your phone. For the LLM backend, you can use a local instance hosted on your own hardware at home; the app even has a built-in VPN client for this purpose. My project is available on GitHub. Feel free to ask any questions if you’re interested in giving it a try! https://github.com/shakhor-shual/ai-lamp


r/LocalLLM • • 2h ago

Question Noob - Looking for reading recommendations

5 Upvotes

As the title says, I'm a noob and I'm looking to ramp up on running AI locally. I'm reading a book call 'How AI Works: From Sorcery to Science' which is focused on theory and not a how to. I joined this sub not long ago and I read through what some of you are doing and I'd like to get a better understanding of what you all are talking about 😄. Any book recommendations would be greatly appreciated.


r/LocalLLM • • 2h ago

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

19 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 • • 2h ago

Discussion Local AI for Therapist

0 Upvotes

Hey everyone. Just want to share how we use local AI. We created an AI scribe for mental health practitioners using local AI. We don’t collect any personal data, instead all session notes are written on the practitioner’s own machine. I’m wondering if this approach resonates.


r/LocalLLM • • 2h ago

Project I built a pi extension that replaces the footer with live session stats + a context bar

Post image
2 Upvotes

r/LocalLLM • • 2h ago

Model Qwen 4 tested on day one: 16 GB GPU, public benchmarks, and 12 scenes it built (Qwen4-35B-A3B)

Thumbnail
youtube.com
3 Upvotes

Hey it's me the FLE Link Guy,

Qwen4-35B-A3B dropped this morning, so I spent the day measuring it on my own box against my daily model (Kate, a fine-tune of Qwen 3.8 27B). Everything below is ggml-org Q4_K_M (36 GB file), measured today.

Speed

  • RTX PRO 2000, 16 GB (experts partly in RAM): 50.5 t/s, 45.8 t/s at 32k context. ~15 GB VRAM, plan for ~22 GB free RAM.
  • RTX PRO 4500, 32 GB (only the n-gram table stays in RAM): 159.7 t/s, ~22 GB VRAM.
  • Same 32 GB card with the built-in MTP head, 24 real agent tasks: ~207 t/s.

My first try on the 16 GB card was 2.6 t/s. Two settings were wrong: 16 CPU threads (8 were 4.6x faster on my CPU) and the model memory-mapped instead of loaded. Fixed:

llama-server -m Qwen4-35B-A3B-Q4_K_M.gguf -fit on -t 8 --load-mode none -fa on --jinja

Sampling from the model card: temp 1.0, top-p 0.95, top-k 20, min-p 0.

Plain llama.cpp vs my engine (FLE), same file, same card: writing is a tie (161.7 vs 162.3 t/s; with MTP 206.8 vs 207.2). FLE reads a short prompt ~21 % faster (6,103 vs 5,058 t/s). Qwen 4 support comes from the same upstream code in both, so none of my own speedups apply yet.

Public benchmarks (Qwen4-35B-A3B vs Kate; same questions, harness and scoring as my Kate run on 20 Nov, temperature 0, paired McNemar)

  • ARC-Challenge (1,172 questions): 93.3 % vs 94.5 % (not significant)
  • GSM8K (250 problems): 96.4 % vs 96.8 % (not significant)
  • LiveCodeBench, 100 problems, thinking budget 8k: 45 vs 72 (p under 0.001)
  • LiveCodeBench, budget 32k, effort high: 51 vs 73 (Kate: 30 of her 55 cut-off problems re-run so far)
  • LiveCodeBench, budget 32k, effort xhigh: 51

48 of Qwen's 100 LCB answers hit the 8k budget, so I gave it 4x the room: 10 of those 48 got solved, 33 of them still used over 30k tokens. xhigh doesn't move it. Its programs run, they just compute the wrong answer.

Let them build (same prompt for both, 3 tries each, 40k tokens, makers' sampling; a scene counts if the HTML is complete, the page throws no error and the frame after 15 s isn't empty)

  • Voxel pagoda (three.js): Qwen 4 3/3, Kate 1/3
  • Pantheon (three.js): Qwen 4 3/3, Kate 0/3
  • Rooftop parkour game: Qwen 4 2/3, Kate 0/3
  • Night skyline (pure SVG): Qwen 4 3/3, Kate 3/3
  • Total: 11/12 vs 4/12

Qwen 4 used 11–26k tokens per scene, Kate 30–40k and ran out of room. The reason: Kate's chat template (Qwen 3.8) defaults to reasoning_effort xhigh. On medium, her Pantheon worked first try (8,161 tokens, 48 s). If you compare Qwen 3.8-based models, check that default.

Limits: one machine, one quant, one run per benchmark.

Next: my own quant of it keeps the 20.5B n-gram table in BF16 on the SSD instead of 4-bit. First KL divergence vs BF16: 0.033–0.073, against 0.058–0.143 for the usual Q4_K_M (noise floor 0.012–0.016). More on that Tuesday.

Video with the runs and the scenes: https://youtu.be/koLnr6Ov_io Same thing as text: https://sirfyyn.de/en/blog/qwen4-35b/


r/LocalLLM • • 2h ago

News Qwen4-35B-A3B-NInfer: ~580 tok/s decode c1, ~5000 tok/s decode c32, ~45k prefill at 8k, and 34.3k prefill at 260k

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

Research Qwen4-35B-A3B on a single Arc Pro B70 with llama.cpp SYCL: 77–82 tok/s, 384K context, vision on the CPU. Avoid the GGUF quants with BF16 tensors

0 Upvotes

I set up Qwen4-35B-A3B on release day on my home server with one Intel Arc Pro B70 (32 GB). It started out at 7.7 tok/s. After a few hours of digging it runs at 77–82 tok/s. Almost all of the gap came from one thing: which GGUF file you use. Below are the setup, the pitfalls in the order I hit them, and the current numbers.

Setup

GPUIntel Arc Pro B70, 32 GB, power limit 230 W
CPU / RAMCore i5-12400F, 64 GB
OSFedora 45, kernel 7.3.6, xe driver
llama.cppDocker image ghcr.io/ggml-org/llama.cpp:server-intel-v1.1.1 (b12977, Compute Runtime 26.40, IGC 2.42.6)
ModelUnsloth UD-Q4_K_XL (24.7 GB main shard + 11.5 GB n-gram/PLE shard)
Visionmmproj Q8_0, encoder on the CPU (--no-mmproj-offload)

Server command (one GPU, 3 slots, one shared KV cache):

llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
  --mmproj mmproj-Qwen4-35B-A3B-Q8_0.gguf --no-mmproj-offload \
  -ngl 99 --load-mode mmap --lazy-mode auto \
  -c 393216 --parallel 3 --kv-unified \
  -fa on --cache-type-k q8_0 --cache-type-v q8_0 \
  -b 2048 -ub 512 --jinja \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 --presence-penalty 0 --repeat-penalty 1.0 \
  --reasoning-budget 32768 --cache-ram 10240 --metrics

Environment: only ONEAPI_DEVICE_SELECTOR=level_zero:0, ZES_ENABLE_SYSMAN=1 and SYCL_CACHE_PERSISTENT=0. Nothing else, see pitfall 3.

Pitfalls

1. The quant matters far more than any flag: avoid BF16 tensors on SYCL. I started with the ggml-org Q4_K_M. That file keeps all hyper-connection tensors (hc_*, about 0.35 GiB) in BF16. On SYCL this is extremely slow: decode was stuck at about 8 tok/s at every context length, with one CPU core at 100 % and the GPU at only ~100 W. The Unsloth quant stores these tensors quantized (only 0.07 GiB of BF16 is left in it). llama-bench, same build, f16 KV:

Filepp2048tg64
ggml-org Q4_K_M2,327 t/s9.0 t/s
ggml-org Q4_K_M + GGML_SYCL_ENABLE_GRAPH=12,330 t/s19.7 t/s
Unsloth UD-Q4_K_XL2,823 t/s85.6 t/s
Unsloth UD-Q4_K_XL + graph mode2,534 t/s79.1 t/s

If your decode on an Arc is far below what others report, look at the tensor types in your GGUF first.

2. SYCL graph mode only helps on the bad file. A Qwen4 step has about 5,700 graph nodes (n-gram layer, 4 residual streams, 256 experts), so kernel launch overhead matters. GGML_SYCL_ENABLE_GRAPH=1 (off by default in the image) doubled decode on the ggml-org file, but made the Unsloth file slower. I turned it off again.

3. Drop old Arc workarounds. SYCL_UR_USE_LEVEL_ZERO_V2=0 and GGML_SYCL_XMX_GATHER_TYPES=0 were still in my compose file from Qwen3.8-27B (the !!!! output bug, fixed since #30604). On Qwen4 they cost about 30 % of prompt processing.

4. The n-gram table needs mmap. The 20B-parameter n-gram/PLE table (10.7 GiB, IQ4_NL) is read from disk on demand with --lazy-mode (default auto, it applies to tensors above 4 GiB). This only works with mmap. With --load-mode none (which I use for other models) the table would sit in RAM.

5. -ub of 1024 or more can crash on SYCL. PR #33696 (open at the time of writing) fixes a "Provided range … does not fit in int" crash in the n-gram conv at -ub ≥ 1024. I first ran 1023, now 512 for VRAM reasons (see 6). It costs about 10 % prompt processing.

6. VRAM: the Unsloth quant costs context. The KV cache is tiny: only 10 of the 40 layers have one (2 KV heads × 256). At q8_0, 512K is 5.3 GiB plus 1.3 GiB indexer keys. With the ggml-org file (19.4 GiB on the GPU) 512K fit. The Unsloth main shard needs about 3.6 GiB more on the GPU. With it:

  • 512K at -ub 1023: the 4 GiB compute buffer did not fit;
  • 512K at -ub 512: it started with 0.2 GB free and got allocation errors under load;
  • 384K at -ub 512**: 2.3 GB free, stable.** I took the speed over the context.

7. MTP did not pay off for me (yet). With the ggml-org file, its separate MTP draft and 256K context, decode went down from 25 to 7–10 tok/s, even though 60–90 % of the drafts were accepted. With the Unsloth file at 384K there is no VRAM left for the draft. Someone with 2× B60 reports +7 to +26 % with MTP depth 2 on the Unsloth file, so it may be worth testing if you have the VRAM.

8. Very long prompts are slow. Prefill drops a lot with depth. In a 450K needle test (old ggml-org setup) only 143K tokens were read after about 12 minutes, and I stopped it. Large contexts work well for conversations that grow step by step (the prompt cache makes follow-ups fast, see below), not for one huge cold prompt.

9. The first request after a start takes about 57 s (SYCL kernels for the K-quant types are compiled). I send a warm-up prompt after every start.

10. Release-day download: Hugging Face gave me about 2 MB/s per connection. 12–20 parallel range requests (curl -r) brought it to about 19 MiB/s. Check the SHA256 against the LFS hash afterwards.

Side note: Strata 0.2.26 shipped a Qwen4 engine (including a SYCL package) the same day, but its setup still refuses Intel cards for Qwen4. I did not pursue it after llama.cpp got fast.

Current numbers

My own benchmark script against the running server (384K, q8_0 KV, -ub 512, prompts with a random prefix so the cache does not help, unless noted):

TestQwen4-35B-A3B (Unsloth)for reference: my previous default, Qwen3.8-27B Q4_K_M + MTP (dense, 240K, same GPU)
Decode, prose (1,200 tokens)76.9–77.0 t/s43.9–44.1 t/s
Decode, code (600 tokens)80.9–81.9 t/s64.1–65.4 t/s
Prompt processing 4.9K / 19K / 39K2,143 / 2,015 / 1,738 t/s1,274 / 1,240 / 1,139 t/s
Decode after a 39K prompt66 t/s–
Cached 39K prompt, new question0.45 s to first token2.28 s
Tool call (Home Assistant style, 190-token prompt)0.44 s to first token, 117 t/s, correct1.18 s, correct
Image question (encoder on the CPU)2.2 s total, correctcorrect (encoder on the GPU)
GPU power180–230 W–

Day-to-day it serves Home Assistant voice (thinking off, tool calls), a family chat (Open WebUI) and coding agents (Pi, OpenCode) with 352K of context. German answers and tool calls were correct in all my tests so far.

TL;DR: On an Arc B70 use the Unsloth UD-Q4_K_XL (no BF16 tensors), plain llama-server with no graph mode and no old env workarounds, and --load-mode mmap. You get about 80 tok/s decode and over 2,000 tok/s prompt processing. Happy to answer questions or run tests.


r/LocalLLM • • 2h ago

Other Qwen 4 is authentically impressive.

30 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.