// RUN โ€” FITS

Can the NVIDIA L40S 48GB run ProtGPT2?

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

ProtGPT2 on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 628k 427.3-509.3 t/s ~19.8-23.6 (slow)
Q8 yes 640k 854.6-1018.5 t/s ~39.6-47.2 (slow)
Q4 yes 645k 1526.1-1818.8 t/s ~70.7-84.2 (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 ProtGPT2?โ–ถ

Yes. At Q4 it generates ~1526.1-1818.8 tok/s and fits up to 645k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~70.7-84.2 tok/s.

How much context fits?โ–ถ

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