// RUN โ€” FITS

Can the NVIDIA L40S 48GB run Gemma 3n?

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

Gemma 3n on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 206k 40.2-47.9 t/s ~1.9-2.2 (slow)
Q8 yes 266k 80.3-95.8 t/s ~3.7-4.4 (slow)
Q4 yes 292k 143.5-171 t/s ~6.6-7.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 Gemma 3n?โ–ถ

Yes. At Q4 it generates ~143.5-171 tok/s and fits up to 292k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~6.6-7.9 tok/s.

How much context fits?โ–ถ

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