// RUN โ€” FITS

Can the NVIDIA L40S 48GB run code2seq?

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

code2seq on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 650k 8523.2-10157.8 t/s ~394.6-470.3 (slow)
Q8 yes 650k 17046.5-20315.7 t/s ~789.2-940.5 (slow)
Q4 yes 651k 30440.2-36278 t/s ~1409.3-1679.5 (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 code2seq?โ–ถ

Yes. At Q4 it generates ~30440.2-36278 tok/s and fits up to 651k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~1409.3-1679.5 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.