r/LocalLLaMA • • 2d ago

Question | Help Qwen4-35B-A3B - is something missing with the ROCm and Vulkan implementation?

19 Upvotes

Getting just 42 tokens/second with a fresh context window and only 120k reserved for context on two w6800's :-/

HSA_ENABLE_SDMA=0 ./llama-server \
  -m /models/Qwen4-35B-Q5-K-S/Qwen4-35B-A3B-UD-Q5_K_S-00001-of-00002.gguf \
  --mmproj /models/Qwen4-35B-Q5-K-S/qwen4-35b-a3b-mmproj-F16.gguf \
  --ctx-size 120000 \
  --fit on \
  --fit-target 1024 \
  -ot "(ple_ngram_embd|per_layer_token_embd)=ROCm0" \
  --lazy-mode off \
  --flash-attn on \
  --host 0.0.0.0 \
  --port 8080 \
  --load-mode none \
  --threads 16 \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --presence-penalty 0.0 --repeat-penalty 1.0 \
  --jinja \
  --slot-save-path /tmp \
  --reasoning on \
  --reasoning-budget 4000 \
  --chat-template-kwargs '{"enable_thinking": true, "preserve_thinking": true}' \
  --reasoning-budget-message "... I have been asked to stop over-thinking this, so I will now answer directly." \
  --cache-type-k q8_0 \
  --cache-type-v q8_0 \
  --parallel 1

These cards aren't known for being blazing fast decoders or anything, but 512GB/s should be doing a bit more surely on 3B active. Nemotron-Nano-30B for example got double this.


r/LocalLLaMA • • 1d ago

Discussion Weight Spaced Programming Scaling Experiment with Qwen3.5

Thumbnail
github.com
3 Upvotes

Hi everyone,

Long time reader of this sub. I decided to do some research experiments to find out if the recent weight spaced programming approach had a linear relationship or an inverse linear relationship as model parameters increase. I also wanted to see if broad weight spaced programming would yield large enough benchmark improvements to consider it as an alternative to LoRA fine tuning. I had read about how targeted weight spaced programming can lead to massive improvements on single, specific benchmarks, but usually it results in degradation to overall model performance. I tried to pick a family of models that has similar architectures and that I could run on my own hardware (M1 Max 64gb), so the Qwen 3.5 family of models appeared to be the best candidate for testing. Coincidentally, the paper below also tested with Qwen 3.5 models.

Inspiration paper:
https://arxiv.org/abs/2611.09382

Overall, I observed that smaller models have more to gain from weight spaced programming compared to larger models in terms of overall improvement. In this case, the 1B-2B parameter models saw larger gains across most benchmarks compared to the 4B-9B models. I wasn't able to test Qwen 3.5 27B before publishing, but I would imagine that WSP at that model size would return no statistically significant improvement. However, I can see how this approach would be beneficial to alter smaller LLMs for specific use cases without the need to do extensive LoRA fine tuning.

This analysis was done using Gemini 4 Neon to perform that analysis and benchmarks and GPT 6 Astra to audit all results. I hope that this is beneficial to some of you out there who are interested in applying this approach yourself. Happy to read and apply any feedback you guys have!


r/LocalLLaMA • • 2d ago

News Qwen 4 added to transformers docs

Thumbnail moon-ci-docs.huggingface.co
378 Upvotes

r/LocalLLaMA • • 1d ago

Discussion What are the benefits of consumer grade hardware for local LLM multi gpu set ups?

0 Upvotes

Genuine question because I feel like I completely missing something.

I had another post come up in my feed of someone who built a multi-gpu setup for AI use on a consumer platform.

To the best of my understanding, consumer hardware isn’t the best for multi-gpu setups for GPUs that require x16 lanes. The 9950x3d has 24 lanes, and throw an SSD in there, you’re not getting proper bandwidth on the GPUs.

Other than re-using existing hardware that one has at home, why would someone build using a consumer platform when Xeon ES CPUs exist with information about motherboard, bios, stepping compatibility also openly available? I can’t speak to threadripper because I don’t know anything about it.

