How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf Levelfive/qwen2.5-coder-7b-instruct-q4km-complete:Q4_K_M
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": "Levelfive/qwen2.5-coder-7b-instruct-q4km-complete:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Qwen2.5 Coder 7B Instruct โ€“ Q4_KM (Consolidated)

Source: Qwen/Qwen2.5-Coder-7B-Instruct-GGUF

This repo bundles the Q4_KM GGUF variant along with necessary configuration and tokenizer files. No weight merging. Compatible with llama.cpp ecosystem.

Downloads last month
5
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support