// RUN โ€” FITS

Can the Apple M2 Max 32GB 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 M2 Max 32GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 313k 40-48.2 t/s ~1-1.2 (slow)
Q8 yes 365k 80-96.5 t/s ~2-2.4 (slow)
Q4 yes 388k 142.9-172.3 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 M2 Max 32GB run Stable Diffusion XL (SDXL)?โ–ถ

Yes. At Q4 it generates ~142.9-172.3 tok/s and fits up to 388k 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 388k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.