Llama-3.1-8B vs Llama-3.1-8B-Instruct-FP8
Llama-3.1-8B-Instruct-FP8 needs about 10 GB less GPU memory than Llama-3.1-8B (11 GB vs 21 GB). Cheapest way to run them today: Llama-3.1-8B from $0.23 per hour on RTX 2080 Ti, Llama-3.1-8B-Instruct-FP8 from $0.14 per hour on RTX 2060.
| Llama-3.1-8B | Llama-3.1-8B-Instruct-FP8 | |
|---|---|---|
| Developer | meta-llama | nvidia |
| Parameters | 8B | 8B |
| Weights | BF16 | F8_E4M3 |
| License | llama3.1 | llama3.1 |
| GPU memory needed | ≈ 21 GB | ≈ 11 GB |
| Memory at 4-bit | ≈ 7 GB | ≈ 7 GB |
| Cheapest GPU that fits | RTX 2080 Ti · $0.23 | RTX 2060 · $0.14 |
| Speed (est.) | ≈ 22 tok/s · $2.90/1M | ≈ 23 tok/s · $1.67/1M |
| Downloads | 421,171 | 41,528 |
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-3.1-8B or Llama-3.1-8B-Instruct-FP8?
- Llama-3.1-8B-Instruct-FP8 needs about 10 GB less GPU memory than Llama-3.1-8B (11 GB vs 21 GB).
- Which is cheaper to run, Llama-3.1-8B or Llama-3.1-8B-Instruct-FP8?
- Cheapest way to run them today: Llama-3.1-8B from $0.23 per hour on RTX 2080 Ti, Llama-3.1-8B-Instruct-FP8 from $0.14 per hour on RTX 2060.