// RUN โ€” FITS

Can the NVIDIA L40S 48GB run Selfish-RNN (SNT-ASGD) Stacked LSTMs?

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

Selfish-RNN (SNT-ASGD) Stacked LSTMs on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 650k 12514.3-14914.3 t/s ~579.4-690.5 (slow)
Q8 yes 651k 25028.6-29828.6 t/s ~1158.7-1381 (slow)
Q4 yes 651k 44693.9-53265.3 t/s ~2069.2-2466 (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 Selfish-RNN (SNT-ASGD) Stacked LSTMs?โ–ถ

Yes. At Q4 it generates ~44693.9-53265.3 tok/s and fits up to 651k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~2069.2-2466 tok/s.

How much context fits?โ–ถ

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