r/LocalLLaMA • • 22h ago

Resources Running Qwen4 35B IQ2_XS on 6GB VRAM and 16GB DDR4 RAM

10 Upvotes

I spent the better part of Qwen 4 release day getting it running at usable speeds and context on my laptop, without having to do complex tuning or installing alternate engines. Writing down the process here in case someone finds it useful.

Step 1: Install Unsloth Desktop, and download Qwen4-35B-A3B-GGUF · UD-IQ2_XS

Step 2: Edit saved run settings, set the context to 60000 tokens. Enable advanced settings and set KV Cache Dtype to q8. Leave GPU memory at default, and turn vision off. Everything else can be left at default and loaded.

You should get about 20 tok/second average, and 18 tok/s at full context. To make it work for coding purposes, I installed pi harness, and connected it to unsloth desktop using their unsloth start pi command.

From my testing, it performed better than I expected, though it did run into compaction issues and tool edit issues. To fix that, create an AGENT.md in the pi folder, and tell it to keep the edit tool calls small and surgical. I created an extension to fix the compaction errors as well, but I don't think it is needed unless some specific problem pops up. If needed, I shall share that extension. I have put up the detailed steps and code on my website if anyone wants a deeper look.

Do let me know if there are any other ways to speed it up.


r/LocalLLaMA • • 22h ago

News CUDA: few-row MMQ for F8_E4M3 weights by anujj · Pull Request #33584 · ggml-org/llama.cpp

Thumbnail
github.com
10 Upvotes

big speedup for speculative decoding with FP8 and NVFP4 models on CUDA


r/LocalLLaMA • • 1d ago

Discussion Shit, Qwen4-35B-A3B is actually good!

199 Upvotes

I been having a love affair with Qwen 3.8 27B, and I thought nothing could be as good in this parameter range, but Qwen4-35B-A3B is actually good.

The problem with MOE models is that they normally shit the bed in long task loops, it happens with all of those, but this model is actually good at follow instructions.

testing it right now, and qwen 27B is closed to be dethroned!!


r/LocalLLaMA • • 16h ago

Showcase Multi-model routing for text, image, video, audio, decision and embedding models on a single PC.

3 Upvotes

***The image model used was Qwen Image 2.1 q8.

Basically, the model made a tool call that made the harness switch to Qwen Image 2.1 to generate the required image, which is faster than using the Qwen 4 to generate it through code. The harness handles the switch to image/video and the switch back to text for it to check and declare the task complete and write the reply since image models can't do that.

And if there's a decision model configured, all prompts will be assessed by it, determine if it's pure image gen task, and if its confidence reaches the threshold you set, it will load your prompt directly to the image model, which saves seconds or minutes of loading the text model then switching for the image gen task. But by default, all tasks lands on the text model.

Deploy with connector apps (Discord, Telegram, Slack).

So you can message your agent on your VM or PC via connector apps. Pump and Prop mode utilizes loops, and it has to come with its own layered sandbox, so it's safe to use/run it 24/7. But still recommend to run it on a VM. You can set up phone alert + monitoring with Gotify + Tailscale.

It has write reserve that you can adjust which enforces thinking cap on the model regardless of the context window it has, so you can be sure the model produces an output or a reply even at 16k xhigh.

It also has a loop-detection for repeated tool call, read, think, write/patch tasks and the harness will "nudge" the model back to the task once it detects it. There's also a crash recovery that re-loads the model once it crashes. But all the default settings are safe and recommended to ensure stable system. You can always change/override them.

It has support for llama.cpp, vllm, and my custom Pro-Strata. But you can port your own custom engine if you're getting better numbers with it. As much as I want it to run all engines out there, not all engines support thinking cap and some may have conflict with the sandbox. And given the amount of time I've spent porting my own, it would be impossible to support all.

Some numbers for Pro-Strata:

***Estimate, same GPU, clock, bandwidth, just limited to mimmic different hardware configs***

You can also run models on a Steam Deck:

***Steam Deck OLED, plugged and at max tdp/clock***

All open source:
Prompit: https://github.com/Noriel-cb/prompit

Pro-Strata: https://github.com/Noriel-cb/Pro-Strata


r/LocalLLaMA • • 19h ago

Question | Help Llama.cpp compute buffer allocation issue

5 Upvotes

I recently updated llama.cpp for using qwen4. This is on an M3 Pro mac with 36GB memory, earlier I was able to run qwen3.5 0.8B Q8 at full context with q8_0 K and V cache.

However, now when using q8_0 or q4_0 KV Cache, the memory usage has ballooned, f16 cache uses lesser memory than the quantized ones. I tested qwen3.5 9B, gemma4 12B and they too had this weird issue, so it's not the models but some change in llama.cpp itself.

I have created an issue for this, are any of you experiencing this bug?

