How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
# Run inference directly in the terminal:
llama cli -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
# Run inference directly in the terminal:
llama cli -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
# Run inference directly in the terminal:
./llama-cli -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Atomic-Germ/MiniCPM5-2B-OpenNPU2:
Use Docker
docker model run hf.co/Atomic-Germ/MiniCPM5-2B-OpenNPU2:
Quick Links

MiniCPM5-2B-OpenNPU2-NPU2

OpenFlowLM Q4NX conversion of openbmb/MiniCPM5-2B for AMD XDNA NPU inference.

This repository contains a quantized Q4NX port of the model, compiled for the OpenFlowLM (OFLM) runtime. It is not a GGUF file.

Item Value
Source model openbmb/MiniCPM5-2B
Source GGUF MiniCPM5-2B.i1-Q4_1.gguf
Weights model.q4nx (1.81 GB)
Modality language
OFLM version 0.1.0
Converted 2026-09-14

Install and run

This repository works with oflm-add, a small installer that copies the model into the OpenFlowLM user directory and registers the tag. It never modifies the system OpenFlowLM install.

pip install oflm-add or uv tool install oflm-add

uv tool install oflm-add
oflm-add Atomic-Germ/MiniCPM5-2B-OpenNPU2-NPU2 --family qwen3.5 --xclbin-from MiniCPM5-2B-OpenNPU2-NPU2
OFLM_CONFIG_PATH="$HOME/.config/oflm/model_list.json" OFLM_XCLBIN_PATH="$HOME/.config/oflm" oflm run MiniCPM5-2B-OpenNPU2-NPU2

Files

File Description
model.q4nx Quantized weights (Q8_0 / Q4_1 / BF16)
config.json OFLM runtime configuration
tokenizer.json Tokenizer vocabulary
tokenizer_config.json Tokenizer configuration
chat_template.jinja Chat template

Source model card

See the original model card: openbmb/MiniCPM5-2B

Downloads last month
627
GGUF
Model size
3B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Atomic-Germ/MiniCPM5-2B-OpenNPU2

Quantized
(108)
this model