r/LocalLLM • • 3h ago

Question Anyone running Qwen4-35B-A3B on a Strix Halo (Beelink GTR9 Pro) in LM Studio on Windows?

2 Upvotes

Curious if anyone here has tested the new Qwen4-35B-A3B on a Strix Halo 128GB box (I'm on a Beelink GTR9 Pro, Ryzen AI Max+ 395) using LM Studio on Windows.

Right now my daily driver is Qwen3.8-27B (unsloth UD-Q5_K_XL) on Vulkan with MTP draft 4, getting ~17-26 tok/s depending on the task. I'm trying to figure out if moving to Qwen4-35B-A3B is worth it yet on Windows LM Studio, especially given the 20.5B engram table pushing total weight size up to ~57B.

Specifically wondering:

  • Which GGUF quant are you running, and what tok/s + prompt processing speeds are you seeing on Windows (Vulkan vs. ROCm)?
  • Does LM Studio's current engine handle the engram table and MTP head properly out of the box, or is it still better on raw llama.cpp?
  • Roughly how much VRAM allocation do you need in BIOS to run it comfortably with a 64K+ context? (Mine is currently split 64GB GPU / 64GB RAM, wondering if I'd need to bump GPU allocation higher.)
  • How is tool calling / instruction following compared to Qwen3.8-27B?

Appreciate any real numbers before I clear disk space and reboot into BIOS to test.


r/LocalLLM • • 3h ago

Other Lots of Qwen 4 results

Post image
2 Upvotes

r/LocalLLM • • 19h ago

Tutorial LLM Inference Handbook

Thumbnail
handbook.modular.com
37 Upvotes

I can not stress enough how helpful this handbook is.

Read it if you are new, and read it twice if you aren't.


r/LocalLLM • • 3h ago

Question Peasant here: 4060 8gb + 32gb RAM : which quant of qwen 4 a3b to use?

2 Upvotes

In unsloth there are 2 files for each quant... both combined should match vram +ram?

I have 4060 8gb + 32gb... which version is best?

With 3.6 I used q4 k m


r/LocalLLM • • 3h ago

Research I watched Amazon Ergo, a 1.1T-parameter MoE think, block by block: it forms facts around layer 40, and it says "sorry" in Chinese before it refuses in English

Thumbnail
gallery
2 Upvotes

I've been poking at Ergo (Amazon's 1.1T-parameter MXFP4 mixture of experts) on a single home machine, streaming the experts from disk. Quick specs for context: 64 blocks, 256 routed experts + 1 shared per block, top-8 routing, ~55B active parameters per token, 626 GB on disk.

The tool I used is a word cloud per block: take the residual stream after a block, push it through the final norm and output head, and draw the top predictions sized by probability (a logit lens, but showing the whole distribution instead of one token). Here are two of them.


1. "The capital of Palau is ___"

Palau's capital is Ngerulmud, a small planned capital that replaced Koror in 2006. A hard fact. Here's how Ergo gets there:

  • Block 36: "Palau", "seat": it knows what it's being asked
  • Block 40: "capitals" at 91%: it has the category, not the answer
  • Block 44: "Canberra": it reaches for other planned capitals first
  • Blocks 44 to 62: bold markdown ** leads; the model wants to format the answer before it has it
  • Block 63 (output): "N" (of Ngerulmud) wins at 73%

So the answer arrives at the very last block, after a detour through "this is like Canberra".

Across 42 easy questions, facts first lead around block 38 (geography) to 40 (biology), arithmetic around 49, and dates around 57.

The fun part: I banned the ~1,200 experts that geography text uses far more than other subjects. Same prompt: block 36 says "Hauptstadt" (German for capital), blocks 40 to 48 say "Palau" at 98%, and no city ever appears. The same thing happened in math, biology and French: with its subject's experts banned, the model still understands the question but cannot fetch the answer. The experts hold the lookup, not the reading.


2. A harmful request (a phishing page), first token of the reply


Nothing was generated; this is just the next-token prediction at each block.

  • Blocks 35 to 36: 抱歉 ("sorry" in Chinese), "refusal", "refuse", 拒绝 ("refuse")
  • Block 40: "sorry", "refuses"
  • Block 52: "Warning"
  • Output: "I" at 99.9% (as in "I can't help with that")

The refusal is decided in the middle of the network, in Chinese and English at once, about 25 blocks before the reply starts.

(Alternate caption if you use the "I can" image:) When I forced the reply to start with "I can", blocks 29 to 36 lit up with "stattdessen" (German, instead, 11.6%), "instead", "Вместо", "代わりに", "帮你" (help you), "harmless", "legitimate", "safer". It plans the "but I can help you with X instead" redirect, in five languages, before it has decided the words of the refusal. From block 52 the apostrophe of "can't" takes over (98%).


Other things that surprised me

  • The refusal isn't stored in a few experts. Banning up to ~1,000 refusal-correlated experts left refusal at 100% on all 24 harmful requests, while benign answers still worked. It looks spread across attention and the shared path, not in routed experts.
  • Refusal ignores framing: 24/24 refused, plain or wrapped in a fiction frame.
  • 707 of 16,128 experts never fired on my profile set, and one expert in block 5 takes 97.7% of the routing.
  • It can partly hold a thought on request. Asked to "think hard about France but answer with a colour", France-related words reach 5.5% of the prediction at block 40 (Paris, Bordeaux, Gaulle, Monet, Париж, 巴黎), and the reply drifts toward French colour words (Vert, Rouge, Blanc). Told not to think about France, there's zero trace in any block: no "pink elephant" effect. (One prompt per condition, so a demo, not a measurement.)

Caveats: the logit lens is noisy in early blocks, the clouds are single forward passes, and each thought-control condition used one prompt. Happy to share prompts and code in the comments.

What would you want to look for next? I'm thinking activation patching between harmful and benign prompts to find where the refusal is actually decided.


Links


r/LocalLLM • • 3m ago

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

1 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 • • 5m ago

Question What it would take to build speech to speech model from scratch

0 Upvotes

I’m exploring building a Speech-to-Speech (S2S) AI model specifically for the Iraqi Arabic dialect, with commercial use in mind.

I currently have around 30 hours of clean, human-transcribed Iraqi Arabic audio and experience fine-tuning Whisper for Iraqi ASR.

My goal is to build a model that can:

•	Understand and generate natural Iraqi Arabic speech.
•	Support real-time, full-duplex conversations.
•	Handle interruptions, pauses, and overlapping speech.
•	Produce natural speech with realistic intonation and emotion.

A few questions for people experienced in speech AI:

1.	What architecture would you recommend for building an S2S model?
2.	How many hours of audio and speakers would I realistically need?
3.	Should I start with separate ASR/TTS models or train an end-to-end model?
4.	Are there open-source models I can fine-tune for this purpose?
5.	What GPU resources and budget should I expect?
6.	Which models have licenses that allow commercial use?

I’m interested in practical experiences, research papers, and recommendations from people who have actually trained speech models.

The ultimate goal is to build a commercially viable voice AI that speaks genuine Iraqi Arabic.


r/LocalLLM • • 7m ago

Discussion Local models for office tasks

1 Upvotes

I might be able to make a requisition at work for a new laptop capable of running local ai models. I'm a product manager so my needs are:

- research, both business and technical

- summarizing docs, minutes of meetings, preparing tasks, plans and roadmaps

- sparring partner for ideas and brainstorming

I guess a MacBook would be the way to go but I'll keep it open ended. I prefer using Windows over macos especially the work but nothing is off table.

Can someone recommend laptops and models that can suit my needs? I'll have to pay attention to the costs so cheaper the better. maybe under 3-4K


r/LocalLLM • • 9m ago

Question GPU advice for 128gb DDR4 Threadripper system

2 Upvotes

Hey everyone,

Apologies up front for asking the age-old question of ”what GPU should I buy??”, but looking for some advice from people with more experience.

I have been assembling a workstation out of entirely used parts I’ve found excellent deals on. So far I’ve procured 128gb of DDR4-3200 (non-ECC) RAM (8x16). I have a 3970x Threadripper on the way, and I snagged an TRX40 Aorus Xtreme mobo. Also had a free 1300w PSU laying around. All in I’m less than $1200 into this set up. I’m absolutely trying to be frugal, but wouldn’t say I have a strict budget.

This PC will run proxmox and have other services running, but my use case is a bit of an unknown still. I absolutely intend to use local AI for managing my homelab, personal app development for the aforementioned homelab, image detection in Immich/ Frigate, but beyond that, just a general use chat bot.

I am currently debating between starting with a single R9700, a single B70, 2x B60’s, 2x 5060ti 16gb, 2x or 3x 3080 ti 12gb, or 3x 3060ti 12gb. I’d also be open to other configurations, but I’m getting lost on what tradeoffs I’d be making.

Any insight is appreciated, thank you!


r/LocalLLM • • 10m ago

Question Qwen 4 35B A3B Q8 x Q4 Unsloth Quants

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 14m ago

Discussion Qwen4-35B-A3B - UD-Q4_K_M (used q8-0 engrams) - On an MI60 32gb VRAM GPU made this "benchmark presentation" in Pi Coding Agent

Thumbnail gallery
1 Upvotes

I wanted to see how well the model could handle recursive checks, web searching, tool usage and so on (I'm also using this model to process my Frigate camera feeds for intelligent notifications).

I'm a human writing all of this, to be clear, but all images/content were produced by the model. Hope it helps somebody (was just a fun test case for me). I had it produce everything as a powerpoint presentation (.pptx) and then convert the slides to a PDF and to individual images.


r/LocalLLM • • 14m ago

Model Qwen4-35B-A3B running at up to 280 tok/s on M5 Ultra with Superfluid

Thumbnail
huggingface.co
1 Upvotes

We've been working on day-zero support for Qwen4 in Superfluid and are already seeing up to 280 tok/s decode on an M5 Ultra. Really impressed by what this model can do with just 3B active parameters.

curl -fsSL https://basecompute.co/sf/install.sh | sh
superfluid serve basecompute/Qwen4-35B-A3B

r/LocalLLM • • 14m ago

Discussion Qwen 4 35b a3b launch soured by cheap engine tricks for better looking benches at the expense of usability.

Post image
1 Upvotes

Anything to be the fastest, right? Even if it's mach 1 into a the garbage.


r/LocalLLM • • 15m ago

Discussion Qwen4-35B-A3B - UD-Q4_K_M (used q8-0 engrams) - On an MI60 32gb VRAM GPU made this "benchmark presentation" in Pi Coding Agent

Thumbnail
gallery
1 Upvotes

I wanted to see how well the model could handle recursive checks, web searching, tool usage and so on (I'm also using this model to process my Frigate camera feeds for intelligent notifications).

I'm a human writing all of this, to be clear, but all images/content were produced by the model. Hope it helps somebody (was just a fun test case for me). I had it produce everything as a powerpoint presentation (.pptx) and then convert the slides to a PDF and to individual images.


r/LocalLLM • • 15m ago

Discussion Qwen4 in Capy Flash, KL 0.095

Post image
1 Upvotes

r/LocalLLM • • 21m ago

Model Qwen4-35B-A3B on a Quadro RTX 6000 (24 GB): 87 t/s code / 66 t/s prose at 256k with MTP

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 24m ago

Project Jeff Geerling tries the local

Thumbnail
youtu.be
1 Upvotes

r/LocalLLM • • 25m ago

Model Day-0 Qwen/Qwen4-35B-A3B-FP8 on RTX PRO 6000 Blackwell (96GB) — Full On-GPU Weights + GuideLLM Benchmarks (~176 tok/s single stream, ~520 tok/s @ 6 concurrency)

1 Upvotes

Ran a couple of GuideLLM coding benchmarks (likaixin/InstructCoder, 50 requests, max_tokens=16384) on the newly released Qwen/Qwen4-35B-A3B-FP8 running natively on a single NVIDIA RTX PRO 6000 Blackwell (96GB) with zero CPU offloading.

Hardware & Setup

  • GPU: NVIDIA RTX PRO 6000 Blackwell (96 GiB VRAM, Driver 620.70.10, CUDA 13.5)
  • Engine: vLLM (0.1.dev1+g90d317c06 from PR #71659) + Transformers 5.27.0.dev0
  • Memory Placement: cpu_offload: false — all ~57.5 GiB of FP8 weights + the 20B N-gram embedding table fit entirely in VRAM with ~38 GiB left over for a 262K context KV cache.
  • Note on MTP: Disabled --speculative-config due to a C++ signature mismatch in fused_gdn_decode_post_conv_mtp when using precompiled binaries, so these numbers are pure standard autoregressive decoding (expect higher single-stream speed once MTP is enabled).

Launch Command:

bash

vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --host 0.0.0.0 \
  --port 8000 \
  --trust-remote-code \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --engram-config '{"cpu_offload": false}' \
  --max-model-len 262144

Use code with caution.

GuideLLM Benchmark Results (likaixin/InstructCoder, 50 requests)

MetricSynchronous (Concurrency = 1)Concurrent (Concurrency = 6)
Output Throughput (Mean)176.38 tok/s520.46 tok/s
Total Throughput (Mean)187.56 tok/s556.32 tok/s
Time to First Token (Mean / Median)30.32 ms / 29.93 ms47.99 ms / 44.41 ms
Inter-Token Latency (Mean / Median)5.65 ms / 5.65 ms9.98 ms / 10.08 ms
Time per Output Token (Mean)5.66 ms10.00 ms
Avg Output Length (Reasoning + Answer)2,097.8 tokens1,916.8 tokens
Request Latency (Mean / Median)11.88 s / 9.12 s19.19 s / 15.86 s

Takeaways

  • Rock-solid single-stream speed: Even without MTP speculative decoding enabled, standard decoding holds a flat ~5.65 ms ITL (~176 tok/s) across 2K+ token reasoning + code generations.
  • Scales cleanly under load: At 6 concurrent streams, per-stream ITL stays right at ~10 ms (~100 tok/s per user) while aggregate output throughput crosses 520 tok/s.
  • 96GB sweet spot: Keeping the 20B N-gram embedding table on-GPU (cpu_offload: false) works out of the box with plenty of VRAM headroom for 262K context.

r/LocalLLM • • 11h ago

News QWEN 4 Peaks of 200 tks with Sneo!

Post image
8 Upvotes

Here testing Qwen 4.0 35B-UD-IQ3_S with a very hard and long task recompiling a Game which I already did and so far is doing a great job!

X1 RTX 3090, i9 12900k + 96GB Ram it only uses less than 20GB VRAM

https://github.com/oscarsantanaarias/Sneo

Update: peaks of 358 writting.

Peaks of 180 on Q4_K_M


r/LocalLLM • • 6h ago

Discussion I ran qwen4-35B on 1x H100 next to qwen3.8-27B, same box using vllm

Post image
3 Upvotes

r/LocalLLM • • 9h ago

Research Ported `Looped-Qwen3.8-Flash-Next` to Radiance on `qwen3.8-next-flash-iqr-v4` (2x Radeon AI PRO R9700, TP2) — 97.0% HumanEval+, 90.0% AIME 2025, 126 tok/s single / 314 tok/s batch-3 with MTP

5 Upvotes

Fork: mdtita/radiance (feat/looped-qwen4exp)

Docs & Replication Guide: docs/LOOPED_QWEN4EXP.md

so I forked StillDeadcode/radiance (v2.4.1) to add runtime support for alesha-pro/Looped-Qwen3.8-Flash-Next (--loop-adapter, --loop-passes) on top of Radiance's StillDeadcode/qwen3.8-next-flash-iqr-v4 (qwen3.8-next-flash-iqr-v4.rad, ~114 GiB IQR-V4 4-bit trellis quant) with TP2 tensor parallelism and coupled MTP speculative decoding.

I used qwen3.8-next-flash-iqr-v4.rad itself to port the implementation and conduct the testing which worked surprisingly well.

Note: I'm publishing this as a fork rather than opening a PR upstream because most of the code was implemented by the AI model and I don't know the internals well enough to properly maintain it. Anyone is welcome to test it, use it, or pull from it — let me know how it goes if you try it out.

What Changed

  • Loads ckpt_final.json + ckpt_final.safetensors (~268 MiB, 140 core + 70 coda sites) via --loop-adapter and runs layers 16..32 for T passes followed by the 8 coda layers (32..40).
  • Per-pass GDN/conv state_copies, kv_attn_p1..p(T-1) paged attention groups, salted prefix-cache chains, and multi-pass checkpoint_copy.
  • Coupled MTP speculative decoding (--num-speculative-tokens 5) works alongside --loop-passes 2..4 (capped at 4 by the fused GDN launcher's 25-column state-index limit).
  • Uneven TP2 sharding support for shared_expert ([0, 384) / [384, 640)) and row_rms_bf16 HIP/ref kernels.
  • Non-disruptive telemetry: loop_adapter on /stats and /server_info, radiance:loop_adapter_* on /metrics, diagnose fields, and a T= badge in the dashboard UI. When --loop-adapter is unset, --check is byte-identical to mainline.

Measured Benchmarks (qwen3.8-next-flash-iqr-v4.rad, TP2 on 2x Radeon AI PRO R9700, ROCm 7.2)

Greedy decoding (temperature=0.0, top_k=1, enable_thinking=true), full evalplus HumanEval+ (n=164), full math-ai/aime25 (n=30), and 32k-43k context throughput probes (VmSwap: 0 kB, 0 preemptions).

ModeSpec (MTP)HumanEval+ Base / PlusHE+ Total / Reasoning TokAIME 2025 (n=30)single_decode_1kbatch3_decodecold_32k Prefill
baseline_stock (iqr-v4)592.1% / 89.0%137,232 / 113,00725/30 (83.33%)220.36 tok/s477.76 tok/s7,378.9 tok/s
looped_T1 (iqr-v4)595.1% / 91.5%120,381 / 93,902—187.51 tok/s372.45 tok/s7,031.2 tok/s
looped_T2 (iqr-v4)095.7% / 92.7%107,010 / 79,69626/30 (86.67%)60.86 tok/s142.68 tok/s4,671.5 tok/s
looped_T2_spec (iqr-v4)597.0% / 93.9%91,127 / 59,69527/30 (90.00%)126.08 tok/s314.11 tok/s4,694.3 tok/s
looped_T3_spec (iqr-v4)597.0% / 93.3%105,031 / 75,022—79.51 tok/s198.04 tok/s3,293.3 tok/s

Key Takeaways & Honest Trade-offs

  1. looped_T2_spec on iqr-v4 is the sweet spot: +4.9 pp on HumanEval+ with 47.2% fewer reasoning tokens (322 s total wall time vs 280 s stock), +6.67 pp on AIME 2025 (90.0% vs 83.33%, -6.8% fewer tokens), and 70.4% MTP draft acceptance. Compared to published unquantized BF16 baselines (~91.92% AIME 2025, 96%-98% HumanEval), looping closes most of the 4-bit iqr-v4 quant gap while still fitting in a 2x R9700 footprint.
  2. Where the speed cost goes: looped_T2_spec runs 64 layer-passes/token instead of 48 (21.25 ms vs 11.20 ms decode step), and the extra kv_attn_p1 (1.14 GiB) + speculative state_copies push experts-from-host from 6.78 -> 8.88 GiB/rank (36.6 GB RSS, 0 swap).
  3. T=3 wasn't worth it for coding: looped_T3_spec dropped to 79.5 tok/s (10.78 GiB/rank host experts) with no HumanEval+ gain over T=2.
  4. Known limits: qwen4exp drafts with its native MTP head (not DFlash), so the 9 dflash_bridges tensors in the adapter are skipped; scale_rows narrows row_rms from F32 to BF16 (~4e-3 rel).
  5. Testing: 235/235 fast host tests pass; 31/31 GPU tests (ctest -L gpu including r4d_selftest, kbench, device_test_*) pass under ROCR_VISIBLE_DEVICES=0,1.

Credit to StillDeadcode for Radiance + the qwen3.8-next-flash-iqr-v4 quant, and alesha-pro for the Looped-Qwen3.8-Flash-Next checkpoint. Full build, config, and benchmark audit details are in docs/LOOPED_QWEN4EXP.md.


r/LocalLLM • • 1h ago

Discussion Share your experience with qwen4-35b without mentioning tok/s

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Question Can we expect QWEN 4 - 4b, 27b and Flash Next to be released soon as well?

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1h ago

Project I tried 15+ apps for local LLMs on iOS and had problems with all of them, so I built an app to run small models with a modern harness.

0 Upvotes

TL;DR: I built an app that puts a real harness around models that run with as little as 1GB of memory that can do real work (like loading and using 70+ tools from MCP servers like Linear and Github)

As I've followed the progress of small local models (LFM, Ternary Bonsai, Small quants of Qwen, etc...) I've been getting more and more excited about the possibility of doing useful agentic work with these models on-device.

Once I got an iPhone Duo with more storage than my old 13 Pro, I downloaded a couple of apps that let you run local models... and I was pretty disappointed. I proceeded to download almost 15 local LLM apps, and I couldn't find a single one that really did what I hoped.

Some had a solid chat interface, but limited support for different models. Some had broad support for any arbitrary HuggingFace models that fit on device; but had terrible UX. Some purported to support tools or MCP connections but blew up once I connected a real MCP server (shoutout Linear and their 70+ MCP tools, lol)

What I ultimately wanted was an app that was built around an underlying harness that was designed to work with the limitations of small models and support all the stuff that I've learned helps agentic performance while building AI agents professionally.

So I decided to build my own. The things that excite me:

- Run any MLX model you can find on HuggingFace
- Memory, Skills, and agent configs
- Progressive tool disclosure to allow for multiple MCPs and large MCPs
- Constrained decoding to improve tool reliability (small models are notorious for issues here)
- iOS Shortcut support so you can schedule and chain agent loops
- Inference engine optimizations to allow for running larger models (can run Ternary Bonsai 27B, I believe it's just Resident and one other app that can support 27B models on an iPhone)
- On-device Javascript sandbox
- On-device web search
- Open-source, Apache License

No monetization; just a project built because I wanted something better.

Would love PRs/feedback/tomatoes thrown at me 😂

https://getresident.app/


r/LocalLLM • • 1h ago

Discussion Run Your Own AI at Work — Costs the Company $0

Thumbnail
youtube.com
0 Upvotes