OPEN MODELS / CodeLlama-7b-Python-hf
Can you run CodeLlama-7b-Python-hf on RTX 3090?
Fits on one GPU
Yes. CodeLlama-7b-Python-hf needs about 18 GB of GPU memory and one RTX 3090 has 24 GB, which leaves about 6 GB for longer context, bigger batches or higher resolution.
For one request, expect about 42 tokens per second, roughly $1.86 per million generated tokens at this price.
Rent RTX 3090 RTX 3090 from $0.28 per hour, billed per second. Ten hours cost about $2.80.
Memory needed
≈ 18 GB
RTX 3090 memory
24 GB
Free memory
6 GB
Price per hour
$0.28
Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.
Cheapest GPUs that fit CodeLlama-7b-Python-hf today
Questions
- Can I run CodeLlama-7b-Python-hf on RTX 3090?
- Yes. CodeLlama-7b-Python-hf needs about 18 GB of GPU memory and one RTX 3090 has 24 GB, which leaves about 6 GB for longer context, bigger batches or higher resolution.
- How much does it cost to run CodeLlama-7b-Python-hf on RTX 3090?
- RTX 3090 from $0.28 per hour, billed per second. Ten hours cost about $2.80.