// RUN โ€” FITS

Can the Apple M2 Max 32GB run CLIP (ViT L/14@336px)?

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

CLIP (ViT L/14@336px) on the Apple M2 Max 32GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 405k 367.6-443.2 t/s ~9.2-11.1 (slow)
Q8 yes 411k 735.1-886.5 t/s ~18.4-22.2 (slow)
Q4 yes 413k 1312.7-1583 t/s ~32.8-39.6 (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 CLIP (ViT L/14@336px)?โ–ถ

Yes. At Q4 it generates ~1312.7-1583 tok/s and fits up to 413k context; beyond that it spills to SSD swap and slows to ~32.8-39.6 tok/s.

How much context fits?โ–ถ

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