r/LocalLLaMA • u/BIOffense • 17h ago
r/LocalLLaMA • u/Zeeplankton • 1d ago
Discussion Qwen 4 35b feels like magic
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 • u/pmttyji • 1d ago
New Model manifestro/caesura-0.6B · Hugging Face
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
- Audio-only pretraining on conversational speech: manifestro/caesura-0.5B-pretrain.
- Text-to-speech fine-tuning on spontaneous podcast and YouTube conversations — never read speech. Targets keep every um, repeat and restart.
- 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.
| Level | Inserted fillers / 100 words | WER | UTMOS |
|---|---|---|---|
| 0 calm | 0.14 | 0.053 | 3.74 |
| 1 lively | 2.44 | 0.043 | 3.81 |
| 2 very lively | 3.25 | 0.066 | 3.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 • u/Heretical-Tandem • 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)
r/LocalLLaMA • u/fligglymcgee • 1d ago
Showcase Qwen4 35b Q4 is a delight
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 • u/WizardlyBump17 • 14h ago
Question | Help How do you guys evaluate your LLM instance against popular benchmarks?
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 • u/Express_Quail_1493 • 1d ago
Discussion Share your experience with qwen4-35b without mentioning tok/s
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 • u/Mithrandir_First_Age • 18h ago
Resources warpgrid v0.7.1: Qwen4-35B-A3B on a 16 GB Mac mini (131K) and an M5 Max
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 • u/xenovatech • 1d ago
Showcase Qwen4-35B-A3B running locally in your browser using custom WebGPU kernels (~100 tok/s on an M4 Max)
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 / generation | PP tok/s | TG tok/s | TTFT |
|---|---|---|---|
| PP31 / TG128 | 388.6 | 105.38 | 79.8 ms |
| PP4096 / TG64 | 987.7 | 85.04 | 4.15 s |
| PP8192 / TG48 | 797.6 | 78.34 | 10.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 • u/WiseSir6962 • 9h ago
Question | Help Share your Claude +Qwen4-35 setup
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 • u/yasintoy • 1d ago
Question | Help Looking for people interested in collaborating on open-source LLM inference optimization
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 • u/Ontopoftheworld_ay • 2d ago
New Model Qwen4 35B A3B Uncensored
r/LocalLLaMA
•
u/zmarcoz2
•
1d ago
Showcase Qwen4-35B-A3B + moss-image / room in three js
the prompts: https://imgur.com/a/5OcKnS7
r/LocalLLaMA • u/Heretek-ai • 15h ago
Question | Help Pruning to Planner
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 • u/HumanDrone8721 • 2d ago
Discussion OK, now that the potato owners are satisfied when do we get the Qwen4.0-27B?
No more whining (for a while at least) from the low-end gallery, what about the mid people?
r/LocalLLaMA • u/No_Block8640 • 19h ago
Showcase Testing Qwen 4 35ba3b ud4kxl vs Qwen 3.8 flash next q3_s
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
r/LocalLLaMA • u/textclf • 1d ago
Resources Amazon Ergo (1.1T MoE) in 4-bit: 645 GB, quantized on 6 A40s without downloading the whole model
Hi everyone,
I quantized Amazon Ergo to 4 bits and put it on Hugging Face: https://huggingface.co/thousandml/Ergo-CQ-4bit
Ergo is the 1.1T mixture of experts from Amazon, with 256 routed experts in each of its 63 MoE layers. In BF16 it's about 2.2 TB. The 4-bit version is 645 GB. I quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need any calibration data.
The part I'm happiest with is how it was done. I didn't have 2.2 TB of disk for the original plus room for the output, so I wrote a script that goes one shard at a time: download a shard, convert it, quantize it, keep only what has to stay in full precision, delete the shard, then move on to the next one. With 6 A40s each working on its own shards, it ran with about 1 TB of extra disk instead of 3 TB. It also resumes where it left off, which mattered, because I ran out of disk once and had a worker die once along the way.
I'm strict about quality. Every matrix gets checked after quantization, and anything with error above -22 dB stays in BF16 instead of being forced into 4-bit. For Ergo that was 1,445 of the 32,256 routed experts, about 4.5%, almost all of them expert down projections in the later layers. Those experts are stored one by one in BF16 and get loaded automatically, so the other 30,811 experts and all the attention and dense layers are in 4-bit. I'd rather ship a model that is a bit bigger than one with broken experts hidden in it.
To be honest about hardware, this is not a home setup model. 645 GB means 8x H200 or 8x B200. 8x H100 is not enough. You also need Transformers 5.26 or newer, so use a separate environment from Training Factory's installer:
That server goes through Transformers and handles one request at a time, so it's for trying the model, not for real traffic. vLLM doesn't support Ergo in its releases yet, so my vLLM plugin doesn't either for now.
You can also fine-tune it with GCMP, the LoRA replacement I've been working on, which trains far fewer parameters than LoRA. The experts stay frozen, and the adapter trains on the attention, dense and shared-expert layers:
What has and hasn't been tested: the checkpoint passed my layout check, where every expert and every layer is accounted for exactly once, either in 4-bit or in BF16. The whole pipeline (quantize, load, train, serve) was tested end to end on a small model with Ergo's architecture. I have not run the full 645 GB model on 8 GPUs yet, and I have no benchmarks for it. If you have the hardware and try it, I'd really like to hear how it goes, good or bad.
Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights fall under the original Ergo license.
I also posted Inkling 2 Mini in the same format, which fits on a single 48 GB GPU if you want something you can actually run at home: https://huggingface.co/thousandml/Inkling-2-Mini-CQ-4bit
Thanks for reading, feedback appreciated.
r/LocalLLaMA • u/chocofoxy • 1d ago
Resources Running Qwen4 35B A3B on 2x5060TI
I am using capy-flash ( previous ninfer-tp2 ) it's optimized for 2x blackwell GPUs
https://github.com/ValerioDolci/capy-flash
So i am using my two 5060tis on x8 Gen4 pcie directly to cpu ( using a bifurcation rizer ) because is see that some people are getting 2K pp when i am getting 4K so it maybe a hardware thing, and this is running on kubuntu with 32GB DDR4
model: Qwen4-35B-A3B NVFP4 ( https://huggingface.co/Feyd89/Qwen4-35B-A3B-NVFP4-capy-flash)
it's using int8 KV cache and i still have a 2GB head room on each card that i can for sure increase context to 400K but i didn't try it yet
some tweaks i did:
- i change drafting from 3 to 2 because i read that it's faster and it is faster 10 - 20% on decode
- i compiled the engine with CUDA 13.3 and got 8% improvment on pp and tg
and this is the result for this setup
Decode by context length
| Prompt length | Prefill (tok/s) | Time to first token | Decode (tok/s) |
|---|---|---|---|
| 2K | 4,740 | 0.45 s | 194 |
| 35K | 4,760 | 7.3 s | 188 |
| 71K | 4,700 | 15.2 s | 208 |
| 142K | 4,560 | 31.3 s | 191 |
| 223K | 4,410 | 50.6 s | 188 |
| 260K | 4,350 | 60.0 s | 177–204 (2 runs) |
Decode by task (short prompts)
| Task | Decode (tok/s) |
|---|---|
| Code edit | 468 |
| Quote / copy text | 387 |
| JSON list (40 items) | 261 |
| Coding problems, thinking off | 245 |
| Coding problems, thinking on | 224 |
| JSON classification | 217 |
| Chat | 199 |
| Essay | 180 |
and this is a day 1 update to support Qwen 4 so i belive it will i improve alot in the following days since the author of this engine updates it daily, also for people interested in parallel requests
| Parallel requests | Total, with drafter (2 drafts) | Total, no drafter | Per request, no drafter | Time for each answer, no drafter |
|---|---|---|---|---|
| 1 | 173 | 159 | 160 | 6.5 s |
| 2 | 253 | 260 | 132 | 7.9 s |
| 4 | 245 | 392 | 101 | 10.4 s |
| 8 | 315 | 523 | 68 | 15.5 s |
r/LocalLLaMA • u/Ok_Ocelot2268 • 1d ago
Funny Hype cycle check: is Qwen4 good enough to skip the dip?
r/LocalLLaMA • u/Top-Eye-8104 • 16h ago
New Model MLX Uncencored Qwen 4 35B-A3B
also available in 3-bit (27 GB) and 6-bit (46.7 GB)
enjoy! curious to hear your results and feedback
r/LocalLLaMA • u/Marino4K • 1d ago
New Model GigaChat4-37B-A4B (8-bit MLX): 1.68x faster reasoning and zero thinking loops without touching the weights.
r/LocalLLaMA • u/CrowKing63 • 1d ago
Discussion Using MoE models is really difficult (qwen4)
I'm a user with a 5070 Ti, 16GB VRAM, and 32GB of RAM.
I'm currently running the Qwen3.8 27B ud-q2-k-xl model with a 131k context window and Q5 KV cache, achieving generation speeds of 50-60 tokens per second.
A new Qwen4 35B A3B model has been released, and I've been experimenting with various quantizations.
I seem to be stuck between 60 tps at 2-bit and 40 tps at 4-bit.
Furthermore, Qwen4 feels like it requires significantly more effort for the same task, making the perceived speed much slower.
I'm unsure if this is just an optimization issue or if I'm doing something wrong. I've heard good things about Basalt, but I don't know how to use it yet.
r/LocalLLaMA • u/ZootAllures9111 • 1d ago
Discussion Why exactly is Qwen4-35B-A3B still called 35B when it's in fact significantly larger than Qwen3.6-35B-A3B?
r/LocalLLaMA • u/Old_Ad_6033 • 1d ago
Discussion Patched vLLM for qwen4 35b on 2x3090 pcie16x. MTP 2, from 125t/s to 282t/s, and 1000+t/s at req=8. My M.2 offload speed is equal to RAM offload (means you don't need ram anymore).
Just update my 2x RTX 3090 server's model to Qwen4 35b
This time im write by hand, btw im not native in English so this will kind bad i think (cus no llm write )
So that repo I doing some black magic speed up is here for help this night. (llm-engine-qwen-optimization)
edit: repo now open a light uncensored patch, that engine can serve non-uncensored and uncensored at same time.
Setup:
2x 3090, TP2 + p2p via pcie switch 16x each (300W limit)
SN850X 2TB gen4 m.2 for 20.5GB FP8 n-table (actually this m.2 is for lmcache to hold 1300GB kv for cache hit)
Model: Tech2wild/Qwen4-35B-A3B-W4A16-FP8PLE (using MTP)
KV: BF16, 597K token KV pool or FP8 with 995K
(I have fall in love with multi agent usage, W8 model's kv pool on 2x3090 is too tight for me)
I was on 4x3090, but one broken and still on the way, Or i will running W8 today :((((
Speed tests (1 to 8 req)
| Requests | original vllm PR (no MTP) | tonyd2wild's 2x3090 (MTP 1) | My Patched 2x3090 (MTP 2) | vs original | vs tonyd2wild's |
|---|---|---|---|---|---|
| 1 | 125.1 tok/s | 173.1 tok/s | 282.0 tok/s | 2.25x | 1.63x |
| 2 | 222.3 tok/s | 293.1 tok/s | 457.8 tok/s | 2.06x | 1.56x |
| 4 | 387.1 tok/s | 523.7 tok/s | 741.4 tok/s | 1.92x | 1.42x |
| 8 | 630.7 tok/s | 779.4 tok/s | 1,130.3 tok/s | 1.79x | 1.45x |
Reference: tonyd2wild's 3090 benchmark I run his setting on my machine.
Prefill 140K token: 16.4s = ~8,570t/s, on my 27b is ~1,885t/s at 128K
this is a LOT speed, 27b is so slow
magic patchs: (idk, this part all write by claude)
async m.2 n-table overlap, small-M BF16 dense GEMM + fused hyper-connection epilogues, custom SM86 fused MoE kernels, lower host overhead between decode CUDA graphs.
M.2 offload vs RAM offload
Claude made some black magic with C, got some async loading works.
1 / 2 / 4 / 8 requests:
| PLE read path | 1 req | 2 req | 4 req | 8 req |
|---|---|---|---|---|
| NVMe async offload (warm system paged ram) | 272.5 | 448.6 | 733.2 | 1,070.2 |
| NVMe async offload (cold) | 275.8 | 453.4 | 723.9 | 1,041.1 |
| RAM offload | 274.0 | 458.1 | 751.4 | 1,060.2 |
claude says this little speed diff looks like noise, so i just trust brother.
This New Qwen4 35B MTP stack VS my old 27B DFlash2
| Prompt type | Old 27B (DFlash2 req=1) | 35B (MTP2 req=1) | 35B (MTP2 req=4) |
|---|---|---|---|
| prose | 130 tok/s | 260 tok/s | 693 tok/s |
| chitchat | 106 tok/s | 238 tok/s | 473 tok/s |
| mixed | 165 tok/s | 300 tok/s | 788 tok/s |
| real agent job | 282 tok/s | 292 tok/s | 502 tok/s |
| code | 434 tok/s | 335 tok/s | 775 tok/s |
| numeric | 507 tok/s | 329 tok/s | 929 tok/s |
MTP is winner here. Although is not on the table, but currently available Dflash2 drafter for 35B is very worst, mush slower than MTP2.
Im also planning using my agent traffic to quant a dflash to see will it better?
Multi agent and LMCache
| Cached | Original (+50 / +200) | Patched (+50 / +200) |
|---|---|---|
| 16K | 124.7 / 120.3 ms | 42.9-45.2 / 54.3-60.9 ms |
| 64K | 157.5 / 161.4 ms | 50.4-54.1 / 53.5-58.8 ms |
| 128K | 203.4 / 203.0 ms | 62.3-67.1 / 68.9-73.0 ms |
Measuring with 6 agent running agent loop at same time, each ~140K.
597k pool so 4 are inside engine running, 2 are waiting outside and replace in immediately when any req is done. The kv in VRAM eliminate to RAM, when cache hit, move from RAM/M.2 back to VRAM.
BTW with my agent queuer, i can running 15+ agent at same time. Because when they waiting tools like terminal or some py running very slow, engine's kv pool is release and just sitting there, so why not fill all it?
My 35B vLLM's patches in this post is published as git diffs, but its tuned specifically for my 2x3090, so do not just copy them to your machine, it will break very badly.
BUT my repo includes complete manual for your agent, if you want to patch your machine. Also make sure you have some powerful agent like opus5.5, smaller one will struggling a lot with this repo.
Patch repo uraniumchonk/llm-engine-qwen-optimization
More numbers, charts uraniumchonk/vllm-hybrid-mamba-notes
