Can it run?
Runs well
Using Q4_K_M in Ollama
Fit status
Runs well
Decode
59.7 tok/s
TTFT
3246 ms
Safe context
8K
Memory
18.9 GB / 24.0 GB
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Agentic Coding | C | Tight fit | 59.7 tok/s | 4721 ms | 8K |
| Chat | B | Runs well | 59.7 tok/s | 1770 ms | 8K |
| Coding | B | Runs well | 59.7 tok/s | 3246 ms | 8K |
| RAG | C | Tight fit | 59.7 tok/s | 5901 ms | 8K |
| Reasoning | B | Runs well | 59.7 tok/s | 3836 ms | 8K |
How Granite Code 20B (20B params) fits at each quantization level on NVIDIA A30 24GB (24.0 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 7.8 GB | Low | D36 |
Q3_K_S | 3 | 9.8 GB | Low | D38 |
NVFP4 | 4 | 11.2 GB | Medium | D39 |
Q4_K_M | 4 | 12.2 GB | Medium | D40 |
Q5_K_M | 5 | 14.4 GB | High | C42 |
Q6_KBest for your GPU | 6 | 16.4 GB | High | C44 |
Q8_0 | 8 | 21.4 GB | Very High | C44 |
F16 | 16 | 41.0 GB | Maximum | F0 |
ollama run granite-code-20bhuggingface-cli download granite-code-20b