// RUN โ€” FITS

Can the NVIDIA L40S 48GB run StyleGAN?

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

StyleGAN on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 650k 12036.6-14345 t/s ~557.3-664.1 (slow)
Q8 yes 651k 24073.3-28690.1 t/s ~1114.5-1328.2 (slow)
Q4 yes 651k 42988-51232.3 t/s ~1990.2-2371.9 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to system RAM offload (depends on your system RAM) and speed drops to the "beyond" figure.

FAQ

Can the NVIDIA L40S 48GB run StyleGAN?โ–ถ

Yes. At Q4 it generates ~42988-51232.3 tok/s and fits up to 651k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~1990.2-2371.9 tok/s.

How much context fits?โ–ถ

At Q4, up to about 651k tokens stay in fast memory; longer context spills to system RAM offload (depends on your system RAM) and throughput collapses.