codegemma-2b vs gemma-2b-it
codegemma-2b and gemma-2b-it need about the same GPU memory (8 GB). Cheapest way to run them today: codegemma-2b from $0.13 per hour on GTX 1070, gemma-2b-it from $0.13 per hour on GTX 1070.
| codegemma-2b | gemma-2b-it | |
|---|---|---|
| Developer | unsloth | |
| Parameters | 2.5B | 2.5B |
| Weights | BF16 | BF16 |
| License | gemma | apache-2.0 |
| GPU memory needed | ≈ 8 GB | ≈ 8 GB |
| Memory at 4-bit | ≈ 3 GB | ≈ 3 GB |
| Cheapest GPU that fits | GTX 1070 · $0.13 | GTX 1070 · $0.13 |
| Speed (est.) | ≈ 27 tok/s · $1.34/1M | ≈ 27 tok/s · $1.34/1M |
| Downloads | 2,582 | 12,023 |
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, codegemma-2b or gemma-2b-it?
- codegemma-2b and gemma-2b-it need about the same GPU memory (8 GB).
- Which is cheaper to run, codegemma-2b or gemma-2b-it?
- Cheapest way to run them today: codegemma-2b from $0.13 per hour on GTX 1070, gemma-2b-it from $0.13 per hour on GTX 1070.