Will It Run AI

IBMIBM

Granite Code 20B

Atual
2.1KDownloads43CurtidasMay 2024Publicado8K tokensContextoApache 2.0Licença70 ForteQualidade

Granite Code 20B (20B parameters) requires approximately 17.2 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 20 GB of VRAM.

Comece agora

— copie e cole para rodar localmente

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

Run

ollama run granite-code:20b

Quick specs

Parameters20B
Architecturedense
Context8K tokens
Modalitytext
Min RAM7.8 GB
Rec. RAM12.2 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite

About this model

Granite-20B-Code-Instruct-8K is a 20B parameter model fine tuned from *Granite-20B-Code-Base-8K* on a combination of permissively licensed instruction data to enhance instruction following capabilities including logical reasoning and problem-solving skills.

  • 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

Modelos relacionados

Seu hardware

Detectando...

Escolhas rápidas

Melhor hardware

Melhores opções para Granite Code 20B

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
7.8 GB
Low
Q3_K_S
3
9.8 GB
Low
NVFP4
4
11.2 GB
Medium
Q4_K_M
4
12.2 GB
Medium
Q5_K_M
5
14.4 GB
High
Q6_K
6
16.4 GB
High
Q8_0
8
21.4 GB
Very High
F16
16
41.0 GB
Maximum

Quality benchmarks

Granite Code 20B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+50.5%
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

Weights12.2 GB
KV Cache3.2 GB
Runtime1.2 GB
Headroom0.6 GB

Perguntas frequentes

FAQ — Granite Code 20B

Veja também