// RUN โ€” FITS

Can the Apple M4 Max 64GB run Stable Diffusion XL (SDXL)?

Yes โ€” here's how fast and up to what context, with real measured numbers.

Stable Diffusion XL (SDXL) on the Apple M4 Max 64GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 752k 54.6-65.8 t/s ~1-1.2 (slow)
Q8 yes 804k 109.2-131.7 t/s ~2-2.4 (slow)
Q4 yes 827k 195-235.1 t/s ~3.6-4.3 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to SSD swap and speed drops to the "beyond" figure.

FAQ

Can the Apple M4 Max 64GB run Stable Diffusion XL (SDXL)?โ–ถ

Yes. At Q4 it generates ~195-235.1 tok/s and fits up to 827k context; beyond that it spills to SSD swap and slows to ~3.6-4.3 tok/s.

How much context fits?โ–ถ

At Q4, up to about 827k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.