Llama-2-13b-hf vs CodeLlama-13B-GGUF
CodeLlama-13B-GGUF needs about 22 GB less GPU memory than Llama-2-13b-hf (11 GB vs 33 GB). Cheapest way to run them today: Llama-2-13b-hf from $1.20 per hour on RTX A6000, CodeLlama-13B-GGUF from $0.47 per hour on RTX PRO 4000.
| Llama-2-13b-hf | CodeLlama-13B-GGUF | |
|---|---|---|
| Developer | NousResearch | TheBloke |
| Parameters | 13B | 13B |
| Weights | F16 | GGUF |
| License | — | llama2 |
| GPU memory needed | ≈ 33 GB | ≈ 11 GB |
| Memory at 4-bit | ≈ 11 GB | — |
| Cheapest GPU that fits | RTX A6000 · $1.20 | RTX PRO 4000 · $0.47 |
| Speed (est.) | — | ≈ 47 tok/s · $2.75/1M |
| Downloads | 4,690 | 4,392 |
Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.
Questions
- Which needs less GPU memory, Llama-2-13b-hf or CodeLlama-13B-GGUF?
- CodeLlama-13B-GGUF needs about 22 GB less GPU memory than Llama-2-13b-hf (11 GB vs 33 GB).
- Which is cheaper to run, Llama-2-13b-hf or CodeLlama-13B-GGUF?
- Cheapest way to run them today: Llama-2-13b-hf from $1.20 per hour on RTX A6000, CodeLlama-13B-GGUF from $0.47 per hour on RTX PRO 4000.