Instructions to use Harsha001/Kolibri-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-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-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/Kolibri-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-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf Harsha001/Kolibri-1-ROCmFPX: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 Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf Harsha001/Kolibri-1-ROCmFPX: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 Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
Use Docker
docker model run hf.co/Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
- Llama new
- LM Studio
- Jan
- vLLM
How to use Harsha001/Kolibri-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-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-ROCmFPX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
- Ollama
How to use Harsha001/Kolibri-1-ROCmFPX with Ollama:
ollama run hf.co/Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
- Unsloth Desktop
- Pi
How to use Harsha001/Kolibri-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-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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Harsha001/Kolibri-1-ROCmFPX with Docker Model Runner:
docker model run hf.co/Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
- Lemonade
How to use Harsha001/Kolibri-1-ROCmFPX with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Kolibri-1-ROCmFPX-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use Harsha001/Kolibri-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-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:8080/v1 hermes config set model.default Harsha001/Kolibri-1-ROCmFPX:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Harsha001/Kolibri-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-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:8080/v1 \ --custom-model-id "Harsha001/Kolibri-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"
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Harsha001/Kolibri-1-ROCmFPX:# Run inference directly in the terminal:
llama cli -hf Harsha001/Kolibri-1-ROCmFPX: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 Harsha001/Kolibri-1-ROCmFPX:# Run inference directly in the terminal:
./llama-cli -hf Harsha001/Kolibri-1-ROCmFPX: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 Harsha001/Kolibri-1-ROCmFPX:# Run inference directly in the terminal:
./build/bin/llama-cli -hf Harsha001/Kolibri-1-ROCmFPX:Use Docker
docker model run hf.co/Harsha001/Kolibri-1-ROCmFPX:Kolibri-1 — ROCmFPX GGUF
Aleph-Alpha/Kolibri-1-BF16, Aleph Alpha's 78B mixture-of-experts reasoning model for German and English (about 3.5B active per token), quantized to the ROCmFPX formats, a llama.cpp fork with low-bit weight types for AMD GPUs (Vulkan and HIP/ROCm).
Start with Q4_0_ROCMFP4_STRIX on a 128 GB Strix Halo, or Q6_0_ROCMFPX if you have the memory.
These files need HarshaVardhan3002/ROCmFPX at commit
b130d4995or newer. Stock llama.cpp, LM Studio, Ollama and other ROCmFPX builds do not load them. These files have not been tested on AMD hardware yet.Not an official release of Aleph Alpha. All credit for the model goes to its authors.
Files and measured quality
The BF16 model (156 GB) does not fit in the memory of the machine used here, so the reference is a stock llama.cpp
Q8_0 of it (83 GB), which is normally very close to BF16. Measured on WikiText-2 test, 16 chunks of 512 tokens, on
the fork's CPU backend. KLD is the mean KL divergence of the next-token distribution from that Q8_0 (lower is
better). Same top is how often the quant picks the same next token. Only English text was measured.
| File | Size | KLD | Same top | |
|---|---|---|---|---|
Kolibri-1-Q8_0_ROCMFPX.gguf |
80.7 GB | 0.0638 | 92.06% | 8-bit |
Kolibri-1-Q6_K_ROCMFPX.gguf |
64.7 GB | 0.0824 | 90.59% | 6-bit, almost as close as 8-bit |
Kolibri-1-Q4_0_ROCMFP4_STRIX.gguf |
41.8 GB | 0.1460 | 85.94% | Recommended 4-bit. Recipe tuned for Strix Halo (gfx1151) |
Kolibri-1-Q4_0_ROCMFP4_FAST.gguf |
41.7 GB | 0.1620 | 84.92% | speed-first 4-bit (one scale per block) |
The 6-bit file is named Kolibri-1-Q6_K_ROCMFPX.gguf so that Hugging Face lists it as a 6-bit quant. Its weights are the ROCmFPX Q6_0_ROCMFPX type, not a stock llama.cpp Q6_K, and it needs the same fork as the other files.
Not published: Q3_0_ROCMFPX (43.6 GB, KLD 0.1572) is larger than Q4_0_ROCMFP4_STRIX and further from the
reference.
In Q8_0_ROCMFPX the token embedding is stored as stock Q8_0 (KLD 0.0682 with it as Q8_0_ROCMFPX).
Why these files need a newer build
Kolibri's weights are much smaller than those of most models. ROCmFPX stores one small scale per block of 32 weights, and that scale has a fixed smallest step, so many blocks would lose most of their precision (ROCmFPX#118).
These files were made with an opt-in fix in llama-quantize (LLAMA_ROCMFPX_TENSOR_SCALE=1): each weight tensor (each
expert for mixture-of-experts tensors) is multiplied by a power of two before quantizing (for Kolibri mostly 2^9), and
the inverse factor is stored as a small extra .scale tensor that llama.cpp applies to the matmul output. The factor is
a power of two, so the scaling itself loses nothing. The files therefore contain extra tensors that older builds
reject.
How these were made
convert_hf_to_gguf.py --outtype bf16from the fork, plus a stockQ8_0copy of it.- Importance matrix from the
Q8_0copy on the GPU over a general calibration text (calibration_datav3), 512-token chunks. LLAMA_ROCMFPX_TENSOR_SCALE=1 llama-quantize --imatrixfrom the BF16 file, one run per type, from HarshaVardhan3002/ROCmFPXb130d4995.- Quality: the
Q8_0reference ran on an NVIDIA GPU with stock kernels; each quant was scored with the fork's CPU backend, which runs the ROCmFPX types directly. AMD GPU kernels compute the same math in a different order, so results on an AMD GPU can differ slightly.
Run
git clone https://github.com/HarshaVardhan3002/ROCmFPX && cd ROCmFPX
cmake -B build -DGGML_VULKAN=ON # or -DGGML_HIP=ON -DAMDGPU_TARGETS=gfx1151 (gfx1100 for RX 7900)
cmake --build build --target llama-server -j
build/bin/llama-server -m Kolibri-1-Q4_0_ROCMFP4_STRIX.gguf -ngl 999 -fa on --jinja -c 32768
License
Apache-2.0, same as the base model (see LICENSE). Please also follow Aleph Alpha's responsible-use notes in the
original model card.
- Downloads last month
- 156
4-bit
6-bit
8-bit
Model tree for Harsha001/Kolibri-1-ROCmFPX
Base model
Aleph-Alpha/Kolibri-1-BF16
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf Harsha001/Kolibri-1-ROCmFPX:# Run inference directly in the terminal: llama cli -hf Harsha001/Kolibri-1-ROCmFPX: