Llama-2-13b-chat-hf vs CodeLlama-13B-GGUF
CodeLlama-13B-GGUF needs about 22 GB less GPU memory than Llama-2-13b-chat-hf (11 GB vs 33 GB). Cheapest way to run them today: Llama-2-13b-chat-hf from $0.54 per hour on Q RTX 8000, CodeLlama-13B-GGUF from $0.17 per hour on RTX 3060.
| Llama-2-13b-chat-hf | CodeLlama-13B-GGUF | |
|---|---|---|
| Developer | meta-llama | TheBloke |
| Parameters | 13B | 13B |
| Weights | F16 | GGUF |
| License | llama2 | llama2 |
| GPU memory needed | ≈ 33 GB | ≈ 11 GB |
| Memory at 4-bit | ≈ 11 GB | — |
| Cheapest GPU that fits | Q RTX 8000 · $0.54 | RTX 3060 · $0.17 |
| Speed (est.) | ≈ 13 tok/s · $11.32/1M | ≈ 28 tok/s · $1.66/1M |
| Downloads | 136,407 | 4,269 |
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-chat-hf or CodeLlama-13B-GGUF?
- CodeLlama-13B-GGUF needs about 22 GB less GPU memory than Llama-2-13b-chat-hf (11 GB vs 33 GB).
- Which is cheaper to run, Llama-2-13b-chat-hf or CodeLlama-13B-GGUF?
- Cheapest way to run them today: Llama-2-13b-chat-hf from $0.54 per hour on Q RTX 8000, CodeLlama-13B-GGUF from $0.17 per hour on RTX 3060.