IBM
Granite Code 8B
当前11.3K下载量115点赞May 2024发布日期8K tokens上下文Apache 2.0许可证60 良好质量
Granite Code 8B (8B parameters) requires approximately 8.6 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 10 GB of VRAM.
快速开始
— 复制粘贴即可本地运行Copy-paste commands to run Granite Code 8B on your machine.
Run
ollama run granite-code:8bQuick specs
Parameters8B
Architecturedense
Context8K tokens
Modalitytext
Min RAM3.1 GB
Rec. RAM4.9 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite
About this model
- •Developers:: IBM Research
- •GitHub Repository:: ibm-granite/granite-code-models
- •Paper:: Granite Code Models: A Family of Open Foundation Models for Code Intelligence
- •Release Date: May 6th, 2024
- •License:: Apache 2.0
相关模型
快速推荐
最佳硬件
Granite Code 8B 的最佳选择
运行此模型
量化选项
各量化级别的 VRAM 估算
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 3.1 GB | Low | — |
Q3_K_S | 3 | 3.9 GB | Low | — |
NVFP4 | 4 | 4.5 GB | Medium | — |
Q4_K_M | 4 | 4.9 GB | Medium | — |
Q5_K_M | 5 | 5.8 GB | High | — |
Q6_K | 6 | 6.6 GB | High | — |
Q8_0 | 8 | 8.6 GB | Very High | — |
F16 | 16 | 16.4 GB | Maximum | — |
Quality benchmarks
Granite Code 8B benchmark scores
Coding
SWE-bench Verified—
HumanEval+49.6%
Aider Polyglot—
LiveCodeBench—
Source: official · 2024-05-07
硬件兼容性
全部硬件的适配估算
Computing compatibility...
内存详细分析
Reference: RTX 2060 6GB
Weights4.9 GB
KV Cache2.0 GB
Runtime1.2 GB
Headroom0.6 GB
常见问题
FAQ — Granite Code 8B
另请参阅