corehu

OPEN MODELS / internlm2-chat-20b

Can you run internlm2-chat-20b on L40S?

Needs 2 GPUs

Not on a single card: internlm2-chat-20b needs about 49 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 22 tokens per second, roughly $25.47 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
≈ 49 GB
L40S memory
48 GB
Free memory
47 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 internlm2-chat-20b today

Questions

Can I run internlm2-chat-20b on L40S?
Not on a single card: internlm2-chat-20b needs about 49 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 internlm2-chat-20b on L40S?
2× L40S from $2.02 per hour, billed per second. Ten hours cost about $20.20.