MI

MiniCPM3 4B

MiniCPMGGUF by performanceopticianUpdated 2024-12-01
Download on Hugging Face
Parameters4.07B
Context32K
Layers62
Architectureminicpm3
Smallest quant2.3 GB
Quick answer

MiniCPM3 4B needs about 10.6 GB of memory at IQ4_NL (a 2.3 GB file) with an 8K context window, so it fits on a 12 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 31.2 GB.

MiniCPM3 4B is a 4.07B-parameter MiniCPM model in GGUF format, quantized by performanceoptician. Its trained context length is 32K tokens. The repository has 1 quant file, from 2.3 GB (IQ4_NL) to 2.3 GB (IQ4_NL).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ4_NL2.3 GB 10.6 GB
Too big Get file →

What GPU do you need for MiniCPM3 4B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is IQ4_NL (2.3 GB file, about 10.6 GB in use).

Which MiniCPM3 4B quant should you choose?

IQ4_NL (2.3 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureminicpm3
Parameters4.07B
Layers62
Trained context32,768 tokens
KV cache (fp16)930 KB per token

Source

FamilyMiniCPM
Licenseapache-2.0
Downloads (HF)60
Last updated2024-12-01

Frequently asked questions about MiniCPM3 4B

How much VRAM does MiniCPM3 4B need?

About 10.6 GB at IQ4_NL with an 8K context window. That is the 2.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run MiniCPM3 4B on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 10.6 GB, so you would need a larger GPU or CPU offloading.

What is the file size of MiniCPM3 4B GGUF?

It depends on the quant: IQ4_NL is 2.3 GB.

What context length does MiniCPM3 4B support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 7.8 GB at 8K and 31.2 GB at 32K.

Where can I download MiniCPM3 4B GGUF?

The files are on Hugging Face in the performanceoptician/MiniCPM3-4B-IQ4_NL-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does MiniCPM3 4B use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of MiniCPM3-4B

Similar models

Browse all →

More from performanceoptician

All by performanceoptician →

More MiniCPM models

All MiniCPM →

Other small models

All small models →