// RUN โ€” FITS

Can the NVIDIA L40S 48GB run CodeT5+?

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

CodeT5+ on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 41k 19.7-23.5 t/s ~0.9-1.1 (slow)
Q8 yes 102k 39.4-47 t/s ~1.8-2.2 (slow)
Q4 yes 129k 70.4-83.9 t/s ~3.3-3.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 CodeT5+?โ–ถ

Yes. At Q4 it generates ~70.4-83.9 tok/s and fits up to 129k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~3.3-3.9 tok/s.

How much context fits?โ–ถ

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