// RUN โ€” FITS

Can the NVIDIA L40S 48GB run Kosmos-2?

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

Kosmos-2 on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 602k 197.1-234.9 t/s ~9.1-10.9 (slow)
Q8 yes 627k 394.2-469.8 t/s ~18.3-21.8 (slow)
Q4 yes 637k 703.9-838.9 t/s ~32.6-38.8 (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 Kosmos-2?โ–ถ

Yes. At Q4 it generates ~703.9-838.9 tok/s and fits up to 637k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~32.6-38.8 tok/s.

How much context fits?โ–ถ

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