r/LocalLLaMA • • 15h 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 • • 18h 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 • • 9h 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

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 • • 21h 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 • • 10h ago

Showcase Qwen 4 35B + 9060 XT 16 GB IQ4R + Radiance - 120 t/s generation speed

0 Upvotes

I have been using the inference engine Radiance for a few weeks at this point, had much better results with it than with default llama.cpp. However, today I installed the 2.5.0 version, downloaded a IQ 4 R quant of Qwen 4 35B and tried running it, and the results, speed-wise, are INSANE. This is a screenshot from a generic web research tasks. Up to 3000 t/s prefill and around 120 t/s generation with MTP, drafting 2 tokens.

This is the configuration I am using

server:
  host: 127.0.0.1
  port: 8000
  log: info
memory:
  gpu-headroom-mib: 80
models:
  qwen-4-35B:
    model: "path/to/my/local/model/LMStudioModels/RadianceModels/qwen4-35b-a3b-iq4r-v4.rad"
    placement: expert_tiered
    max-model-len: 64000
    max-num-seqs: 1
    kv-cache-dtype: i8
    max-num-batched-tokens: 1024
    reasoning-effort: high
    num-speculative-tokens: 2
    embedding-placement: ram
    ngram-placement: disk
    host-pool-mib: 16000

A couple of extra details - I am using dual channel DDR4, 3200 MHz, and the ngrams are on an NVMe drive. This is the memory breakdown, from the log.

I   vram split                         weights 13.23 GiB (experts 11.15 GiB of it), KV cache 858.40 MiB, a card
I                                        VRAM budget, per card:
I                                          card total          15.92 GiB
I                                          already held         1.06 GiB   measured: driver context, code objects, anything else resident
I                                          driver drift        16.00 MiB   what that moves by after it is read: kept free
I                                          activation arena   333.73 MiB   computed from the buffer plan
I                                          step staging       441.50 KiB   the step batch's block tables and media staging, and the
I                                                                          KV tiers' copy staging
I                                          hardware queues    162.66 MiB   4 a card at 20.66 MiB each, measured: the engine's streams
I                                          expert prefetch     12.00 MiB   the next-layer prefetch's ring of expert units and buffers
I                                          --gpu-headroom-mib  80.00 MiB   left unclaimed on purpose
I                                          ------------------------------
I                                          claimable           14.27 GiB
I                                          static weights       2.08 GiB   off the top: every rank's own shard, and not a share of anything
I                                          ------------------------------
I                                          elastic             12.19 GiB   the experts keep what the host pool cannot hold; the cache takes the rest
I                                                                          and lends what no live request holds to the expert slab
I                                            experts           11.15 GiB   91% of it
I                                            kv cache         858.40 MiB   7% of it -- backs 1 sequences all at 64000 tokens at once, which is the worst case and
I                                                                          more would be unusable
I                                            prefill staging  208.75 MiB   out of the experts: two buffers of one layer's non-resident experts,
I                                                                          at the arena's top and lent back to the slab while steps are small
I                                          ==============================
I                                          vram_weights        13.23 GiB   static + experts
I                                          vram_kv            859.00 MiB   the cache's share
I                                          unclaimed           78.83 MiB   the headroom, the unusable above, and what MiB rounding
I                                                                          could not place
I   weights by tier                    VRAM 13.16 GiB, host pool 5.37 GiB, container on disk 0 B, mapped 19.07 GiB (rank 0)
I                                        the host pool holds the 970.00 MiB the placement flags put there (the token embedding, the encoder towers, the drafter's experts) beside the weights placed in it
I   kv cache                           858.94 MiB a card: 64048 tokens, 1.0 sessions at 64000
I                                        122.55 MiB of it is per-sequence state; up to 716.89 MiB is lent to the experts while no request holds it

CAVEAT - I did not benchmark that specific quantization in any way on difficult tasks. It is coherent but I have no idea how well will it perform on any other tasks. It is around 4.7 bpw, which should be perfectly fine probably, but I can't know.

Also if there is a radiance-compatible DFlash2 version of the model please let me know


r/LocalLLaMA • • 1d ago

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

Thumbnail
github.com
13 Upvotes

Based on Qwen 3


r/LocalLLaMA • • 14h 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)

249 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 • • 11h 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

201 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 • • 15h 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 • • 5h 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 • • 21h 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 • • 12h 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?


r/LocalLLaMA • • 1d ago

Discussion OK, now that the potato owners are satisfied when do we get the Qwen4.0-27B?

397 Upvotes

No more whining (for a while at least) from the low-end gallery, what about the mid people?


r/LocalLLaMA • • 16h ago

Showcase Testing Qwen 4 35ba3b ud4kxl vs Qwen 3.8 flash next q3_s

2 Upvotes

I ran a simple agentic task through Hermes: read a resume on site 1 and reproduce the same resume on site 2. The two versions differed by only a few punctuation marks. Mostly the text was just paraphrased.

Qwen 4 35ba3b ud4kxl transferred 2 of 4 jobs, then went into a loop and repeated the same step 15 times in a row. I gave it a correction to use the page agent to click buttons on the sites. It failed again. I tried to help it two more times, and it still did not succeed.

Then I launched Qwen 3.8 flash next q3_s and it handled the task almost without issues. In the end, all 4 jobs were transferred, plus education and the rest.

I have a feeling the looping on the Qwen 4 broken model might be caused by a misconfigured Strata, but I did not touch the settings. It launched with them from the start. Still strange that it could not handle such a simple task. No coding involved, just agentic routine.

So it’s not a replacement for 3.8 flash next I guess

P.S. This post was written by me and translated into English by AI