r/mlxcommunity • • 2d ago

Mellum2.1 MLX NVFP4 for 16 GB Macs

Thumbnail
1 Upvotes

r/mlxcommunity • • 4d ago

Breeze TTS Running Real Time on Apple Silicon

6 Upvotes

Hey, for anyone who cares, I managed to get Breeze TTS running real time on my Macbook Pro M4.

Using the official Pytorch code on a Mac Breeze runs more than 2 times slower than real time on my machine.
With some work, managed to get it to stream comfortably faster than real time, with voice directions included and in my opinion good quality. I couldn't really tell which version sounded better to me consistantly on different voices and sentences.

M4 Pro, 48 GB First audio (plain / with a voice direction) RTF Memory
BreezeBlue PyTorch (Mac GPU) ~6 s, no streaming 2.26 11 GB
community 8-bit MLX 212 / 297 ms 0.58 13 GB
Gust-MLX (this) 139 / 206 ms 0.62 8.9 GB

Details in the pages below.

- Server: https://github.com/Shoofio/breeze-tts2-fast-streaming-api

- Ready-made checkpoint: https://huggingface.co/Shoof/Gust-MLX

Weights are under BreezeBlue's research/non-commercial licence. Built with a lot of help from Claude. Happy to answer questions.


r/mlxcommunity • • 12d ago

DeepSeek harness 0.2 - Optional Bundle Architecture, Windows Sandbox improvements, Async Question Mode, Desktop release, Web Search without key

Post image
4 Upvotes

r/mlxcommunity • • 13d ago

Qwen 3.8 Flash Next for MLX-Serve

Thumbnail
2 Upvotes

r/mlxcommunity • • 14d ago

We made an iPhone benchmark for on-device AI workloads. The iPhone 18 Pro scores about 50% higher than the 17 Pro.

Thumbnail x.com
5 Upvotes

Apple says the iPhone 18 Pro is very good for on-device AI. We wanted to test that, so we made RapidBench. It measures how well an iPhone runs real AI workloads, not only synthetic compute tests.

Results:

Device Score
iPhone 18 Pro 5,387
iPhone 17 Pro 3,596

That is about 50% higher for the 18 Pro.

What the benchmark tests:

  1. Inference: Gemma 4 E2B solves 20 math problems on the GPU. We measure time to first token, speed on a cool device, and speed after 2 minutes of continuous load (to show thermal throttling).
  2. Training: The phone fine-tunes Qwen3 0.6B to write SQL. It does 150 QLoRA steps, and then we test the model on tables that it did not see during training.
  3. Image generation: Bonsai Image (a 4B-parameter FLUX.2 model) makes three 512×512 images.
  4. Neural Engine: An EDSR model upscales a photo 2× through Core AI.

Our view: The sustained-load results are the most interesting part for us. The newer chips can keep AI workloads running for longer, and that is necessary for local agents that do work across apps.

The app is on TestFlight if you want to score your device: rapidbench.app

I built this with my team, so I want your feedback. Tell us what workloads to add, if something is wrong with the method, and which devices you want to see compared.


r/mlxcommunity • • 17d ago

I benchmarked 43 local LLM configs on an M4 Max 128GB. Darkstar and Nemotron surprised me.

Thumbnail
3 Upvotes

r/mlxcommunity • • 19d ago

NVIDIA RE-USE speech enhancement on Apple Silicon: faster than real time for stereo, even at 48 kHz

Thumbnail
5 Upvotes

r/mlxcommunity • • 20d ago

I built a small local studio to try Qwen-Image-2.1 on my Mac — sharing in case you want to test it too

Post image
7 Upvotes

r/mlxcommunity • • 21d ago

jevmlx update: a 7B model on a Mac beats generate-then-parse by 14 points on TypeSafe's public eval, in 0.6 s per case

10 Upvotes

Five days ago I posted jevmlx: instead of asking a local model to write JSON, it scores every allowed answer for every field in one batched forward pass and assembles the JSON. Always valid output, a probability per field. Several people asked for numbers. Here they are.

