corehu

OPEN MODELS / Llama-2-13b-hf

Can you run Llama-2-13b-hf on RTX 3090?

Needs 2 GPUs

Not on a single card: Llama-2-13b-hf needs about 33 GB and one RTX 3090 has 24 GB. It fits on a machine with 2× RTX 3090 (48 GB in total).

A 4-bit quantized build needs about 11 GB and fits on one RTX 3090.

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

Rent 2× RTX 3090 2× RTX 3090 from $0.68 per hour, billed per second. Ten hours cost about $6.80.
Memory needed
≈ 33 GB
RTX 3090 memory
24 GB
Free memory
15 GB
2× RTX 3090
Price per hour
$0.68
2× RTX 3090

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

Cheapest GPUs that fit Llama-2-13b-hf today

Questions

Can I run Llama-2-13b-hf on RTX 3090?
Not on a single card: Llama-2-13b-hf needs about 33 GB and one RTX 3090 has 24 GB. It fits on a machine with 2× RTX 3090 (48 GB in total). A 4-bit quantized build needs about 11 GB and fits on one RTX 3090.
How much does it cost to run Llama-2-13b-hf on RTX 3090?
2× RTX 3090 from $0.68 per hour, billed per second. Ten hours cost about $6.80.