Skip to content

Granite 3.1 2B Instruct VRAM requirements

How much VRAM Granite 3.1 2B Instruct needs
4-bit weights: 1.4 GBWith 8K context: 2.7 GBWith 32K context: 4.5 GB8-bit, 8K context: 3.7 GB
Parameters
2.5B
Longest context
128K
Released
Dec 2024
License
Apache 2.0
Strongest at
Not rated

How much VRAM Granite 3.1 2B Instruct needs

Memory Granite 3.1 2B Instruct needs at each precision and context length
PrecisionWeightsWith 8KWith 32KWith 128K
16-bit4.7 GB6.0 GB7.8 GB15.3 GB
8-bit2.5 GB3.7 GB5.6 GB13.1 GB
6-bit1.9 GB3.2 GB5.0 GB12.5 GB
5-bit1.7 GB2.9 GB4.8 GB12.3 GB
4-bit1.4 GB2.7 GB4.5 GB12.0 GB
3-bit1.2 GB2.4 GB4.3 GB11.8 GB
2-bit906 MB2.1 GB4.0 GB11.5 GB
1.6-bit498 MB1.7 GB3.6 GB11.1 GB

One conversation, 16-bit context cache, runtime overhead included.

GPUs and Macs that run Granite 3.1 2B Instruct