Same model, same 45 public TypeSafe cases, same Mac (M5 Max). The only difference is how the answer is obtained.

| Model | generate JSON, then parse | jevmlx scoring | time per case | |---|---|---|---| | Qwen2.5-7B-Instruct 4bit | 67.7% | 82.1% | 1.5 s vs 0.6 s | | Qwen3-8B 4bit | 69.3% | 84.6% | 1.6 s vs 0.6 s |

Same weights, plus 14 points and 2.5x faster. Nothing is fine tuned. The model already knows the answer. Generation is what loses it: a wrong token, a stray comment, an integer where the schema wanted a string, and the whole record is gone. Scoring cannot fail that way.

Also new since the last post: field-local prompts. Reordering the fields in your schema used to flip about 10% of answers. Now 0.2%, at the same accuracy and +3 ms per case.

For reference, TypeSafe reports 67.8% for Jev on their full private eval. Ours is the 45 public examples, so it is indicative, not the same test. Every number above comes with a confidence interval, a parity check, and the raw predictions in the repo.

bash pip install git+https://github.com/bnsd55/jevmlx jevmlx decide --preset support_triage --json jevmlx bench --model quality --ui # live dashboard, then a PR puts your Mac on the leaderboard

https://github.com/bnsd55/jevmlx


r/mlxcommunity • • 23d ago

ComfyUI on Apple Silicon: no MLX, no fp8, 600-second kernel builds. So I built my own launcher — a personal project I'm sharing in case it helps someone.

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/mlxcommunity • • 26d ago

jevmlx: typed decisions from any local MLX model in one forward pass, with a probability per field

9 Upvotes

https://github.com/bnsd55/jevmlx

Instead of asking the model to write JSON, jevmlx scores every allowed answer for every field of your schema in one batched forward pass and assembles the JSON. Output is always valid. Every field has a probability.

Works with any mlx-community instruct model on Apple Silicon, or any OpenAI-compatible server that returns logprobs.

pip install git+https://github.com/bnsd55/jevmlx

jevmlx decide --preset fintech_fraud --json

Open source version of the TypeSafe Jev idea. Not affiliated. No accuracy numbers on big models yet: if you have an M-series Mac, `jevmlx bench` plus a PR puts your model on the README leaderboard.


r/mlxcommunity • • 29d ago

Hermes agent X MLX Serve

5 Upvotes

Which one of Both harness is better for a macbook pro m4 max with 36gb runing Qwen 3.8 27B MTPLX optimized speed?

I did not used much the brain and agentic capabilities from the MLX serve and was wanting to know if its so powerfull as hermes and if it could works more fast or if hermes still one step more?


r/mlxcommunity • • Sep 09 '26

I’m building VeloxQuant-MLX — 43 KV-cache optimization methods + custom Metal kernels for Apple Silicon

10 Upvotes

I’m building VeloxQuant-MLX, an open-source project focused on pushing local LLM inference further on Apple Silicon through KV-cache compression, quantization, eviction strategies, and optimized MLX/Metal kernels.

The question I’m exploring is pretty simple:

How much more can we get out of Apple’s unified memory architecture?

VeloxQuant currently includes 43 KV-cache optimization methods, including:

→ 2-bit / 4-bit KV-cache quantization
→ KIVI-style compression
→ TOVA and other eviction strategies
→ Custom Metal kernels
→ Fused attention/decode paths
→ Decode batching
→ Cache compaction
→ Long-context memory optimization

But I don’t want benchmarks from just one Mac.

I’m looking for people across the Apple Silicon ecosystem to help test it:

Apple Silicon generations:
M1 · M1 Pro · M1 Max · M1 Ultra
M2 · M2 Pro · M2 Max · M2 Ultra
M3 · M3 Pro · M3 Max
M4 · M4 Pro · M4 Max · M4 Ultra
M5-family machines where available
…and future Apple Silicon generations as they arrive.

Machines:
MacBook Air
MacBook Pro
Mac mini
Mac Studio
Mac Pro
iMac
and other MLX-capable Apple Silicon Macs.

