Text Generation
GGUF
German
English
rocmfpx
rocmfp4
amd
rocm
strix-halo
quantized
Mixture of Experts
reasoning
german
kolibri
imatrix
conversational
Instructions to use Harsha001/Kolibri-1.1-ROCmFPX 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 Harsha001/Kolibri-1.1-ROCmFPX 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 Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/Kolibri-1.1-ROCmFPX: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 Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama cli -hf Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
Use Docker
docker model run hf.co/Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
- Llama new
- LM Studio
- Jan
- vLLM
How to use Harsha001/Kolibri-1.1-ROCmFPX with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Harsha001/Kolibri-1.1-ROCmFPX" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Harsha001/Kolibri-1.1-ROCmFPX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
- Ollama
How to use Harsha001/Kolibri-1.1-ROCmFPX with Ollama:
ollama run hf.co/Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use Harsha001/Kolibri-1.1-ROCmFPX with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Harsha001/Kolibri-1.1-ROCmFPX: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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Harsha001/Kolibri-1.1-ROCmFPX with Docker Model Runner:
docker model run hf.co/Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
- Lemonade
How to use Harsha001/Kolibri-1.1-ROCmFPX with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Kolibri-1.1-ROCmFPX-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use Harsha001/Kolibri-1.1-ROCmFPX with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Harsha001/Kolibri-1.1-ROCmFPX: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:9931/v1 hermes config set model.default Harsha001/Kolibri-1.1-ROCmFPX:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Harsha001/Kolibri-1.1-ROCmFPX with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Harsha001/Kolibri-1.1-ROCmFPX: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:9931/v1 \ --custom-model-id "Harsha001/Kolibri-1.1-ROCmFPX: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"
Model card for Kolibri 1.1
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
base_model: Aleph-Alpha/Kolibri-1
|
| 4 |
base_model_relation: quantized
|
| 5 |
pipeline_tag: text-generation
|
| 6 |
library_name: gguf
|
|
@@ -8,75 +8,71 @@ language: [de, en]
|
|
| 8 |
tags: [gguf, rocmfpx, rocmfp4, amd, rocm, strix-halo, quantized, moe, reasoning, german, kolibri]
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# Kolibri-1
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
[ROCmFPX](https://github.com/charlie12345/ROCmFPX) formats, a llama.cpp fork with low-bit weight types for AMD GPUs
|
| 16 |
-
(Vulkan and HIP/ROCm).
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
>
|
|
|
|
|
|
|
| 23 |
>
|
| 24 |
-
> Not an official release of Aleph Alpha. All credit for the model goes to its authors.
|
|
|
|
| 25 |
|
| 26 |
## Files and measured quality
|
| 27 |
|
| 28 |
-
The
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
| File | Size | KLD | Same top | |
|
| 34 |
-
|---|---:|---:|---:|---|
|
| 35 |
-
| `Kolibri-1-Q8_0_ROCMFPX.gguf` | 80.7 GB | 0.0638 | 92.06% | 8-bit |
|
| 36 |
-
| `Kolibri-1-Q6_K_ROCMFPX.gguf` | 64.7 GB | 0.0824 | 90.59% | 6-bit, almost as close as 8-bit |
|
| 37 |
-
| `Kolibri-1-Q4_0_ROCMFP4_STRIX.gguf` | 41.8 GB | 0.1460 | 85.94% | **Recommended 4-bit.** Recipe tuned for Strix Halo (`gfx1151`) |
|
| 38 |
-
| `Kolibri-1-Q4_0_ROCMFP4_FAST.gguf` | 41.7 GB | 0.1620 | 84.92% | speed-first 4-bit (one scale per block) |
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
-
reference.
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
-
and that scale has a fixed smallest step, so many blocks would lose most of their precision
|
| 51 |
-
([ROCmFPX#118](https://github.com/charlie12345/ROCmFPX/issues/118)).
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
|
| 59 |
## How these were made
|
| 60 |
|
| 61 |
-
1. `convert_hf_to_gguf.py --outtype bf16` from the fork, plus a stock `Q8_0` copy
|
| 62 |
-
2. Importance matrix from the `Q8_0` copy
|
| 63 |
-
|
| 64 |
-
3. `LLAMA_ROCMFPX_TENSOR_SCALE=1 llama-quantize --imatrix` from the BF16 file, one run per type, from
|
| 65 |
-
[HarshaVardhan3002/ROCmFPX](https://github.com/HarshaVardhan3002/ROCmFPX) `b130d4995`.
|
| 66 |
-
4. Quality: the `Q8_0` reference ran on an NVIDIA GPU with stock kernels; each quant was scored with the fork's CPU
|
| 67 |
-
backend, which runs the ROCmFPX types directly. AMD GPU kernels compute the same math in a different order, so
|
| 68 |
-
results on an AMD GPU can differ slightly.
|
| 69 |
|
| 70 |
## Run
|
| 71 |
|
| 72 |
```bash
|
| 73 |
-
git clone https://github.com/HarshaVardhan3002/ROCmFPX && cd ROCmFPX
|
| 74 |
-
cmake -B build -DGGML_VULKAN=ON # or -DGGML_HIP=ON -DAMDGPU_TARGETS=gfx1151
|
| 75 |
cmake --build build --target llama-server -j
|
| 76 |
-
build/bin/llama-server -m Kolibri-1-Q4_0_ROCMFP4_STRIX.gguf -ngl 999 -fa on --jinja -c 32768
|
| 77 |
```
|
| 78 |
|
| 79 |
## License
|
| 80 |
|
| 81 |
-
Apache-2.0, same as the base model (see `LICENSE`). Please also follow Aleph Alpha's
|
| 82 |
-
[
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
base_model: Aleph-Alpha/Kolibri-1.1
|
| 4 |
base_model_relation: quantized
|
| 5 |
pipeline_tag: text-generation
|
| 6 |
library_name: gguf
|
|
|
|
| 8 |
tags: [gguf, rocmfpx, rocmfp4, amd, rocm, strix-halo, quantized, moe, reasoning, german, kolibri]
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Kolibri-1.1, ROCmFPX GGUF
|
| 12 |
|
| 13 |
+
> **Update 2026-11-23:** this repo now holds **Kolibri 1.1** (it was `Kolibri-1-ROCmFPX`). The Kolibri 1 files were
|
| 14 |
+
> replaced. For Kolibri 1 use Aleph Alpha's [Kolibri-1-BF16](https://huggingface.co/Aleph-Alpha/Kolibri-1-BF16).
|
|
|
|
|
|
|
| 15 |
|
| 16 |
+
[Aleph-Alpha/Kolibri-1.1](https://huggingface.co/Aleph-Alpha/Kolibri-1.1), Aleph Alpha's 75B mixture-of-experts
|
| 17 |
+
reasoning model for German and English (about 3.4B active per token, sparse attention for long contexts, reasoning
|
| 18 |
+
mode and tool calling), quantized to the ROCmFPX formats, low-bit weight types for AMD GPUs (Vulkan and HIP/ROCm).
|
| 19 |
|
| 20 |
+
**Start with `Q4_0_ROCMFP4_STRIX`** on a 128 GB Strix Halo, or `Q8_0_ROCMFPX` if you have the memory.
|
| 21 |
+
|
| 22 |
+
> These files need the `kolibri-1.1` branch of [HarshaVardhan3002/ROCmFPX](https://github.com/HarshaVardhan3002/ROCmFPX)
|
| 23 |
+
> (Kolibri 1.1 support from llama.cpp PR #32891, ported to the fork). Stock llama.cpp, LM Studio, Ollama and older
|
| 24 |
+
> ROCmFPX builds do not load them. **These files have not been tested on AMD hardware yet.**
|
| 25 |
>
|
| 26 |
+
> Not an official release of Aleph Alpha. All credit for the model goes to its authors. Aleph Alpha publishes its own
|
| 27 |
+
> [Kolibri-1.1-GGUF](https://huggingface.co/Aleph-Alpha/Kolibri-1.1-GGUF) in stock llama.cpp types.
|
| 28 |
|
| 29 |
## Files and measured quality
|
| 30 |
|
| 31 |
+
The reference is a stock llama.cpp `Q8_0` of the BF16 model (75 GB). Measured on WikiText-2 test, 8 chunks of
|
| 32 |
+
4096 tokens (long enough that the sparse attention is active), on the fork's CPU backend. **KLD** is the mean KL
|
| 33 |
+
divergence of the next-token distribution from that `Q8_0` (lower is better). **Same top** is how often the quant picks
|
| 34 |
+
the same next token. Only English text was measured.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
+
| File | Size | PPL | KLD | Same top | |
|
| 37 |
+
|---|---:|---:|---:|---:|---|
|
| 38 |
+
| `Kolibri-1.1-Q8_0_ROCMFPX.gguf` | 77.6 GB | 8.577 | 0.0712 | 91.52% | 8-bit |
|
| 39 |
+
| `Kolibri-1.1-Q4_0_ROCMFP4_STRIX.gguf` | 40.2 GB | 8.641 | 0.1433 | 86.40% | **Recommended 4-bit.** Recipe tuned for Strix Halo (`gfx1151`) |
|
| 40 |
|
| 41 |
+
Stock `Q8_0` reference: PPL 8.540. In `Q8_0_ROCMFPX` the token embedding is stored as stock `Q8_0`.
|
|
|
|
| 42 |
|
| 43 |
+
## Notes on the runtime
|
| 44 |
|
| 45 |
+
- Kolibri 1.1 rounds its attention keys and values to NVFP4, as in training (a new ggml op, `ROUND_NVFP4`). The fork has
|
| 46 |
+
CPU and CUDA kernels for it and for the sparse-attention ops (`LIGHTNING_INDEXER`, `TOP_K_MASK`), but **no Vulkan
|
| 47 |
+
kernels yet**, so with Vulkan these small ops run on the CPU and the speed will be lower than it could be.
|
| 48 |
+
- With more than one parallel sequence the sparse attention needs `--kv-unified`.
|
| 49 |
+
- The port was checked against the PR's own build: same `Q8_0` file, 2 chunks of 4096 tokens, KLD 0.000000 and the same
|
| 50 |
+
top token 100% of the time.
|
| 51 |
|
| 52 |
+
## Why these files need the fork
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
Kolibri's weights are very small. ROCmFPX stores one small scale per block of 32 weights, and that scale has a fixed
|
| 55 |
+
smallest step, so many blocks would lose most of their precision. These files were made with
|
| 56 |
+
`LLAMA_ROCMFPX_TENSOR_SCALE=1`: each weight tensor (each expert for the mixture-of-experts tensors) is multiplied by a
|
| 57 |
+
power of two before quantizing, and the inverse is stored as a small extra `.scale` tensor that the fork applies to the
|
| 58 |
+
matmul output. The scaling itself loses nothing.
|
| 59 |
|
| 60 |
## How these were made
|
| 61 |
|
| 62 |
+
1. `convert_hf_to_gguf.py --outtype bf16` from the fork (FP8 source dequantized to BF16), plus a stock `Q8_0` copy.
|
| 63 |
+
2. Importance matrix from the `Q8_0` copy over a general calibration text (`calibration_datav3`), 4096-token chunks.
|
| 64 |
+
3. `LLAMA_ROCMFPX_TENSOR_SCALE=1 llama-quantize --imatrix` from the BF16 file, one run per type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
## Run
|
| 67 |
|
| 68 |
```bash
|
| 69 |
+
git clone -b kolibri-1.1 https://github.com/HarshaVardhan3002/ROCmFPX && cd ROCmFPX
|
| 70 |
+
cmake -B build -DGGML_VULKAN=ON # or -DGGML_HIP=ON -DAMDGPU_TARGETS=gfx1151
|
| 71 |
cmake --build build --target llama-server -j
|
| 72 |
+
build/bin/llama-server -m Kolibri-1.1-Q4_0_ROCMFP4_STRIX.gguf -ngl 999 -fa on --jinja -c 32768
|
| 73 |
```
|
| 74 |
|
| 75 |
## License
|
| 76 |
|
| 77 |
+
Apache-2.0, same as the base model (see `LICENSE`). Please also follow Aleph Alpha's
|
| 78 |
+
[responsible-use guidance](https://huggingface.co/Aleph-Alpha/Kolibri-1.1/blob/main/RESPONSIBLE_USE.md).
|