// RUN โ€” FITS

Can the NVIDIA L40S 48GB run StarCoder 2 15B?

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

StarCoder 2 15B on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 48k 21-25.1 t/s ~1-1.2 (slow)
Q8 yes 106k 42-50.1 t/s ~1.9-2.3 (slow)
Q4 yes 131k 75.1-89.5 t/s ~3.5-4.1 (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 StarCoder 2 15B?โ–ถ

Yes. At Q4 it generates ~75.1-89.5 tok/s and fits up to 131k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~3.5-4.1 tok/s.

How much context fits?โ–ถ

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