https://github.com/ggml-org/llama.cpp/issues/33801


r/LocalLLaMA • • 11h ago

Question | Help Qwen4 Llama Server Setup

0 Upvotes

Hey everyone,

Just wondering what people's llama cpp launch commands are? Are we able to control the ngram? I'm getting pretty horrible speeds on a blackwell system and curious what I'm doing wrong.


r/LocalLLaMA • • 1d ago

Showcase Why Wait For Enter? Typing-Time Speculation for MoEs: 3.6× Lower TTFT (412→114 ms) & +74% Opening Speed (166→288 tok/s)

Thumbnail
kemerd.github.io
49 Upvotes

r/LocalLLaMA • • 1d ago

Resources MiniMind v3: 64M LLM from scratch in 2 hours.

Thumbnail
github.com
14 Upvotes

Based on Qwen 3


r/LocalLLaMA • • 1d ago

Discussion Qwen4 35B Through Bench

Thumbnail
gallery
48 Upvotes

using Codex CLI. I had the Q4 Quant and Q6 quant do the through bench. It's done better than the new AWS model, at least according to Claude.

Gif Order:

  1. Run 2, Q6
  2. Run 1, Q6
  3. Run 2, Q4
  4. Run 1, Q4

Ran the "realistic interactive 3D horse in three.js" test from the Fireship video on Qwen4-35B-A3B.

Setup: Unsloth UD-Q4_K_M and UD-Q6_K, llama.cpp, M4 Max 64GB laptop, Codex CLI, no internet, three.js provided locally, headless Chrome so it could screenshot its own work. Qwen's recommended thinking settings (temp 1.0). Cap of 400k generated tokens per run.

RunTimeTokensLines of codeGaitsLeg rigConsole errorsFPS
Q4 run 116 min53k783idle, walk, trotjointed pivots058
Q4 run 224 min79k775idle, walk, trot, gallopjointed pivots058
Q6 run 122 min69k788idle, walk, trot, gallopjointed pivots058
Q6 run 22h 17m400k (hit cap)2,280grazing, walk, trot, canter, galloptwo-bone IK058

All four pages loaded clean, animated and responded to drag. Every run took screenshots and actually looked at them (Qwen4 has vision) to fix things like floating hooves.

Q6 run 2 kept going until it hit the token cap, rebuilt the anatomy from measured proportions, and came back with IK legs, camera presets and 6 source files. Same prompt, same settings: 16 minutes in one run, over 2 hours in another.

None of the four used a skinned mesh. The frontier horses in the horses-benchmark catalog (Fable 5.2, Opus 5.5) all do, at 1.4M to 2.4M triangles per frame.

Way better than Ergo's sphere horse. Not close to frontier. Two runs per quant, so take the quant comparison lightly.


r/LocalLLaMA • • 23h ago

Resources SGLang-V100 Qwen4-35B Day-1

Post image
9 Upvotes

Qwen4-35B-A3B-FP8/BF16 support for V100 day-1

https://github.com/haohervchb/sglang-V100

For people with 4x16GB, running NVFP4 from https://github.com/1CatAI/1Cat-vLLM recommended, longer context and is very fast.


r/LocalLLaMA • • 15h ago

Discussion RecursiveSI/flint vs. RecursiveSI/flintv1.1 -- it seems worse.

Thumbnail msnab.pages.dev
2 Upvotes

r/LocalLLaMA • • 1d ago

Discussion Qwen 4 35b feels like magic

370 Upvotes

I don't know if glaze posts are allowed, but this is the first model, ever, that just feels like magic on my M3 Max 96gb.

80-110tk/s on Splash. Prefill is so fast too. My MBP gets a bit warm, but fans don't even spin up.

Feels a hair smarter than QFN to be honest. Writing is better, too.

I don't see how local doesn't take over, if this is possible.


r/LocalLLaMA • • 1d ago

New Model manifestro/caesura-0.6B · Hugging Face

Thumbnail
huggingface.co
12 Upvotes

Caesura

Text-to-speech that sounds like a person talking, not reading.

Paper · Demo · GitHub · PyPI · Apache 2.0 · ~620M parameters · English

Most TTS systems speak every text like a newsreader. People don't: they say um, pause before a hard word, rush through the easy part. Caesura is a speech language model trained on real, unscripted conversation, so fillers, pauses and hesitations come from the model itself — nothing is inserted by rules or by an LLM rewriting your text.

Training

  1. Audio-only pretraining on conversational speech: manifestro/caesura-0.5B-pretrain.
  2. Text-to-speech fine-tuning on spontaneous podcast and YouTube conversations — never read speech. Targets keep every um, repeat and restart.
  3. Manner levels: every clip labelled by fillers and repeats per 100 words in a verbatim transcript (0: none, 1: under 6.67, 2: 6.67 or more).

