r/Shuttrr • • 3h ago

Fixed a bug where one model silently slowed down every model after it in my Mac AI engine, plus a few other speed fixes

1 Upvotes

I build Shuttrr, a free Mac app for running image, video and voice models locally with MLX. This week I went through the engine looking for speed problems. Here's what turned up.

The bug: LongCat (a talking-avatar model) needs TF32 turned off to get exact output. The engine was turning it off globally and never turning it back on, so after a single LongCat job, every later job of every model ran on the slower path until a restart. Wan's video decode, for example, was about 20% slower. Now TF32 is only off while LongCat runs.

Other changes:

  • Wan now streams weights from the SSD with zero copies, the way Z-Image already did. Output is bit-identical.
  • Time estimates no longer assume every Apple chip is an M5 with fewer cores. Measured per core, an M1 is about 0.21x an M5, so older Macs now get honest ETAs.
  • Memory is capped at 95% of the GPU's recommended working set, and jobs are never refused because of it.
  • TeaCache for Wan is available as an opt-in setting. It's off by default because it changes the output.

What didn't help, measured: fp8 weights on M5 weren't faster and had 3.7x the error. Raising the wired memory limit did nothing. Bigger streaming windows didn't help, because Z-Image never waits on the SSD anyway.

Z-Image and H3 run at the same speed as before (Z-Image 768px takes about 33 s on a 16 GB M5), with identical images and no swap. 786 Python and 87 Rust tests pass. It's coming in 0.3.9.

Happy to answer questions about MLX on low-RAM Macs.


r/Shuttrr • • 2d ago

MiniMax H3, a 20B image model, now runs on a 16 GB MacBook in Shuttrr (3.25 GB peak memory)

1 Upvotes

Shuttrr 0.3.3 is out, and it adds MiniMax H3-Image (Beta).

H3 is a big one. The image model is 20B parameters, and the text encoder that reads your prompt is a 32B vision-language model. Put together, that's about 43 GB that normally has to sit in memory at the same time. That's Mac Studio territory.

On my 16 GB MacBook Pro M5, Shuttrr ran it at 3.25 GB peak memory. A 512×640 image took about 62 seconds, with no swap growth, measured in the app with my normal stuff open.

How it fits Shuttrr doesn't load the whole model. It reads the text encoder one layer at a time, then streams the image model from your SSD two blocks at a time, only keeping what it needs right now. Every memory step gives the same output, it just trades speed for memory. If your Mac has more memory, Shuttrr keeps more of the model loaded and runs faster.

How to try it

  1. Update Shuttrr (it'll offer 0.3.3), or grab it from GitHub
  2. Open Models and download MiniMax H3-Image (44 GB, so give it a while)
  3. Accept the licence and start making images

Converted weights are on Hugging Face: SarthakRawool/MiniMax-H3-Image-MLX-8bit-LowMem

Good to know

  • It's a Beta. Tell me what breaks.
  • MiniMax's licence doesn't allow use in the US, EU, UK or South Korea, and commercial use is only free under $1M in revenue. Shuttrr shows the licence before the download.
  • Next I want to make it faster (reading the next blocks from the SSD while the current ones compute).

Get it: https://github.com/sarthakrawool/shuttrr

If you try it, post your Mac, RAM, image size and time below. I want to see how it does on other machines.


r/Shuttrr • • 2d ago

Want to make AI images and videos on your MacBook for free, but only have 16 GB of RAM? I built Shuttrr for you.

Post image
3 Upvotes

Hey everyone, welcome to the Shuttrr community 👋

When I went looking for a way to run image and video models on my own Mac, I found loads of tools for running LLMs locally. People were squeezing chat models onto laptops, quantising them, streaming them, benchmarking every token.

But for local content generation, the image and video models, there was almost nothing. Every guide said the same thing: you need 64 GB of memory, or a big NVIDIA card, or you pay for a cloud subscription.

I have a 16 GB MacBook Pro. So I decided to build it myself.

The idea: don't load the whole model. Big diffusion models don't need every weight in memory at the same time. Shuttrr keeps only the part of the model it's working on right now in memory, and streams the rest straight from your SSD as it goes. On Apple SSDs the extra time is smaller than you would expect, and it means models much bigger than your RAM can still run.

What it does on my 16 GB MacBook Pro M5 (measured with the app running, no swap growth):

  • MiniMax H3-Image (a 20B image model, 44 GB on disk): about 3.25 GB peak memory, a 512×640 image in about 62 s. Coming in the next update.
  • Wan 2.2 TI2V 5B (text/image to video, 14.3 GB on disk): a 720p clip at about 5.4 GB peak, around 10 minutes.
  • Z-Image Turbo (11 GB on disk): a 1024px image at about 1.8 GB peak, in roughly 70 s.

It also has a swap watchdog, so if your Mac starts running out of memory Shuttrr stops the request cleanly instead of freezing your laptop.

The stuff that matters:

  • Free and open source
  • Everything runs on your Mac. No cloud, no account, no credits
  • A native Mac app with one-click model downloads
  • It picks safe settings for your Mac's memory, but every setting is yours to change

Get it: https://github.com/sarthakrawool/shuttrr

What this community is for: Share what you make, post your Mac model + RAM + timings, ask for help, and tell me which models you want next. I read everything here.

What Mac are you on, and what would you make first?


r/Shuttrr • • 2d ago

Run Minimax H3 Image on 3.25 GB OF RAM 😱😱 at an 8 BIT QUANT 🔥 locally for FREE 💰

1 Upvotes

~ 62s per output benchmarked on a M5 macbook Pro
~ Close to full precision level output
~ Streaming weights off your ssd without wearing it down (read only processes)
~ Fully open source, fully free inference engine

Try out Shuttrr today :

https://github.com/sarthakrawool/shuttrr