codegemma-2b-GGUF vs gemma-2b
codegemma-2b-GGUF needs about 5 GB less GPU memory than gemma-2b (3 GB vs 8 GB). Cheapest way to run them today: codegemma-2b-GGUF from $0.10 per hour on GTX 1070, gemma-2b from $0.10 per hour on GTX 1070.
| codegemma-2b-GGUF | gemma-2b | |
|---|---|---|
| Developer | bartowski | |
| Parameters | 2.5B | 2.5B |
| Weights | GGUF | BF16 |
| License | gemma | gemma |
| GPU memory needed | ≈ 3 GB | ≈ 8 GB |
| Memory at 4-bit | — | ≈ 3 GB |
| Cheapest GPU that fits | GTX 1070 · $0.10 | GTX 1070 · $0.10 |
| Speed (est.) | ≈ 90 tok/s · $0.31/1M | ≈ 27 tok/s · $1.03/1M |
| Downloads | 7,012 | 122,678 |
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-GGUF or gemma-2b?
- codegemma-2b-GGUF needs about 5 GB less GPU memory than gemma-2b (3 GB vs 8 GB).
- Which is cheaper to run, codegemma-2b-GGUF or gemma-2b?
- Cheapest way to run them today: codegemma-2b-GGUF from $0.10 per hour on GTX 1070, gemma-2b from $0.10 per hour on GTX 1070.