CodeLlama-7b-hf vs CodeLlama-7b-Instruct-hf
CodeLlama-7b-hf and CodeLlama-7b-Instruct-hf 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, CodeLlama-7b-Instruct-hf from $1.24 per hour on RTX A6000.
| CodeLlama-7b-hf | CodeLlama-7b-Instruct-hf | |
|---|---|---|
| Developer | codellama | codellama |
| Parameters | 6.7B | 6.7B |
| Weights | BF16 | BF16 |
| License | llama2 | llama2 |
| GPU memory needed | ≈ 18 GB | ≈ 18 GB |
| Memory at 4-bit | ≈ 6 GB | ≈ 6 GB |
| Cheapest GPU that fits | RTX A6000 · $1.24 | RTX A6000 · $1.24 |
| Downloads | 81,925 | 10,558 |
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 CodeLlama-7b-Instruct-hf?
- CodeLlama-7b-hf and CodeLlama-7b-Instruct-hf need about the same GPU memory (18 GB).
- Which is cheaper to run, CodeLlama-7b-hf or CodeLlama-7b-Instruct-hf?
- Cheapest way to run them today: CodeLlama-7b-hf from $1.24 per hour on RTX A6000, CodeLlama-7b-Instruct-hf from $1.24 per hour on RTX A6000.