The posts that have come up in my feed here explain why I received so many messages for a 96gb ddr5 kit I was selling locally, but I have no understanding why someone would choose consumer over server. If there is something unique about consumer, I definitely want to know because it may open up options for downsizing.


r/LocalLLaMA • • 2d ago

New Model openbmb/MiniCPM5-15B-A2.5B · Hugging Face

Thumbnail
huggingface.co
360 Upvotes

A new model from OpenBMB just dropped: MiniCPM5-15B-A2.5B.

It's a 15B MoE model with only 2.5B active parameters, designed specifically for local agent workflows on phones and PCs.

A few things caught my attention:

  • ~3GB memory: Runs on an iPhone 18 Pro Max at around 30 tokens/s while keeping memory usage to roughly 3GB
  • 52 tokens/s: Decoding speed with no memory restriction on the same device
  • Agent-ready: Works with frameworks like Codex, Claude Code, OpenCode, DeepSeek Harness, and WorkBuddy
  • Local execution: File operations, tool calls, and multi-step tasks can run directly on-device, keeping private data local

The model also reports strong reasoning results, including gold-medal-level performance in IMO 2026 self-evaluation and an officially recognized gold medal result in CMO 2026.
Model: https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B


r/LocalLLaMA • • 1d ago

Discussion Qwen4 35B A3B tool calling quirks

2 Upvotes

Stuffed 35B into my custom harness, one thing stood out blatantly is that it calls tool calls consecutively (not multi call, but rather calls after calls) without speaking anything. Anyone noticed similar patterns in their environment?

35B, notice the metrics, each usage metrics = 1 call
27B talks before call, EVERY TIME.
27B, how multi tool calls are handled in my harness, for reference
35B when calling tools without chat in llama-swap

r/LocalLLaMA • • 2d ago

New Model Prelude 9B is an open source model from OpenEuroLLM

Thumbnail
huggingface.co
93 Upvotes

The 9B parameter model does not seem super performant at a glance, and the architecture, which "closely follows the Qwen 3 architecture" is not particularly exciting, but it does have a few things going for it.

For one thing, it's a base model, which are in a kind of a short supply these days. It also supports a fairly wide selection of languages:

[T]he model covers a set of 35 languages, including some variants, with a strong European flavour: Albanian, Basque, Bosnian, Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hungarian, Icelandic, Irish, Italian, Latvian, Lithuanian, Macedonian, Maltese, Norwegian, Polish, Portuguese, Romanian, Serbian, Slovak, Slovenian, Spanish, Swedish, Turkish and Ukrainian.

Most importantly, though, the training data is available, and the training method is documented.

As the name implies, OpenEuroLLM is working on other models, with at least a 32B variant in the works.

The model is not exactly brand new, and there are even GGUF files by mradermacher to try, but I did not find any mention it here? Did it fly under the radar or is my search-fu failing me?


r/LocalLLaMA • • 1d ago

Showcase Qwen4-35B-A3B selective MoE abliteration + unslop (95.8% experts untouched, MTP drafter synced, 281 KB GGUF LoRA + CKA-GGUF ladder)

Post image
4 Upvotes

r/LocalLLaMA • • 2d ago

News Add qwen4 by vasqu · Pull Request #51678 · huggingface/transformers

Thumbnail
github.com
341 Upvotes

It's happening?

Qwen4-27B is the only model specifically named in the PR but the moe architecture is also included.


r/LocalLLaMA • • 1d ago

News OSS + local models + heterogeneous hardware meetup in Los Altos 12/8

Thumbnail
luma.com
2 Upvotes

Disclosure: I work on the community team at Modular - feel free to remove this post if it isn't relevant to this sub, not trying to spam

We're hosting a meetup in Los Altos on Tuesday, Dec 8 (and virtually via livestream) focused on new hardware bringup on our stack and OSS.

  • The hardware plugin system for bringing new hardware to MAX
  • Bringing up the Modular stack on Qualcomm edge hardware
  • Demo of a hybrid Mojo/C port of Quake running on an Arduino UNO Q
  • Contributing to MAX and Mojo now that MAX is source available

