How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama-server -hf Colby/apertus-8b-coding-gguf:
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "Colby/apertus-8b-coding-gguf:"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

apertus-8b-coding-gguf

GGUF conversion of Colby/apertus-8b-coding, a LoRA fine-tune of swiss-ai/Apertus-8B-Instruct-2509 for coding assistance.

Quantizations

File Format Size
apertus-8b-coding-f16.gguf FP16 ~16 GB
apertus-8b-coding-q8_0.gguf Q8_0 ~8 GB
apertus-8b-coding-q5_k_m.gguf Q5_K_M ~5 GB
apertus-8b-coding-q4_k_m.gguf Q4_K_M ~4 GB

Ollama usage

hf download Colby/apertus-8b-coding-gguf apertus-8b-coding-q4_k_m.gguf
ollama create apertus-coding:8b -f Modelfile   # FROM ./apertus-8b-coding-q4_k_m.gguf
ollama run apertus-coding:8b
Downloads last month
343
GGUF
Model size
8B params
Architecture
apertus
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

8-bit

16-bit

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

Model tree for Colby/apertus-8b-coding-gguf

Quantized
(33)
this model