// RUN โ€” FITS

Can the NVIDIA L40S 48GB run ERNIE-Doc Base (151M, WT103)?

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

ERNIE-Doc Base (151M, WT103) on the NVIDIA L40S 48GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 646k 2088.5-2489 t/s ~96.7-115.2 (slow)
Q8 yes 649k 4177-4978 t/s ~193.4-230.5 (slow)
Q4 yes 650k 7458.8-8889.3 t/s ~345.3-411.5 (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 ERNIE-Doc Base (151M, WT103)?โ–ถ

Yes. At Q4 it generates ~7458.8-8889.3 tok/s and fits up to 650k context; beyond that it spills to system RAM offload (depends on your system RAM) and slows to ~345.3-411.5 tok/s.

How much context fits?โ–ถ

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