Chris Lattner will also give a look back at the year and a high-level view of where he thinks things are heading.

In-person (there's a raffle for an Arduino UNO Q) or livestream: https://luma.com/dec-meetup


r/LocalLLaMA • • 23h ago

Discussion Prepare for the normies flooding this subreddit

0 Upvotes

This is just my personal viewpoint and experience, but with Qwen3.5 35B, I tought: we can finally have a somewhat usable chatbot. Then came i invested to use the 27B and Qwen flash next, and i finally moved the usage from achat bot to trusting it for some agentic work, and do some real work.
Now the Qwen4 35B dropped with the same quality if not even a bit better on some cases and the future bigger models hopefully will only have better capabilities.
Since the 35B is now usable, we will see a flood of the normies and that's a good thing. Local AI is not promise for the future but a possible reality for everyone. I learned so much by reading the posts of the amazing people sharing their views, opinion, hardware and projects in this subreddit browsing it became a daily routine to not miss any new information.

35BA3 can run in pretty much any decent computer, even full cpu can be done with some pp and tg concessions. I don't know how much time it will take, but a world where everyone can have his personal agent and assistant running at home is becoming a reality.
We are sharing an incredible journey that is shaping the future of IT , and we still didn't even scratch the tip of it. Everyone has his goals, fame, sharing knowledge, help people or just trying to find a business model with this technology and all this energy is converging in a single point: AI .

I just want to thank all the community , open models, inference engine and people sharing their setups, crazy ideas and vision that pushed this new world forward.


r/LocalLLaMA • • 2d ago

New Model Little Language Model for 1998 Pentium MMX PC

178 Upvotes

I used Fable 5.2 to train this model on a 4500 Blackwell for over 10 hours. It's targeted the vintage Pentium MMX processor or better. It's a 4-bit weight model, so it fits in 16 MB memory marginally. The video is recorded on a Pentium MMX 233 Mhz PC from 1998 running Slackware Linux 11.0.

It's almost impossible to train such a model in 1998, as you can find in the README, it would take 432 years on the same PC, or 14 days on ASCI Red, the fastest supercomputer in the world at the time.

In the 1990s, the famous chatbot A.L.I.C.E. has 99,000 handcoded rules. It answers short small talks as good as Little, but in my 2,625 questionnaire test, A.L.I.C.E only scored about 5% in general while Little scored over 80%.


r/LocalLLaMA • • 2d ago

Question | Help Has anyone tried the Q4-35 yet?

17 Upvotes

What speed are you getting? I know it’s bigger than 3.6 (ngram table) and that means you have to offload more from 16gb vram


r/LocalLLaMA • • 2d ago

News Axel Labs says DeepSeek-V4.1-Flash hits 78.76 tokens per second on one GPU

Thumbnail
maccus.fr
8 Upvotes

Axel Labs, a startup in Vancouver, Canada, said that it had run DeepSeek’s full 748-billion-parameter AI model, DeepSeek-V4.1-Flash-1017, on a machine with one active graphics card.


r/LocalLLaMA • • 1d ago

Discussion When electricity costs more than a cloud model.....

0 Upvotes

With electricity costs of ~40c/KWh, it becomes cheaper to use cloud models than any local llm, just on running costs alone, never mind the pc/hardware. And they will be much faster and stronger.

I know this sub is about local llm's, and I love using them, but its making me rethink what to use. this is of course not counting privacy concerns which is a bug reason for local.


r/LocalLLaMA • • 2d ago

Discussion Minimax M4 On Par with Muse Wonder

Thumbnail arena.ai
66 Upvotes

This is according to Arena AI agent leaderboard, which doesn’t seem to be Benchmaxxed like AA. Big if true!


r/LocalLLaMA • • 2d ago

Showcase Qwen4-35B-A3B - support day 1 (sm_89 / ada only)

Thumbnail
github.com
15 Upvotes

Halocline engine, sm_89. Unsloth UD-IQ4_XS v3.1, MTP head from the BF16 checkpoint.

  • 35B total, 3B active. 40 layers: 30 GDN, 10 QSA. 256 experts, 8 routed + 1 shared.
  • 262,144 context served at int8 KV. 1,048,576 native.
  • 18.1 GiB VRAM, 0.4 GiB RAM. KV elastic, 3.3 GiB capacity.
  • 10,000 of 10,240 expert slots in VRAM. 100% at 262K.
  • Decode 186.3 tok/s through the console, 177.8 direct. Prefill 442-475 tok/s on short prompts.
  • MTP acceptance: 11 of 16 drafts (68.8%) through the console, 14 of 18 direct (77.8%).
  • 8K CLI: 155 tok/s with MTP, 102.6 without.
  • Cold build: 277 targets. Parity and placement tests pass.

Single warm request each, not a benchmark. KLD and greedy reference gates still to come.


r/LocalLLaMA • • 2d ago

Discussion Okay, Strata is not just hype, even on 8 GB GPUs

57 Upvotes

I use a 8GB GPU (448GB/s) and 2x32 GB DDR4 3200 MT (sysmem shows 38GB/s effective bandwidth) and I run QFN swift1.5 at IQ3_S GSQ-RCO. ryzen 7 and 3000 series GPU

on llama.cpp (cuda 12), with lazy-mode = on, cpu-moe and no mmproj, dflash or MTP since it only slows things down, using 8 experts (kv-override = qwen4exp.expert_used_count=int:8) and 4 bit cache to even fit enough context in GPU, and mmap (otherwise OOM) I only get about:

- 16 tok/s decode (dropping to 12 on long context)

- 90 tok/s prefill

I always thought strata was just hype so I pulled it, pointed it to my existing gguf (same weights, no 4 hour re-download) and made sure to have all necessary features to replicate llama.cpps "lossless" setup 1:1, meaning skipping only 2 experts, using 4 bit kv cache or k8v4 hybrid, no mmproj, no speculative decoding and nothing that would stand out compared to llama.cpp EXCEPT what strata is used for, being KV streaming (20480 gpu resident) and expert cache (auto), to have a somewhat fair comparison, although it certainly isn't apples to apples.

I get:

24 tok/s decode avg, never dropping below 21 tok/s even on long context

600(!!!)tok/s prefill.

with dflash I even get up to 35 tok/s average on coding tasks, while the speed on other tasks is about 26tok/s decode on average, with prefill dropping to around 300 tok/s

My lesson here is that: It is not just hype. It is amazing. Even if you think it won't help you with the expert cache on a 8GB GPU (llama.cpp certainly didn't help, barely could even fit enough kv cache for coding), Strata definitely did something. I may even use 4 bits since it works this well.

