mamba-2.8b-hf vs phi-2-GGUF
phi-2-GGUF needs about 4 GB less GPU memory than mamba-2.8b-hf (4 GB vs 8 GB). Cheapest way to run them today: mamba-2.8b-hf from $0.13 per hour on GTX 1070, phi-2-GGUF from $0.07 per hour on Quadro P2000.
| mamba-2.8b-hf | phi-2-GGUF | |
|---|---|---|
| Developer | state-spaces | TheBloke |
| Parameters | 2.8B | 2.8B |
| Weights | F32 | GGUF |
| License | — | — |
| GPU memory needed | ≈ 8 GB | ≈ 4 GB |
| Memory at 4-bit | ≈ 3 GB | — |
| Cheapest GPU that fits | GTX 1070 · $0.13 | Quadro P2000 · $0.07 |
| Speed (est.) | ≈ 24 tok/s · $1.48/1M | ≈ 49 tok/s · $0.40/1M |
| Downloads | 5,196 | 21,666 |
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, mamba-2.8b-hf or phi-2-GGUF?
- phi-2-GGUF needs about 4 GB less GPU memory than mamba-2.8b-hf (4 GB vs 8 GB).
- Which is cheaper to run, mamba-2.8b-hf or phi-2-GGUF?
- Cheapest way to run them today: mamba-2.8b-hf from $0.13 per hour on GTX 1070, phi-2-GGUF from $0.07 per hour on Quadro P2000.