// RUN โ€” FITS

Can the Apple M4 Max 64GB run DiT-XL/2?

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

DiT-XL/2 on the Apple M4 Max 64GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 835k 275-331.6 t/s ~5-6.1 (slow)
Q8 yes 846k 550-663.3 t/s ~10.1-12.1 (slow)
Q4 yes 850k 982.2-1184.4 t/s ~18-21.7 (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 DiT-XL/2?โ–ถ

Yes. At Q4 it generates ~982.2-1184.4 tok/s and fits up to 850k context; beyond that it spills to SSD swap and slows to ~18-21.7 tok/s.

How much context fits?โ–ถ

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