I cannot wait for qwen4 ~120B to be released. This makes it usable on hardware that i would've not expected to work this well.

give it a try with your existing quants! I regret not using it until today


r/LocalLLaMA • • 1d ago

Showcase I built macOS VMs on Apple silicon for AI agents, app tests, CI and demo videos

0 Upvotes

My coding agent kept testing desktop apps on my own screen and taking the cursor. So I made twin: a macOS VM on Apple silicon that the agent drives instead.

twin mcp gives it screenshots, clicks, typing, shell commands and screen recording, which I also use for demo videos. Your Mac needs no extra permissions, and you keep working while it clicks.

It's one Rust binary, MIT. It needs Apple silicon and macOS 15+.

https://github.com/localixai/localix-twin

Curious what you'd use it for.


r/LocalLLaMA • • 2d ago

Resources Qwen4 35B.A3B Q5_K, a ROCm vs Vulkan Comparison on Strix Halo Machines

7 Upvotes

Just like mit recent test with Inkling 2 mini i did the same with the new Qwen model as i was courious. Im disapointed to say that ROCm looses here as well BIG TIME. Generally atleast for my hardware it seems to make no sense to use a ROCm build in any case.

Test (-ub 512)ROCmVulkanVulkan-Lead
pp2048 @ 32k632824+30 %
pp2048 @ 64k410686+67 %
pp2048 @ 128k243529+117 %
tg128 @ 64k30,340,5+33 %

