Will It Run AI

IBMIBM

Granite Code 34B

当前
May 2024发布日期8K tokens上下文Apache 2.0许可证64 良好质量

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.

快速开始

— 复制粘贴即可本地运行

Copy-paste commands to run Granite Code 34B on your machine.

Run

ollama run granite-code:34b

Quick 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

Granite Code 34B is IBM's largest code generation model, strong across 100+ programming languages.

相关模型

你的硬件

检测中...

快速推荐

最佳硬件

Granite Code 34B 的最佳选择

运行此模型

量化选项

各量化级别的 VRAM 估算

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
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

Benchmark verified

Coding

SWE-bench Verified
HumanEval+54.8%
Aider Polyglot
LiveCodeBench

Source: official · 2024-05-07

硬件兼容性

全部硬件的适配估算

打开计算器

Computing compatibility...

内存详细分析

Reference: RTX 2060 6GB

Weights20.7 GB
KV Cache3.7 GB
Runtime1.2 GB
Headroom0.6 GB

常见问题

FAQ — Granite Code 34B

另请参阅