Before you rent a GPU, check for an MLX port

FastFrames-S on a 64GB M5 Pro Mac mini: 81 frames at 832x480 in 30.4 seconds, 376 ms a frame, about 23GB peak memory
Fig. 1. FastFrames-S run by @pratikg.

When a new open-weight model drops, the first thing I check is what hardware its code expects. Apple's FastFrames video model is a recent example. Apple put it on Hugging Face, and its code was written for CUDA.

Pratik (@pratikg) ported it to MLX anyway and ran it on his 64GB M5 Pro Mac mini. His numbers for FastFrames-S, the 1.3B version:

setting value
resolution 832x480
clip 81 frames (5 seconds at 16fps)
total generation time 30.4 s
per frame 376 ms
peak memory about 23 GB

He's upfront that it's still about 6x slower than real time. I agree, and I still think it's the interesting part: a five second clip in about half a minute, on a machine that sits on a desk.

CUDA-only usually means nobody has ported it yet

I spend most of my time optimizing local models on Mac silicon, so I care about this. Earlier this month I ported Qwen3.8-Flash-Next to MLX and got a smoke test passing on my M3 Max. That run measured weight error, which isn't the same thing as accuracy, and I said so when I posted it. Still, the model ran on my hardware.

Pratik did the same thing the same week with a different kind of model. His Clairic-flash 9B benchmark (Cloudflare's open-weight document reader) reports 40.5 tok/s at 4-bit on MLX, which he measured as 3.2x faster than the PyTorch path, with 7.2 GB of memory in use.

So a model that ships CUDA-only isn't proof your Mac can't run it. Usually it just hasn't been ported yet.

What I'd check before renting a GPU

  1. Look for an existing MLX port. Search Hugging Face for the model name plus "mlx" before you spin anything up.
  2. Compare peak memory to your unified memory. FastFrames-S peaked around 23 GB on a 64 GB machine. That number tells you whether it'll fit at all on yours.
  3. Measure against the reference path. Pratik's 3.2x figure for Clairic-flash only means something because he ran PyTorch on the same Mac too. Run a baseline before you call a port fast.
  4. Say what you measured. Time per frame, tok/s, weight error and accuracy are different numbers. Label the one you have.

Credit for the FastFrames and Clairic-flash numbers goes to @pratikg. The FastFrames model is Apple's, announced on X by @victormustar with a link to apple/FastFrames-L on Hugging Face.

Tags: MLX Local inference macOS

All ship logs