Can you run Meta-Llama-3-8B on L40S?
Fits on one GPU
Yes. Meta-Llama-3-8B needs about 21 GB of GPU memory and one L40S has 48 GB, which leaves about 27 GB for longer context, bigger batches or higher resolution.
For one request, expect about 27 tokens per second, roughly $15.40 per million generated tokens at this price.
Rent L40S L40S from $1.51 per hour, billed per second. Ten hours cost about $15.10.
Memory needed
≈ 21 GB
L40S memory
48 GB
Free memory
27 GB
Price per hour
$1.51
Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.
Cheapest GPUs that fit Meta-Llama-3-8B today
Questions
- Can I run Meta-Llama-3-8B on L40S?
- Yes. Meta-Llama-3-8B needs about 21 GB of GPU memory and one L40S has 48 GB, which leaves about 27 GB for longer context, bigger batches or higher resolution.
- How much does it cost to run Meta-Llama-3-8B on L40S?
- L40S from $1.51 per hour, billed per second. Ten hours cost about $15.10.