Llama-3.1-8B vs Llama-xLAM-2-8b-fc-r-gguf
Llama-xLAM-2-8b-fc-r-gguf needs about 14 GB less GPU memory than Llama-3.1-8B (7 GB vs 21 GB). Cheapest way to run them today: Llama-3.1-8B from $0.23 per hour on RTX 2080 Ti, Llama-xLAM-2-8b-fc-r-gguf from $0.16 per hour on GTX 1070.
| Llama-3.1-8B | Llama-xLAM-2-8b-fc-r-gguf | |
|---|---|---|
| Developer | meta-llama | Salesforce |
| Parameters | 8B | 8B |
| Weights | BF16 | GGUF |
| License | llama3.1 | cc-by-nc-4.0 |
| GPU memory needed | ≈ 21 GB | ≈ 7 GB |
| Memory at 4-bit | ≈ 7 GB | — |
| Cheapest GPU that fits | RTX 2080 Ti · $0.23 | GTX 1070 · $0.16 |
| Speed (est.) | ≈ 22 tok/s · $2.93/1M | ≈ 28 tok/s · $1.58/1M |
| Downloads | 421,171 | 3,521 |
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-xLAM-2-8b-fc-r-gguf?
- Llama-xLAM-2-8b-fc-r-gguf needs about 14 GB less GPU memory than Llama-3.1-8B (7 GB vs 21 GB).
- Which is cheaper to run, Llama-3.1-8B or Llama-xLAM-2-8b-fc-r-gguf?
- Cheapest way to run them today: Llama-3.1-8B from $0.23 per hour on RTX 2080 Ti, Llama-xLAM-2-8b-fc-r-gguf from $0.16 per hour on GTX 1070.