r/oMLX • u/Top-Eye-8104 • 8h ago
Qwen4-35B-A3B Uncensored MLX
more MLX quants: 3-bit (27 GB) / 6-bit (46.7 GB)
happy testing! would love to hear how it runs on your setup
r/oMLX • u/Top-Eye-8104 • 8h ago
more MLX quants: 3-bit (27 GB) / 6-bit (46.7 GB)
happy testing! would love to hear how it runs on your setup
r/oMLX • u/arfung39 • 7h ago
I wanted to know how much accuracy each Qwen4-35B-A3B quant gives up compared with full-precision BF16, so I measured KL divergence against the BF16 model. Everything ran on an M5 Max with 64 GB under oMLX 0.8.5. The models are the mlx-community oQ builds plus Qwen's official FP8 release. Surprisingly, the oQ6e quant beats the official FP8 release.
If you have 64+ gigs of unified memory, I recommend the oQ6e quant. You lose a lot with the oQ4e quant. This confirms my anecdotal experience with various simple coding tests.
(details of how I generated this was written by Claude; I include that for people who want to know about the method)
| Model | Size (GB) | Mean KLD | ± s.e. | p99 KLD | Same top token as BF16 | PPL |
|---|---|---|---|---|---|---|
| oQ3e-mtp | 29.5 | 0.1218 | 0.0017 | 1.317 | 86.2% | 6.747 |
| oQ4e-mtp | 33.8 | 0.0517 | 0.0007 | 0.578 | 90.9% | 6.688 |
| oQ5e-mtp | 40.4 | 0.0300 | 0.0004 | 0.307 | 93.0% | 6.670 |
| oQ6e-mtp | 47.1 | 0.0236 | 0.0004 | 0.242 | 94.0% | 6.659 |
| FP8 official, exact weights | 58.4 | 0.0251 | 0.0004 | 0.257 | 93.6% | 6.654 |
| FP8 official, as oMLX loads it | 58.4 | 0.0294 | 0.0005 | 0.314 | 93.2% | 6.650 |
| oQ8e-mtp | 60.2 | 0.0211 | 0.0003 | 0.230 | 94.3% | 6.655 |
| BF16 (reference) | - | - | - | - | - | 6.652 |
Takeaways
Method
Caveats
(I updated the graph to include oQ8e, but I can't figure out how to delete the first version of the figure...)

r/oMLX • u/OkHalf3874 • 21h ago
Qwen4 runs at 70 tokens/s on a 32 GB MacBook. Mine was stuck at 12.
I've been testing the new Qwen4-35B-A3B (4-bit) locally on an M2 Max. Short prompts were fine, but past about 1,000 prompt tokens generation dropped to 12 tokens/s and stayed there.
The model was not the problem. The runtime asks macOS to keep all GPU memory wired, and a 23 GB model does not fit that way on a 32 GB machine. Every GPU call was paying about 4 ms to re-wire memory, 19 times per token.
Two fixes, both measured:
→ Turn the wired limit off: 12 → 69 tokens/s
→ Memory-map the weights: same speed, and RAM drops from 23 GB to 14 GB
With MTP (speculative decoding) it goes from 7 to over 70.
One machine, one run per cell, so treat the numbers as a pointer. But if your Qwen4 feels slow on a Mac that it nearly fills, check wired memory before blaming the model.
Details and repro in the oMLX issue: https://github.com/jundot/omlx/issues/5996
r/oMLX • u/willywonkaelgs • 8h ago
I came across this post and it really opened my eyes to how much harm quanting the engram table can have on the results: https://www.reddit.com/r/LocalLLM/comments/1ydjcaf/qwen_4_35b_a3b_vs_qwen_38_flash_next/
In oMLX is it possible to select the engram table like someone can do in Unsloth?
r/oMLX • u/SchighSchagh • 12h ago
What are the tradeoffs of enabling or disabling the rotated codes? Isn't oQh just always better? Is it considerably slower or something vs oQe? Why is it not default/more widely used?
r/oMLX • u/Dazzling_Might3475 • 8h ago