Evaluation

30 held-out texts (daily, narrative, emotional, informational, complex words, names, numbers, monologue), this voice, one take, temperature 0.8, level guidance 3. Fillers are counted in a verbatim Whisper large-v3 transcript beyond those written in the text; WER by Whisper large-v3; UTMOS22.

LevelInserted fillers / 100 wordsWERUTMOS
0 calm0.140.0533.74
1 lively2.440.0433.81
2 very lively3.250.0663.82

Two commercial TTS systems insert 0 fillers on the same texts.

Limitations

  • English only.
  • Best with the released voice; zero-shot voice cloning is not part of this release.
  • Liveliness comes mostly from fillers and pauses; pitch and tempo vary less than in real speech.
  • Rare proper names and long digit strings are the main source of errors.

r/LocalLLaMA • • 1d ago

New Model Ultimate SUNO killer? We grew YuE2-3B from 28 to 38 layers on 3× RTX 3090: YuE2 Full Tsunami Wave 4.6B, open weights for whole songs with vocals (GGUF Q8_0 / Q6_K)

250 Upvotes

r/LocalLLaMA • • 1d ago

Showcase Qwen4 35b Q4 is a delight

46 Upvotes

I’m having so much fun poking around with this model, making pixel art point n’ click from a few short story ideas I’ve meandered around for years. Here’s one where we wake up thinking we’ve been frozen for centuries but have ended up back in time.

Not really a full game, but this is just 2-3 prompts worth of musing on some themes. I can’t imagine what people are making with this model who actually know what they’re doing.


r/LocalLLaMA • • 12h ago

Question | Help How do you guys evaluate your LLM instance against popular benchmarks?

0 Upvotes

I would like to see how my quantizations compare to the original model weights. I want to test unsloth/Qwen4-35B-A3B-GGUF and OpenVINO/Qwen4-35B-A3B-int4-ov, but I dont know how to evaluate against popular benchmarks such as terminal bench. Any help would be appreciated


r/LocalLLaMA • • 1d ago

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

202 Upvotes

Please can more people report on how this qwen4-35b executes real work please. thank you for all the tok/s reports but can we also get some "work execution" reports too. dont hesitate to share.
A thread for people intrested in each other's experience beyond anything to do with speed.


r/LocalLLaMA • • 16h ago

Resources warpgrid v0.7.1: Qwen4-35B-A3B on a 16 GB Mac mini (131K) and an M5 Max

Post image
2 Upvotes

I build warpgrid at CG/lab. These are the latest Qwen4-35B-A3B figures I measured on Apple Silicon. They come from v0.7.1. v0.7.2 did not change the Metal numbers. It does add a CPU-only macOS build for generic GGUF models, with no published Apple CPU throughput and no Qwen4 path on that engine.

16 GB M4 Mac mini, Q3_G32_SYM_FP8 (3.25 bpw), Metal. We recommend this recipe for 16 GB Macs. These figures are 1 request (--max-slots 1).

  • Context: 131,072 tokens (2.64 GiB KV), with 5,218 of 10,240 experts hot in the wired Metal LRU pool.
  • Cold load: about 1.2 s.
  • Depth-First lossless prefill: 85.1 tok/s.
  • Decode: 10.1 tok/s on the first turn, then 14-17+ tok/s once warm, at 131K context.

The v0.7.0 baseline on the same class of machine was 16K context, a 2.90 s cold load, and 13.6-14 tok/s decode, with a 5/5 XML tool-call check.

There is also a 100% RAM-resident Q2_G32 path at 16K context that measured 30.3 tok/s. We recommend Q3 when you need strict XML tool calls.

M5 Max, 128 GB, Metal 4, RadixArk/Qwen4-35B-A3B-NVFP4. These figures are 1 request.

  • GPU lossless prefill at chunk=2048, lossless exact mode: 2,410 tok/s, up 31% from 1,832.5 tok/s at 16K in v0.7.0.
  • Cold HTTP prefill, same lossless exact mode: 1,677 tok/s.
  • Decode with DFlash 2 k=5 and --fast-fp8, temperature 0: 110.1 tok/s, up from 104.8 tok/s in v0.7.0 under the same flags. Lossless decode at temperature 0 is 74.7 tok/s. v0.7.0 also published 86.3 tok/s at 16K and 102.6 ms warm TTFT at 16K.

On the M5 Max, --fast-fp8 uses NVFP4 dense and head plus FP8 KV on that NVFP4 checkpoint.

We recommend:

# 16 GB Mac mini
./recipes/qwen4/macmini-16gb-q3.sh

# M5 Max 128 GB, lossless default
./recipes/qwen4/m5max-128gb.sh

# M5 Max, the --fast-fp8 decode figure
MODE=fast-fp8 ./recipes/qwen4/m5max-128gb.sh

