distilgpt2 vs opt-125m
distilgpt2 and opt-125m need about the same GPU memory (2 GB). Cheapest way to run them today: distilgpt2 from $0.07 per hour on Quadro P2000, opt-125m from $0.07 per hour on Quadro P2000.
| distilgpt2 | opt-125m | |
|---|---|---|
| Developer | distilbert | |
| Parameters | 90M | 130M |
| Weights | F32 | — |
| License | apache-2.0 | — |
| GPU memory needed | ≈ 2 GB | ≈ 2 GB |
| Memory at 4-bit | ≈ 2 GB | ≈ 2 GB |
| Cheapest GPU that fits | Quadro P2000 · $0.07 | Quadro P2000 · $0.07 |
| Speed (est.) | ≈ 455 tok/s · $0.04/1M | ≈ 315 tok/s · $0.06/1M |
| Downloads | 1,362,512 | 4,817,259 |
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, distilgpt2 or opt-125m?
- distilgpt2 and opt-125m need about the same GPU memory (2 GB).
- Which is cheaper to run, distilgpt2 or opt-125m?
- Cheapest way to run them today: distilgpt2 from $0.07 per hour on Quadro P2000, opt-125m from $0.07 per hour on Quadro P2000.