IBM
Granite Code 3B
AktuellMay 2024Veröffentlicht8K TokenKontextApache 2.0Lizenz40 BasisQualität
Granite Code 3B (3B parameters) requires approximately 6.1 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.
Loslegen
— kopieren & einfügen, um lokal auszuführenCopy-paste commands to run Granite Code 3B on your machine.
Run
ollama run granite-code:3bQuick specs
Parameters3B
Architecturedense
Context8K tokens
Modalitytext
Min RAM1.2 GB
Rec. RAM1.8 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite
✓ Code
About this model
Verwandte Modelle
Schnellauswahl
Beste Hardware
Top-Empfehlungen für Granite Code 3B
Dieses Modell ausführen
Quantisierungsoptionen
VRAM-Schätzungen nach Quantisierungsstufe
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 1.2 GB | Low | — |
Q3_K_S | 3 | 1.5 GB | Low | — |
NVFP4 | 4 | 1.7 GB | Medium | — |
Q4_K_M | 4 | 1.8 GB | Medium | — |
Q5_K_M | 5 | 2.2 GB | High | — |
Q6_K | 6 | 2.5 GB | High | — |
Q8_0 | 8 | 3.2 GB | Very High | — |
F16 | 16 | 6.1 GB | Maximum | — |
Quality benchmarks
Granite Code 3B benchmark scores
Coding
SWE-bench Verified—
HumanEval+39.6%
Aider Polyglot—
LiveCodeBench—
Source: official · 2024-05-07
Hardware-Kompatibilität
Eignungsschätzungen für alle Hardware
Computing compatibility...
Speicheraufschlüsselung
Reference: RTX 2060 6GB
Weights1.8 GB
KV Cache2.5 GB
Runtime1.2 GB
Headroom0.6 GB
Häufig gestellte Fragen
FAQ — Granite Code 3B
Siehe auch