Will It Run AI

IBMIBM

Granite Code 34B

Atual
May 2024Publicado8K tokensContextoApache 2.0Licença64 BomQualidade

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.

Comece agora

— copie e cole para rodar localmente

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.

Modelos relacionados

Seu hardware

Detectando...

Escolhas rápidas

Melhor hardware

Melhores opções para Granite Code 34B

Rodar este modelo

Opções de quantização

Estimativas de VRAM por nível de quantização

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

Compatibilidade de hardware

Estimativas de compatibilidade para todo o hardware

Abrir calculadora

Computing compatibility...

Detalhamento de memória

Reference: RTX 2060 6GB

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

Perguntas frequentes

FAQ — Granite Code 34B

Veja também