Will It Run AI

IBMIBM

Granite Code 34B

Actual
May 2024Publicado8K tokensContextoApache 2.0Licencia64 BuenoCalidad

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.

Comenzar

— copia y pega para ejecutar en local

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

Tu hardware

Detectando...

Selecciones rápidas

Mejor hardware

Mejores opciones para Granite Code 34B

Ejecutar este modelo

Opciones de cuantización

Estimaciones de VRAM por nivel de cuantización

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

Compatibilidad de hardware

Estimaciones de encaje en todo el hardware

Abrir calculadora

Computing compatibility...

Desglose de memoria

Reference: RTX 2060 6GB

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

Preguntas frecuentes

FAQ — Granite Code 34B

Ver también