corehu

OPEN MODELS

CodeLlama-7b-hf vs opt-6.7b

CodeLlama-7b-hf and opt-6.7b need about the same GPU memory (18 GB). Cheapest way to run them today: CodeLlama-7b-hf from $1.24 per hour on RTX A6000, opt-6.7b from $1.24 per hour on RTX A6000.

CodeLlama-7b-hfopt-6.7b
Developercodellamafacebook
Parameters6.7B6.7B
WeightsBF16—
Licensellama2—
GPU memory needed≈ 18 GB≈ 18 GB
Memory at 4-bit≈ 6 GB≈ 6 GB
Cheapest GPU that fitsRTX A6000 · $1.24RTX A6000 · $1.24
Downloads81,92526,611

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

Questions

Which needs less GPU memory, CodeLlama-7b-hf or opt-6.7b?
CodeLlama-7b-hf and opt-6.7b need about the same GPU memory (18 GB).
Which is cheaper to run, CodeLlama-7b-hf or opt-6.7b?
Cheapest way to run them today: CodeLlama-7b-hf from $1.24 per hour on RTX A6000, opt-6.7b from $1.24 per hour on RTX A6000.