๐ IBM
IBM
Granite Code 34B
CurrentMay 2024Released8K tokensContextApache 2.0License64 GoodQuality
Granite Code 34B (34B parameters) requires approximately 26.2 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 31 GB of VRAM.
Get started
โ copy & paste to run locallyCopy-paste commands to run Granite Code 34B on your machine.
Run
ollama run granite-code:34bQuick specs
Parameters34B
Architecturedense
Context8K tokens
Modalitytext
Min RAM13.3 GB
Rec. RAM20.7 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite
โ Code
About this model
Related models
Your hardware
Detecting...
Quick picks
Best budgetA
Mac mini M4 64GB~$1,099 โ 8 tok/sBest overallA
NVIDIA A100 40GB~$10,000 โ 68 tok/sBest hardware
Top picks for Granite Code 34B
Run this model
Quantization options
VRAM estimates by quant level
No hardware detected โ fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 13.3 GB | Low | โ |
Q3_K_S | 3 | 16.7 GB | Low | โ |
NVFP4 | 4 | 19.0 GB | Medium | โ |
Q4_K_M | 4 | 20.7 GB | Medium | โ |
Q5_K_M | 5 | 24.5 GB | High | โ |
Q6_K | 6 | 27.9 GB | High | โ |
Q8_0 | 8 | 36.4 GB | Very High | โ |
F16 | 16 | 69.7 GB | Maximum | โ |
Quality benchmarks
Granite Code 34B benchmark scores
Coding
SWE-bench Verifiedโ
HumanEval+54.8%
Aider Polyglotโ
LiveCodeBenchโ
Source: official ยท 2024-05-07
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights20.7 GB
KV Cache3.7 GB
Runtime1.2 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ Granite Code 34B
See also
