IBM GraniteDenseApache 2.0

Granite 3.1 2B

Granite 3.1 2B is a dense transformer language model from the IBM Granite family, containing 2B parameters across 32 layers. It supports up to 131K tokens of context with a hidden dimension of 2048 and 8 KV heads for efficient grouped-query

2.0B

Parameters

128K

Max Context

Dense

Architecture

Released

Text

Modality

About Granite 3.1 2B

Granite 3.1 2B is a dense transformer language model from the IBM Granite family, containing 2B parameters across 32 layers. It supports up to 131K tokens of context with a hidden dimension of 2048 and 8 KV heads for efficient grouped-query attention (GQA). Apache 2.0. Enterprise RAG, code, safety.

CodeRAGEnterprise

Technical Specifications

Total Parameters2.0B
ArchitectureDense
Attention TypeGQA (Grouped Query Attention)
Hidden Dimensiond = 2,048
Transformer Layers32
Attention Heads16
KV Headsn_kv = 8
Head Dimensiond_head = 128
Activation FunctionSwiGLU
NormalizationRMSNorm
Position EmbeddingRoPE

System Requirements

Estimated VRAM at 10% overhead for different quantization methods and context sizes.

Quantization1K ctx128K ctx
Q4_K_M0.50 B/W
~97% of FP16
1.16Consumer GPU
17.03Consumer GPU
Q8_01.00 B/W
~100% of FP16
2.19Consumer GPU
18.07Consumer GPU
F162.00 B/W
Reference
4.26Consumer GPU
20.14Consumer GPU
Fits 24 GB consumer GPU
Fits 80 GB datacenter GPU
Requires cluster / multi-GPU

Other IBM Granite Models

View All

Find the right GPU for Granite 3.1 2B

Use the interactive VRAM Calculator to see exactly how much memory you need at any quantization level, context length, and overhead setting.