// RUN โ€” FITS

Can the NVIDIA L40S 48GB run Stable Diffusion (LDM-KL-8-G)?

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

Stable Diffusion (LDM-KL-8-G) on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 607k 217.5-259.2 t/s ~10.1-12 (slow)
Q8 yes 629k 435-518.4 t/s ~20.1-24 (slow)
Q4 yes 639k 776.7-925.7 t/s ~36-42.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 Stable Diffusion (LDM-KL-8-G)?โ–ถ

Yes. At Q4 it generates ~776.7-925.7 tok/s and fits up to 639k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~36-42.9 tok/s.

How much context fits?โ–ถ

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