The best way Granite 3.1 2B Instruct runs on common GPUs, Macs and AI boxes
MachineBest fitContextSpeedFirst replyReport
RTX 40608-bit56K65 tok/s0.4 sPDF: Granite 3.1 2B Instruct on RTX 4060 report
RTX 50608-bit56K102 tok/s0.3 sPDF: Granite 3.1 2B Instruct on RTX 5060 report
RTX 30708-bit56K102 tok/s0.3 sPDF: Granite 3.1 2B Instruct on RTX 3070 report
RTX 3080 10 GB8-bit80K160 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX 3080 10 GB report
RTX 3060 12 GB8-bit104K84 tok/s0.4 sPDF: Granite 3.1 2B Instruct on RTX 3060 12 GB report
Arc B5808-bit104K70 tok/s0.3 sPDF: Granite 3.1 2B Instruct on Arc B580 report
RTX 40708-bit104K113 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX 4070 report
RTX 4070 Super8-bit104K113 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX 4070 Super report
RTX 50708-bit104K144 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX 5070 report
RTX 4060 Ti 16 GB8-bit128K69 tok/s0.3 sPDF: Granite 3.1 2B Instruct on RTX 4060 Ti 16 GB report
RTX 5060 Ti 16 GB8-bit128K102 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX 5060 Ti 16 GB report
Arc A770 16 GB8-bit128K83 tok/s0.3 sPDF: Granite 3.1 2B Instruct on Arc A770 16 GB report
Radeon RX 9070 XT8-bit128K111 tok/s0.2 sPDF: Granite 3.1 2B Instruct on Radeon RX 9070 XT report
RTX 4070 Ti Super8-bit128K144 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 4070 Ti Super report
RTX 4080 Super8-bit128K156 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 4080 Super report
RTX 5070 Ti8-bit128K182 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 5070 Ti report
RTX 50808-bit128K192 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 5080 report
Radeon RX 7900 XTX8-bit128K150 tok/s0.2 sPDF: Granite 3.1 2B Instruct on Radeon RX 7900 XTX report
RTX 30908-bit128K188 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX 3090 report
RTX 40908-bit128K199 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 4090 report
Radeon AI PRO R97008-bit128K111 tok/s0.2 sPDF: Granite 3.1 2B Instruct on Radeon AI PRO R9700 report
RTX 50908-bit128K299 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 5090 report
2× RTX 30908-bit128K188 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 2× RTX 3090 report
2× RTX 40908-bit128K199 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 2× RTX 4090 report
RTX PRO 5000 Blackwell 48 GB8-bit128K246 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX PRO 5000 Blackwell 48 GB report
RTX 6000 Ada8-bit128K192 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX 6000 Ada report
L40S8-bit128K177 tok/s0.1 sPDF: Granite 3.1 2B Instruct on L40S report
2× RTX 50908-bit128K299 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 2× RTX 5090 report
4× RTX 30908-bit128K188 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 4× RTX 3090 report
RTX PRO 6000 Blackwell8-bit128K299 tok/s0.1 sPDF: Granite 3.1 2B Instruct on RTX PRO 6000 Blackwell report
Mac mini M4 16 GB8-bit88K33 tok/s3.6 sPDF: Granite 3.1 2B Instruct on Mac mini M4 16 GB report
Mac mini M4 24 GB8-bit128K33 tok/s3.6 sPDF: Granite 3.1 2B Instruct on Mac mini M4 24 GB report
Mac mini M4 32 GB8-bit128K33 tok/s3.6 sPDF: Granite 3.1 2B Instruct on Mac mini M4 32 GB report
Mac mini M4 Pro 24 GB8-bit128K66 tok/s1.8 sPDF: Granite 3.1 2B Instruct on Mac mini M4 Pro 24 GB report
Mac mini M4 Pro 48 GB8-bit128K66 tok/s1.8 sPDF: Granite 3.1 2B Instruct on Mac mini M4 Pro 48 GB report
Mac mini M4 Pro 64 GB8-bit128K66 tok/s1.8 sPDF: Granite 3.1 2B Instruct on Mac mini M4 Pro 64 GB report
M4 Max 128 GB8-bit128K102 tok/s0.9 sPDF: Granite 3.1 2B Instruct on M4 Max 128 GB report
M5 Max 128 GB8-bit128K111 tok/s0.3 sPDF: Granite 3.1 2B Instruct on M5 Max 128 GB report
M3 Ultra 96 GB8-bit128K121 tok/s0.5 sPDF: Granite 3.1 2B Instruct on M3 Ultra 96 GB report
M3 Ultra 256 GB8-bit128K121 tok/s0.5 sPDF: Granite 3.1 2B Instruct on M3 Ultra 256 GB report
M3 Ultra 512 GB8-bit128K121 tok/s0.5 sPDF: Granite 3.1 2B Instruct on M3 Ultra 512 GB report
M5 Ultra 512 GB8-bit128K150 tok/s0.2 sPDF: Granite 3.1 2B Instruct on M5 Ultra 512 GB report
Ryzen AI Max+ 395 64 GB8-bit128K51 tok/s0.5 sPDF: Granite 3.1 2B Instruct on Ryzen AI Max+ 395 64 GB report
Ryzen AI Max+ 395 128 GB8-bit128K51 tok/s0.5 sPDF: Granite 3.1 2B Instruct on Ryzen AI Max+ 395 128 GB report
RTX Spark8-bit128K71 tok/s0.2 sPDF: Granite 3.1 2B Instruct on RTX Spark report
DGX Spark8-bit128K65 tok/s0.2 sPDF: Granite 3.1 2B Instruct on DGX Spark report
Dual DGX Spark8-bit128K65 tok/s0.1 sPDF: Granite 3.1 2B Instruct on Dual DGX Spark report
DGX Station GB3008-bit128K574 tok/s0.1 sPDF: Granite 3.1 2B Instruct on DGX Station GB300 report
2× RTX PRO 6000 Blackwell8-bit128K299 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 2× RTX PRO 6000 Blackwell report
4× RTX PRO 6000 Blackwell8-bit128K299 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 4× RTX PRO 6000 Blackwell report
8× RTX PRO 6000 Blackwell8-bit128K299 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 8× RTX PRO 6000 Blackwell report
A100 80 GB SXM8-bit128K324 tok/s0.1 sPDF: Granite 3.1 2B Instruct on A100 80 GB SXM report
H100 SXM8-bit128K426 tok/s0.1 sPDF: Granite 3.1 2B Instruct on H100 SXM report
4× H200 NVL8-bit128K500 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 4× H200 NVL report
8× H200 NVL8-bit128K500 tok/s0.1 sPDF: Granite 3.1 2B Instruct on 8× H200 NVL report

Best fit is the highest quality, up to 8-bit, that leaves 16K of context. First reply is the wait for a 2K prompt. Speeds are rough, plus or minus 25%.

How to run it

llama.cpp
llama-server -hf bartowski/granite-3.1-2b-instruct-GGUF
vLLM
vllm serve ibm-granite/granite-3.1-2b-instruct

Questions

How much VRAM does Granite 3.1 2B Instruct need?

Granite 3.1 2B Instruct needs 1.4 GB for its weights at 4-bit, 2.7 GB with an 8K context and 4.5 GB with 32K. At 8-bit, 3.7 GB.

What is the minimum VRAM for Granite 3.1 2B Instruct?

About 2.4 GB at 3-bit with an 8K context, the lowest precision we recommend for a model this size. The smallest machine here that runs it without spilling is the RTX 4060.

How big is Granite 3.1 2B Instruct?

2.5B parameters: 4.7 GB of weights at 16-bit, 1.4 GB at 4-bit.

Can Granite 3.1 2B Instruct run on an RTX 4090?

Yes. At 8-bit it holds 128K of context and writes about 199 tokens a second.

More models