Instructions to use kingjones777/K2-Horizon-32B-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/K2-Horizon-32B-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/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/K2-Horizon-32B-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/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
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 kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
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 kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
- LM Studio
- Jan
- vLLM
How to use kingjones777/K2-Horizon-32B-ROCmFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kingjones777/K2-Horizon-32B-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/K2-Horizon-32B-ROCmFP4-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/K2-Horizon-32B-ROCmFP4-GGUF with Ollama:
ollama run hf.co/kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use kingjones777/K2-Horizon-32B-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/K2-Horizon-32B-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/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/K2-Horizon-32B-ROCmFP4-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/K2-Horizon-32B-ROCmFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.K2-Horizon-32B-ROCmFP4-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/K2-Horizon-32B-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/K2-Horizon-32B-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/K2-Horizon-32B-ROCmFP4-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/K2-Horizon-32B-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/K2-Horizon-32B-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/K2-Horizon-32B-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"
K2-Horizon-32B — ROCmFP4 for AMD Strix Halo (gfx1151)
Four ROCmFP4/ROCmFPX tiers of IFM/K2-Horizon-32B,
quantised from the official BF16 GGUF and measured on a Ryzen AI Max+ 395 (Radeon 8060S, gfx1151,
128 GB unified, ROCm 6.4.1). K2-Horizon-32B is a dense k2_horizon decoder — 64 layers, hidden
5120, 64 attention heads, rope_head_dim 128 — and a reasoning model.
Every number on this card was measured on these exact files. Nothing is estimated.
Which file should I use?
| file | ftype | size | decode (HIP) | prefill (HIP) | use it for |
|---|---|---|---|---|---|
K2-Horizon-32B-Q4_0_ROCMFP4_FAST.gguf |
103 | 17.22 GiB | 11.8 t/s | 340 t/s | default — fastest layout |
K2-Horizon-32B-Q4_0_ROCMFP4_STRIX_LEAN.gguf |
106 | 17.42 GiB | 11.8 t/s | 337 t/s | Strix K/V + Q5_K embeddings |
K2-Horizon-32B-Q4_0_ROCMFP4_COHERENT.gguf |
102 | 18.54 GiB | 11.6 t/s | 288 t/s | most bits in the 4-bit family |
K2-Horizon-32B-Q8_0_ROCMFPX_AGENT.gguf |
115 | 34.02 GiB | 6.3 t/s | 323 t/s | 8-bit, agent/tool-call routing |
Start with FAST unless you specifically want 8-bit weights.
Quick start — the backend is one flag
# HIP / ROCm — best prefill (long prompts, RAG, agentic)
llama-server -m K2-Horizon-32B-Q4_0_ROCMFP4_FAST.gguf \
-dev ROCm0 -fa on -ngl 999 --no-mmap -fit off -np 1 \
-b 2048 -ub 1024 -t 16 --poll 100 -c 8192 --jinja
# Vulkan — SAME FILE. Only -dev changes.
llama-server -m K2-Horizon-32B-Q4_0_ROCMFP4_FAST.gguf -dev Vulkan0 ...
⛔ You need a build with BOTH k2_horizon and the ROCmFP4 types
These files declare general.architecture = k2-horizon and use the ROCmFP4/ROCmFPX tensor
types (ggml types 100-119). Two independent pieces of support are required, and no single public
build has both yet:
k2_horizonarchitecture — lives in the MBZUAI-IFM llama.cpp fork; an upstream PR is in progress.- ROCmFP4/ROCmFPX tensor types — from
ROCmFPX.
This repository ships k2-horizon-on-rocmfpx.patch — the k2_horizon arch applied on top of a
ROCmFPX base, exactly the tree these files were built and verified against. Build:
git clone https://github.com/ROCmFPX/ROCmFPX.git && cd ROCmFPX
curl -fLO https://huggingface.co/kingjones777/K2-Horizon-32B-ROCmFP4-GGUF/resolve/main/k2-horizon-on-rocmfpx.patch
git apply k2-horizon-on-rocmfpx.patch
cmake -B build -DGGML_HIP=ON -DGGML_VULKAN=ON -DAMDGPU_TARGETS=gfx1151 -DGGML_NATIVE=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
⛔ Serving note — this is a reasoner
K2-Horizon-32B emits chain-of-thought into reasoning_content before it answers. A short token
budget returns HTTP 200 with an empty content and all the tokens in reasoning — that is the
model thinking, not a broken file. Give it room: tool calls and short answers are fine at ~500
tokens; long-form may need more. Verified: at 40 tokens the content was empty; at 500 it answered
correctly.
Head handling
Quantised at each tier's native routing with no forced --output-tensor-type override. On this
family the unprotected head performs well; the tiers are posted as-built.
Reproduction block
model : IFM/K2-Horizon-32B (official BF16 GGUF, K2-Horizon-32B-BF16.gguf, 64.8 GB)
arch k2-horizon (dense): 64 layers, hidden 5120, 64 heads, rope_head_dim 128
port : MBZUAI-IFM/llama.cpp @ model/K2Horizon (35999d1) k2_horizon arch
applied onto ROCmFPX fork @ 85d8f7e (patch shipped in this repo)
quantize : llama-quantize <in> <out> <ftype> (no head-type override)
Q4_0_ROCMFP4_COHERENT (102) · Q4_0_ROCMFP4_FAST (103)
Q4_0_ROCMFP4_STRIX_LEAN (106) · Q8_0_ROCMFPX_AGENT (115)
serve : llama-server -dev {ROCm0|Vulkan0} -fa on -ngl 999 --no-mmap -fit off
-np 1 -b 2048 -ub 1024 -t 16 --poll 100 -c 8192 --jinja
box : Ryzen AI Max+ 395 / Radeon 8060S (gfx1151) / 128 GB unified, ROCm 6.4.1
verified : loads on GPU, generates correct output ("capital of France" -> "Paris")
measured : 2026-09-04
SHA256
98f213c632cbbbffecc87a136603cc5088c3586ff6fdf15a72427b622a6480c6 K2-Horizon-32B-Q4_0_ROCMFP4_COHERENT.gguf
35baebe33a61147ba8f074a9b1e24f25c5936add7675f755b6f1866f1af4e9a8 K2-Horizon-32B-Q4_0_ROCMFP4_FAST.gguf
b737899d4f7f013549bad51002b4b6feee4b7c1a48c6eefe6b8d54ca3019dd53 K2-Horizon-32B-Q4_0_ROCMFP4_STRIX_LEAN.gguf
64c7c420a197bb7f96de1afafeb0821829e64e8a9b361520875c8ec56734ec6d K2-Horizon-32B-Q8_0_ROCMFPX_AGENT.gguf
Credits
IFM / MBZUAI — the K2-Horizon-32B base model (Apache-2.0) and the
k2_horizon llama.cpp architecture. ROCmFP4/ROCmFPX quantisation types are the work of
ROCmFPX. This repository adds only the ROCmFP4 quant
ladder, the arch-on-ROCmFPX patch, and the measurements.
- Downloads last month
- 210
4-bit
8-bit
Model tree for kingjones777/K2-Horizon-32B-ROCmFP4-GGUF
Base model
IFM/K2-Horizon-32B