// RUN โ€” FITS

Can the Apple M2 Max 96GB run StyleGAN2?

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

StyleGAN2 on the Apple M2 Max 96GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 1295k 4533.3-5466.7 t/s ~113.3-136.7 (slow)
Q8 yes 1295k 9066.7-10933.3 t/s ~226.7-273.3 (slow)
Q4 yes 1295k 16190.5-19523.8 t/s ~404.8-488.1 (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 96GB run StyleGAN2?โ–ถ

Yes. At Q4 it generates ~16190.5-19523.8 tok/s and fits up to 1295k context; beyond that it spills to SSD swap and slows to ~404.8-488.1 tok/s.

How much context fits?โ–ถ

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