corehu

OPEN MODELS / gpt-neox-20b

Can you run gpt-neox-20b on L40S?

Needs 2 GPUs

Not on a single card: gpt-neox-20b needs about 51 GB and one L40S has 48 GB. It fits on a machine with 2× L40S (96 GB in total).

A 4-bit quantized build needs about 16 GB and fits on one L40S.

For one request, expect about 21 tokens per second, roughly $26.60 per million generated tokens at this price.

Rent 2× L40S 2× L40S from $2.02 per hour, billed per second. Ten hours cost about $20.20.
Memory needed
≈ 51 GB
L40S memory
48 GB
Free memory
45 GB
2× L40S
Price per hour
$2.02
2× L40S

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Cheapest GPUs that fit gpt-neox-20b today

Questions

Can I run gpt-neox-20b on L40S?
Not on a single card: gpt-neox-20b needs about 51 GB and one L40S has 48 GB. It fits on a machine with 2× L40S (96 GB in total). A 4-bit quantized build needs about 16 GB and fits on one L40S.
How much does it cost to run gpt-neox-20b on L40S?
2× L40S from $2.02 per hour, billed per second. Ten hours cost about $20.20.