VOOZH about

URL: https://willitrunai.com/models/granite-code-8b

โ‡ฑ Granite Code 8B VRAM Requirements โ€” GPU Compatibility


๐Ÿ‘ IBM
IBM

Granite Code 8B

Current
๐Ÿ‘ huggingface
HuggingFace๐Ÿ‘ ollama
Ollama
1.4KDownloads115LikesMay 2024Released8K tokensContextApache 2.0License60 GoodQuality

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.

Get started

โ€” copy & paste to run locally

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

Run

ollama run granite-code:8b

Quick specs

Parameters8B
Architecturedense
Context8K tokens
Modalitytext
Min RAM3.1 GB
Rec. RAM4.9 GB (Q4_K_M)
LicenseApache 2.0
FamilyGranite

About this model

Granite-8B-Code-Instruct-4K is a 8B parameter model fine tuned from *Granite-8B-Code-Base-4K* 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

Related models

Your hardware

Detecting...

Quick picks

๐Ÿ‘ Intel
Best budgetA
Intel Arc B570 10GB~$219 โ€” 45 tok/s
๐Ÿ‘ NVIDIA
Best overallA
RTX 3080 Ti 12GB~$1,199 โ€” 112 tok/s

Best hardware

Top picks for Granite Code 8B

RTX 3080 Ti 12GBA
12 GB
RTX 5070 12GBA
12 GB
RTX 3080 12GBA
12 GB
RTX 2080 Ti 11GBA
11 GB
RTX 4070 Super 12GBA
12 GB

Run this model

Granite Code 8B on RTX 3080 Ti 12GBGranite Code 8B on RTX 5070 12GBGranite Code 8B on RTX 3080 12GB

Quantization options

VRAM estimates by quant level

No hardware detected โ€” fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
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

Benchmark verified

Coding

SWE-bench Verifiedโ€”
HumanEval+49.6%
Aider Polyglotโ€”
LiveCodeBenchโ€”

Source: official ยท 2024-05-07

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: RTX 2060 6GB

Weights4.9 GB
KV Cache2.0 GB
Runtime1.2 GB
Headroom0.6 GB

Frequently asked questions

FAQ โ€” Granite Code 8B

See also

Quantization GuideScoring MethodologyVRAM Calculator