Instructions to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with 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 kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama cli -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
- Llama new
- LM Studio
- Jan
- vLLM
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with Ollama:
ollama run hf.co/kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF:Q4_0_ROCMFP" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
๐ง Runtime: build the ROCmFPX fork below
Stock
llama.cppwill not load this file. You need both themellumarchitecture and the ROCmFP4 tensor types in one tree. Upstreamcharlie12345/ROCmFPXhas the ROCmFP4 types but notmellum. Our fork has both:
kingjones30/ROCmFPXโ a fork ofcharlie12345/ROCmFPX, branchmain.git clone https://github.com/kingjones30/ROCmFPX.git cd ROCmFPX cmake -B build -DGGML_HIP=ON -DGPU_TARGETS=gfx1151 -DGGML_NATIVE=ON -DCMAKE_BUILD_TYPE=Release cmake --build build --target llama-server llama-quantize -j$(nproc)Verified 2026-08-27 on gfx1151: clean clone โ 0 build errors โ
llama-serverloads amellumROCmFP4 GGUF from this family and generates coherent text.
โ ๏ธ STOCK
llama.cppWILL NOT LOAD THIS MODELThe Mellum architecture is not merged upstream (PR #23966) โ the patch is in
patches/in this repo.๐ 104.99 tok/s โ +6.9% faster than Q4_K_M, ranges disjoint.
Mellum2-12B-A2.5B-Thinking โ ROCmFP4 (tier 102 COHERENT) GGUF
A 4-bit ROCmFP4 quantization for AMD gfx1151 (Ryzen AI MAX+ 395 / Strix Halo), quantized from BF16 GGUF (22.6 GiB) โ a lossless source, not a requantization of a lower-bit build.
| File | Mellum2-12B-A2.5B-Thinking-Q4_0_ROCMFP4_COHERENT.gguf |
| Size | 6.4907 GiB |
| BPW | 4.59 |
| ftype | Q4_0_ROCMFP4_COHERENT (102) |
โ Requires a llama.cpp with the ROCmFP4 quant types
Q4_0_ROCMFP4_COHERENT (ftype 102) exists only in
charlie12345/ROCmFPX, not upstream llama.cpp.
Ignore the auto-generated "Use this model" commands above.
All quant variants
All measured on one box, one binary (Ryzen AI MAX+ 395, gfx1151, ROCm 7.2.4), median of 3, warm-up discarded โ so these rows are directly comparable.
| variant | ftype | size | bpw | decode (median) | range |
|---|---|---|---|---|---|
| 4-bit COHERENT | 102 | 6.49 GiB | 4.59 | 104.99 | 104.96 โ 105.73 |
| 8-bit AGENT | 115 | 11.88 GiB | 8.39 | 74.41 | 74.36 โ 74.42 |
| 8-bit plain | 111 | 11.70 GiB | 8.27 | 75.72 | 75.72 โ 75.73 |
Repos: 4-bit ยท 8-bit AGENT ยท 8-bit plain
โ ๏ธ AGENT is SLIGHTLY SLOWER here โ 74.41 vs 75.72. The opposite of the Instruct variant, which tells you the difference is model-specific and small. Neither 8-bit build approaches the 4-bit build's 104.99 tok/s.
On
AGENTgenerally: it keeps more tensors at trueQ8_0instead of the packed 8-bit type. That raises MTP draft acceptance on models which have an MTP head (measured +6.2% on Qwen3.8-27B). Mellum2 has no MTP head, so there is nothing for the extra precision to feed and the two 8-bit builds differ only marginally โ in either direction.
Measured
Ryzen AI MAX+ 395 (gfx1151, 128 GB unified, ROCm 7.2.4). Median of 3+, warm-up discarded, otherwise-idle box. Correctness at the model's official sampling.
| build | size | decode (median) | range |
|---|---|---|---|
| this build | 6.4907 GiB | 104.99 | [104.96 โ 105.73] |
| Q4_K_M | โ | 98.17 | [98.16 โ 98.87] |
+6.9%, ranges disjoint โ a real difference, not noise.
Correctness: 17ร23 โ โ
391 ยท capital of Japan โ โ
Tokyo ยท days in 2024 โ โ
366
Per-tensor types (audited in the finished file)
output.weight Q6_K ยท token_embd Q6_K ยท router ffn_gate_inp F32 ยท norms F32 ยท 339 tensors
tie_word_embeddings is false, so both --output-tensor-type and --token-embedding-type apply.
What was NOT measured
- No perplexity run, and no quality A/B against the baseline or the source. The checks above are memorized-fact prompts โ necessary but not sufficient; a damaged model can pass them.
- No long-context testing.
- No tool-calling evaluation.
Base model licence inherited; credit for the model goes to its authors.
- Downloads last month
- 157
4-bit
8-bit
Model tree for kingjones777/Mellum2-12B-A2.5B-Thinking-ROCmFP4-GGUF
Base model
JetBrains/Mellum2-12B-A2.5B-Thinking