// RUN โ€” FITS

Can the NVIDIA L40S 48GB run Stable LM 2 12B?

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

Stable LM 2 12B on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 112k 26-30.9 t/s ~1.2-1.4 (slow)
Q8 yes 186k 51.9-61.9 t/s ~2.4-2.9 (slow)
Q4 yes 219k 92.7-110.5 t/s ~4.3-5.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 Stable LM 2 12B?โ–ถ

Yes. At Q4 it generates ~92.7-110.5 tok/s and fits up to 219k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~4.3-5.1 tok/s.

How much context fits?โ–ถ

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