Model reference · open weights
MiniCPM-V-2_6 is an open-weight language model from openbmb. MiniCPM-V-2_6 (BF16) weighs 16.2 GB; the smallest configuration that runs it is 2× RTX 3060 12 GB.
Summary of the openbmb/MiniCPM-V-2_6 model card, 2026-10-01
What it is
| Released by | openbmb |
|---|---|
| Released | 2024-08-04 |
| Parameters | 8.1B |
| VRAM | 16.2 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … RTX 4060 Ti 16 GB 2 smaller cards | — | — | — | |
| RTX 3090 24 GB | 10 | 2 | all 32K | 23.4 GB |
| RTX 4090 24 GB | 10 | 2 | all 32K | 23.4 GB |
| RTX 5090 32 GB | 27 | 6 | all 32K | 31.0 GB |
| L40S 48 GB | 54 | 13 | all 32K | 44.0 GB |
| A100 80 GB | 127 | 31 | all 32K | 78.2 GB |
| H100 80 GB | 117 | 29 | all 32K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 151 | 37 | all 32K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 180 | 45 | all 32K | 107 GB |
| H200 141 GB | 245 | 61 | all 32K | 138 GB |
| B200 180 GB | 324 | 81 | all 32K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 6 | 1 | all 32K | 11.6 GB a card |
| 2× RTX 4060 Ti 16 GB tensor parallel | 22 | 5 | all 32K | 15.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 18.8 GB | 20.2 GB |
| 5 | 20.6 GB | 27.7 GB |
| 8 | 22.0 GB | 33.3 GB |
| 16 | 25.8 GB | 48.4 GB |
| 32 | 33.3 GB | 78.4 GB |
| 64 | 48.4 GB | 139 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| MiniCPM-V-2_6 (above) ↗ | 8.1B | BF16 | 16.2 GB | 2× RTX 3060 12 GB |
| MiniCPM-V-2_6-int4 ↗ | 8.3B | INT4 | 6.0 GB | RTX 3060 12 GB |
| MiniCPM-V-2_6-GPTQ ↗ | 8.1B | GPTQ | 6.5 GB | RTX 3060 12 GB |
From the model card
This is the int4 quantized version of MiniCPM-V 2.6. Running with int4 version would use lower GPU memory (about 7GB).
Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.10:
Pillow==10.1.0
torch==2.1.2
torchvision==0.16.2
transformers==4.40.0
sentencepiece==0.1.99
accelerate==0.30.1
bitsandbytes==0.43.1
# test.py
import torch
from PIL import Image
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained('openbmb/MiniCPM-V-2_6-int4', trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained('openbmb/MiniCPM-V-2_6-int4', trust_remote_code=True)
model.eval()
image = Image.open('xx.jpg').convert('RGB')
question = 'What is in the image?'
msgs = [{'role': 'user', 'content': [image, question]}]
res = model.chat(
image=None,
msgs=msgs,
tokenizer=tokenizer
)
print(res)
## if you want to use streaming, please make sure sampling=True and stream=True
## the model.chat will return a generator
res = model.chat(
image=None,
msgs=msgs,
tokenizer=tokenizer,
sampling=True,
temperature=0.7,
stream=True
)
generated_text = ""
for new_text in res:
generated_text += new_text
print(new_text, flush=True, end='')
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.