CodeLlama-13b-Instruct-hf vs Llama-2-13b-chat-hf
CodeLlama-13b-Instruct-hf and Llama-2-13b-chat-hf need about the same GPU memory (33 GB). Cheapest way to run them today: CodeLlama-13b-Instruct-hf from $0.52 per hour on Q RTX 8000, Llama-2-13b-chat-hf from $0.52 per hour on Q RTX 8000.
| CodeLlama-13b-Instruct-hf | Llama-2-13b-chat-hf | |
|---|---|---|
| Developer | codellama | meta-llama |
| Parameters | 13B | 13B |
| Weights | BF16 | F16 |
| License | llama2 | llama2 |
| GPU memory needed | ≈ 33 GB | ≈ 33 GB |
| Memory at 4-bit | ≈ 11 GB | ≈ 11 GB |
| Cheapest GPU that fits | Q RTX 8000 · $0.52 | Q RTX 8000 · $0.52 |
| Speed (est.) | ≈ 14 tok/s · $10.16/1M | ≈ 14 tok/s · $10.16/1M |
| Downloads | 9,208 | 136,407 |
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, CodeLlama-13b-Instruct-hf or Llama-2-13b-chat-hf?
- CodeLlama-13b-Instruct-hf and Llama-2-13b-chat-hf need about the same GPU memory (33 GB).
- Which is cheaper to run, CodeLlama-13b-Instruct-hf or Llama-2-13b-chat-hf?
- Cheapest way to run them today: CodeLlama-13b-Instruct-hf from $0.52 per hour on Q RTX 8000, Llama-2-13b-chat-hf from $0.52 per hour on Q RTX 8000.