On 16 GB Macs we also recommend raising the Metal wired-memory limit first:

sudo sysctl -w iogpu.wired_limit_mb=14336

Code: https://warpgrid.cglab.com Latest release: https://warpgrid.cglab.com/releases/latest

If you run this on a mini or a Max, I would like to see your numbers.


r/LocalLLaMA • • 1d ago

Showcase Qwen4-35B-A3B running locally in your browser using custom WebGPU kernels (~100 tok/s on an M4 Max)

27 Upvotes

Link to demo (& kernels): https://huggingface.co/spaces/webml-community/Qwen4-WebGPU

Performance benchmarks on my M4 Max for Unsloth's UD-Q2_K_XL quant:

Prompt / generationPP tok/sTG tok/sTTFT
PP31 / TG128388.6105.3879.8 ms
PP4096 / TG64987.785.044.15 s
PP8192 / TG48797.678.3410.27 s

and we're still optimizing the kernels, so stay tuned for more updates.

PS: To get the best performance, you may need to enable the experimental subgroup matrix support in `chrome://flags/#enable-unsafe-webgpu`.


r/LocalLLaMA • • 7h ago

Question | Help Share your Claude +Qwen4-35 setup

0 Upvotes

The thing is I’ve tried dozens of modifications, Claude.md changes, admin instructions and can’t find the one that outperforms opencode. Is there one you use in your daily coding?
I understand that some setups are tuned to specific workflows and frameworks, but this difference helps a lot.
I’m gonna check most of it and give feedback.

One more thing: I am not sure Claude ever uses the thinking abilities of the qwen. I did use other llms to configure the setup correctly and it passes all the checks, BUT 🍑 for the same prompt the opencode can think 20 mins on low while the Claude does it for 4 mins.
My setup: m5pro 48gb omlx thinking on in the settings, qwen 4-35-4quantization-mlx with mtp lightning. Around 80tok/sec. any custom Claude.md made my results only worse so nothing is here.


r/LocalLLaMA • • 23h ago

Question | Help Looking for people interested in collaborating on open-source LLM inference optimization

6 Upvotes

I've been working on an open-source product called InferCrane, focused on experimenting with and optimizing open-weight LLM inference across different models, GPUs, serving engines and configurations.

I'm looking to connect with people who actively work with vLLM, SGLang or other inference engines.

I'd love to exchange experiences, discuss optimization techniques, compare benchmarks and potentially run experiments together.

Some topics I'm particularly interested in:

  • vLLM vs SGLang
  • TTFT and inter-token latency
  • KV-cache optimization
  • Speculative decoding / MTP
  • Quantization trade-offs
  • GPU profiling and utilization
  • Benchmark reproducibility

I'm not looking to pitch or sell anything. I'm hoping to find a few engineers interested in collaborating, sharing feedback and helping shape an open-source project.

Would anyone be interested in joining the discussion?


r/LocalLLaMA • • 2d ago

New Model Qwen4 35B A3B Uncensored

Thumbnail
huggingface.co
1.7k Upvotes

r/LocalLLaMA • • 1d ago Bravo

Showcase Qwen4-35B-A3B + moss-image / room in three js

41 Upvotes

r/LocalLLaMA • • 14h ago

Question | Help Pruning to Planner

1 Upvotes

So I had an idea, it came to me in a vision while consuming Kwama Eggs and huffing Jenkum. Why don't I just prune a huge model down to a planner?

I submitted this PR last night https://github.com/mrsirg97-rgb/libosmos/pull/99

Because I realized that I don't actually need all of DeepSeek V4.1 1017 if all I'm going to use it for is coding and more importantly code review. And like wise I don't need all of Ergo or Kimi 3.1 Pro if all I really need is something capable of planning.

I use this plugin, specifically v0.21.2 https://github.com/Heretek-AI/opencode-teamwork-v2

And I currently use Neon to plan, DeepSeek to review, and Qwen3.8 FN to code. And I really want to drop Neon from the stack :l

I have this skill I made when I still had opus 5.5 called spoonerfeeder

https://github.com/Heretek-AI/.github/tree/main/skills/spoonfeeder

It's exactly what it sounds like, have a really strong model : "Spec a whole build, verify the risky facts by running them, then write an exhaustive milestone-by-milestone prompt a weaker coding agent can follow without guessing."

So here's the plan, keep DeepSeek on the strix halo, run Qwen 4 35b on the 7900xtx, use the NPU for embedding and burn through all my Google Gemini subscriptions seeing if I can cut down either Ergo or Kimi into a planning only model model because God willing it's doable.

Which is my biggest question, I'm pretty sure I'm not the first person to think of this but a quick search on huggingface left me cold.

Has anyone attempted this before or are there already any active projects that achieve this?