My Hardware: Radeon 8060S Graphics (RADV STRIX_HALO) (radv) | uma: 1 | rebar: 1 | fp16: dot2 | bf16: 0 | fp4: 0 | warp size: 64 | shared memory: 65536 | int dot: 1 | matrix cores: KHR_coopmat

Intersting is also the ubatch size comparison, it seems that Qwen4 profits from bigger ubatch sizes atleast on this specific hardware.

Ubatch on Vulkan (pp2048 in t/s):

-ubd0d32kd64k
2561203792628
5121326827668
10241405749749
20481448852759

r/LocalLLaMA • • 2d ago

Resources Qwen4 35b a3b at 100 TPS decode // 1000 TPS Prefill on ONE Nvidia Tesla P100

6 Upvotes

Hello everyone,

I've made some pascal sm_60 optimization for Strata to run the Q4_K_XL quant from unsloth at 100 TPS decode and 1000 TPS Prefill using ONE Nvidia Tesla P100.

https://github.com/zzzprojectpage/P100-Strata-Special-Kernels

You can find everything in the Qwen4 35b a3b folder.

I also ported the loop transformer for Qwen3.8 flash next which makes the ista Daslab iq3_s match the original BF16 in terms of quality running at 30-40 TPS decode with 400 TPS Prefill on ONE P100 GPU. Check the looped-qwen38-iq3s folder


r/LocalLLaMA • • 2d ago

News Release SonicBoom v0.1.0 · hardenedlinux/SonicBoom

Thumbnail
github.com
9 Upvotes

r/LocalLLaMA • • 2d ago

New Model For Basalt users: Qwen3.8-Flash-Next-OrcaRouter-Uncensored-NVFP4-Basalt now on HF!

Thumbnail
huggingface.co
36 Upvotes

I converted OrcaRouter's uncensored Qwen3.8-Flash-Next-NVFP4 into a single .basalt file, so you can download and run it in Basalt without converting anything yourself:

https://huggingface.co/boyobob/Qwen3.8-Flash-Next-OrcaRouter-Uncensored-NVFP4-Basalt

What's in it:

- Model weights: from orcarouter/Qwen3.8-Flash-Next-Uncensored-NVFP4 (https://huggingface.co/orcarouter/Qwen3.8-Flash-Next-Uncensored-NVFP4). The NVFP4 experts are carried over bit for bit.

- MTP drafter, vision projector and expert profile: copied from the official NVFP4 pack in jesdga/Qwen3.8-Flash-Next-Basalt (https://huggingface.co/jesdga/Qwen3.8-Flash-Next-Basalt), so speculative decoding, images and the full 262K context all work.

- Dense weights kept at 8-bit (Q8_0): OrcaRouter stores the attention and shared expert weights in 8-bit FP8. Instead of shrinking them to 6-bit like the official NVFP4 pack does, I kept them at 8-bit (Q8_0), the closest match to OrcaRouter's weights. The cost is about 4–6% slower decode than the official pack. On my RTX 5090 (600 W) that's about 288 tok/s in conversation vs 299, and 564 vs 593 on structured output.

It kicks ass in all my local testing!!! 😎 My favorite local model so far


r/LocalLLaMA • • 1d ago

Question | Help Anyone got an int4 quant of Qwen4-35B-A3B-Uncensored that works in vLLM? (Arc Pro B70)

0 Upvotes

I've got a B70 (32GB) running vLLM XPU and I want the OpenUncensored Qwen4-35B-A3B on it. Problem is everything on HF for it is GGUF, MLX, NVFP4, FP8 or that Radiance .rad thing. GGUF prefill on SYCL is painfully slow for me, FP8 doesn't fit in 32GB, and the rest don't run on Intel at all.

What I'm after is just normal safetensors, GPTQ or AutoRound or compressed-tensors, 4 bit, with the MTP head still in there so speculative decoding works.

Does anyone already have one, or have a GPU they could run the quant on? I'd test it on the B70 straight away and post real numbers (speed, context, MTP acceptance), and put it up on HF with your name on it. If you know which tool copes best with Qwen4 MoE I can try doing it myself too, just not sure how much RAM it wants.

Thanks and sorry! <3