IBM/Dense

IBMGranite 3.1 2B

Granite 3.1 2B — improved reasoning and safety over 3.0.

chatcoding
2B
Parameters
128K
Context length
4
Benchmarks
6
Quantizations
30K
HF downloads
Architecture
Dense
Released
2024-12-16
Layers
40
KV Heads
8
Head Dim
64
Family
granite

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.891.7 GBgood
Q5_K_S5.571.9 GBgood
Q5_K_M5.71.9 GBgood
Q6_K6.562.1 GBexcellent
Q8_08.52.6 GBlossless
FP16164.5 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GRANITE 3.1 2B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (4)

Arena Elo1135
IFEval58.0
HumanEval35.0
BigCodeBench20.5

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run granite:2b-q4_K_M

Tag may need adjustment — check ollama.com/library/granite for available tags.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

Find the best GPU for Granite 3.1 2B

Build Hardware for Granite 3.1 2B

Granite 3.1 2B — improved reasoning and safety over 3.0.

▸ SPEC SHEET

Granite 3.1 2B2B Dense.

▸ SPECIFICATIONS
PARAMETERS
2B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
128K tokens
CAPABILITIES
chat, coding
RELEASE DATE
2024-12-16
PROVIDER
IBM
FAMILY
granite
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.891.7 GB94%
Q5_K_S5.571.9 GB96%
Q5_K_M5.71.9 GB96%
Q6_K6.562.1 GB97%
Q8_08.52.6 GB100%
FP16164.5 GB100%
§ 01BENCHMARK SCORES
HumanEval35.0
IFEval58.0
BigCodeBench20.5
Arena Elo1135.0