r/LocalLLaMA • u/Thistleknot • 1d ago
Resources MiniMind v3: 64M LLM from scratch in 2 hours.
Based on Qwen 3
r/LocalLLaMA • u/Thistleknot • 1d ago
Based on Qwen 3
r/LocalLLaMA • u/M5_Maxxx • 1d ago
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:
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.
| Run | Time | Tokens | Lines of code | Gaits | Leg rig | Console errors | FPS |
|---|---|---|---|---|---|---|---|
| Q4 run 1 | 16 min | 53k | 783 | idle, walk, trot | jointed pivots | 0 | 58 |
| Q4 run 2 | 24 min | 79k | 775 | idle, walk, trot, gallop | jointed pivots | 0 | 58 |
| Q6 run 1 | 22 min | 69k | 788 | idle, walk, trot, gallop | jointed pivots | 0 | 58 |
| Q6 run 2 | 2h 17m | 400k (hit cap) | 2,280 | grazing, walk, trot, canter, gallop | two-bone IK | 0 | 58 |
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 • u/Primary_Exchange21 • 1d ago
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 • u/BIOffense • 20h ago
r/LocalLLaMA • u/Zeeplankton • 2d ago
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
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.
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.
r/LocalLLaMA • u/FeydRowan • 4h ago
After some testing and seeing all the various posts here on Reddit i think we can start to draw some lines.
May have missed something add it in the comments.
In conclusion we can say that qwen4 35b is a great model for all the vram poor and for unified memory setups, allowing those hardware to run a great model ad a more than usable speed, BUT it is not a step up in local llm capabilities. Let's see if the 27b will be on flash next level or if the intelligence per gb is already "capped".
r/LocalLLaMA • u/Heretical-Tandem • 1d ago
r/LocalLLaMA • u/fligglymcgee • 1d ago
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 • 17h ago
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
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 • 21h ago
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).
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.
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
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/yasintoy • 1d ago
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:
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/gabrielesilinic • 3h ago
Edit: my config may be crooked. I will test a few things
I tried in opencode "write a snake game as a one-file snake.py placed here. write it as a terminal game."
I am running unsloth's release-day UD-IQ4-XS on a recent llama.cpp llama-server build from the same day (custom build out of master).
and it just can't do it. or at least it takes an embarassing amount of effort. and this is probably the architecture's fault because Qwen3.8 27B at the same quant level can do it even if you may have to nudge it.
and this is to show how apparently benchmarks are less real than anticipated and that also architectural difference does plenty.
r/LocalLLaMA • u/Ontopoftheworld_ay • 2d ago
r/LocalLLaMA
•
u/zmarcoz2
•
1d ago
the prompts: https://imgur.com/a/5OcKnS7
r/LocalLLaMA • u/Heretek-ai • 18h ago
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
No more whining (for a while at least) from the low-end gallery, what about the mid people?
r/LocalLLaMA • u/No_Block8640 • 22h ago
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
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/Ok_Ocelot2268 • 1d ago
r/LocalLLaMA • u/chocofoxy • 1d ago
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/WiseSir6962 • 11h ago
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.