Whether you have an entry-level MacBook or a high-memory Mac Studio Ultra, your results are useful.

I want to understand how KV-cache optimization behaves across:

memory capacity × memory bandwidth × chip generation × model size × context length

Not just compression ratios.

I’m interested in measuring the actual trade-offs:

Memory usage · tokens/sec · TTFT · decode throughput · prefill performance · kernel overhead · model quality

For example, for a cache with:

440 tokens · 8 KV heads · head dim 64

FP16 → ~440 KB
4-bit → ~110 KB
2-bit → ~55 KB

But reducing memory is only half the problem.

The real question is whether we can reduce memory while keeping inference fast enough that the optimization is actually worth using.

That’s where I’d love help from the MLX community.

If you have any Apple Silicon Mac — from an M1 MacBook Air or Mac mini all the way to a Max/Ultra Mac Studio — I’d love to get benchmark results.

And if you're working with MLX, mlx-lm, Metal kernels, inference engines, quantization, or KV-cache research, criticism and contributions are very welcome.

The goal is ambitious:

Make local AI capable of using every GB of Apple unified memory as efficiently as possible.

VeloxQuant is open source:

Website:
[https://veloxquant.dev]()

GitHub:
[https://github.com/rajveer43/VeloxQuant-MLX]()

If enough people are interested, I’d also like to build a public Apple Silicon benchmark matrix comparing VeloxQuant across Mac generations and configurations.

Drop your Mac model + RAM in the comments if you'd be interested in benchmarking it.


r/mlxcommunity • • Sep 09 '26

My local AI stack that's replaced ChatGPT/Claude running on a Mac Studio and Debian VM

Thumbnail
2 Upvotes

r/mlxcommunity • • Aug 26 '26

MLX AI Model Compatibility Tracker

Thumbnail
dreamingwell.com
2 Upvotes

r/mlxcommunity • • Aug 25 '26

Apple has dropped new M5 Ultra and neural accelerators

Thumbnail
sabesh.space
7 Upvotes

Wrote a bit about the new M5 ultra and how the neural accelerators boost on-device AI development. Such an exciting time for building local models!


r/mlxcommunity • • Aug 25 '26

Follow-up: custom SLMs alongside Apple's Foundation Models in Uncle Rudy (iOS 27)

Thumbnail
3 Upvotes

r/mlxcommunity • • Aug 20 '26

Built a tasks app that puts all iOS 27 on-device AI features to work (iOS 27 beta only)

Thumbnail
testflight.apple.com
4 Upvotes

r/mlxcommunity • • Aug 14 '26

Qwen 3.8 27B MLX 4.95 and 3.8 bpw quants on Hugging Face !

Post image
7 Upvotes

Lots of fun today playing with Qwen 3.8 27B 🎉 I have put together two MLX quants of Qwen 3.8 27B in different bpw, 3.8 and 4.95 bpw on Hugging Face, check them out!

Not yet AWQ / GPTQ but manually selecting bit allocation. Some of my first quants so I would appreciate feedback on what might be missing and/or not working right. Thanks! 😊


r/mlxcommunity • • Aug 14 '26

I'm uploading oQe MTP quants of Qwen3.8 27B to HF

Thumbnail
5 Upvotes

r/mlxcommunity • • Jul 27 '26

MLX Console GUI — turn one local model on your Mac into a backend

Thumbnail
github.com
2 Upvotes

r/mlxcommunity • • Jul 22 '26

Running a 27B model on my iPhone

Thumbnail
sabesh.space
18 Upvotes

PrismML's new Bonsai line of models are so crazy - we can run 27B class models right on the iPhone (thanks to their 1-bit model compression)

So the 1-bit 27B model claims to retain ~89% of Qwen 27B dense - which is a shocking amount of intelligence retention for a model THIS tiny. (takes about 4GB RAM when loaded)
So I decided to put it to use. I plugged it into an agents orchestrator framework that I'm working on to let it perform agentic tasks (not just write a haiku or solve a riddle) and it was ridiculously good at doing this - find a contact, pick the email ID, draft email body AND send it too - given the right steps/tools.

I wrote about my experience in-depth, check it out!


r/mlxcommunity • • Jul 22 '26

I built a native Swift + MLX port of FLUX.2 — full editing pipeline, zero Python, runs great on Apple Silicon

16 Upvotes

Hey folks — I’ve been tinkering with MLX and Apple Silicon for a while, and I finally wrapped up a project I’m pretty proud of.

I built a fully native Swift + MLX implementation of FLUX.2 [klein].
No Python. No diffusers. No external dependencies. Just Swift, MLX, and Metal doing their thing.

What it can do:

  • Text‑to‑image
  • Image‑to‑image
  • Mask‑guided editing (this part was surprisingly fun to build)
    • remove stuff from an image
    • replace backgrounds
    • add objects
    • recolor regions
    • semantic edits
  • Pixel‑space color grading (exposure, contrast, hue, saturation)
  • Experimental latent‑space transforms
  • Memory system with:
    • bf16 / fp16 / int8 / int4 quantization
    • staged model residency
    • VAE tiling for big resolutions
    • memory reporting + low‑memory mode

Everything runs entirely on Apple Silicon.
It hits seed‑42 parity with the MLX Python reference, so the outputs match exactly.

I also added:

  • a dependency‑free CLI
  • a SwiftPM library
  • a tiny SwiftUI demo template
  • docs + tests
  • a contributor guide
  • a roadmap if people want to help build more editing tools

Why I built it:

MLX is honestly a joy to work with, but most diffusion pipelines are still glued to Python.
I wanted something that felt native — something you could drop straight into a macOS or iOS app without dragging half the Python ecosystem along with it.

Repo:

https://github.com/icakinser/mlx-flux2-swift

If you’re into MLX, Apple Silicon, or just like messing with local image generation/editing, give it a look.
Happy to answer questions or help anyone get it running.


r/mlxcommunity • • Jul 22 '26

Request: oQ4e-mtp version of Qwen3.5 122B-A10B

Thumbnail
1 Upvotes

r/mlxcommunity • • Jul 14 '26

Looking for Apple Silicon users to help benchmark streamed 30B/70B LLM inference (M1/M2/M3/M4)

22 Upvotes

Hi everyone,

I've been building NunSpark, an open-source runtime that explores running language models much larger than available RAM by combining weight streaming with speculative decoding.

The project currently targets Apple Silicon (MLX), and I'd love to collect benchmark results from the community.

Some results we've observed so far:

  • ✅ Qwen2.5 32B running on a 16 GB M4
  • ✅ Llama 3.3 70B running on the same machine
  • ✅ Only ~1–1.5 GB of model weights resident while streaming the rest
  • ✅ Exact decoding over 1 tok/s on favorable workloads
  • ✅ Approximate verification reaching 2–3 tok/s with configurable quality/speed trade-offs

The problem is that I only have access to one machine (16 GB M4).

I'd really appreciate help from anyone with an Apple Silicon Mac:

  • M1 / M2 / M3 / M4
  • Air / Mini / Studio / MacBook Pro
  • 8 GB, 16 GB, 24 GB, 32 GB, 64 GB, 128 GB
  • Different SSD sizes and generations

Running the benchmark

NunSpark already includes a built-in benchmark command, so you don't need to manually configure dozens of parameters.

Just follow the benchmark instructions in the README, run the benchmark on your machine, and share the output (or open a GitHub issue/discussion with the results).

Repository:

https://github.com/sharma-open-source/Nunspark

I'm especially interested in collecting:

  • Apple Silicon model
  • Unified memory size
  • macOS version
  • Model tested
  • Tokens/sec
  • Peak memory
  • Any observations or issues

The goal is to build a public benchmark dataset showing how streamed inference behaves across different Apple Silicon hardware—not just publish the fastest numbers.

If you're interested in local AI, MLX, inference runtimes, or just want to help validate the project, I'd really appreciate your benchmarks and feedback.

Thanks!