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 mradermacher/gpt-oss-20b-Coding-Distill-i1-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": "mradermacher/gpt-oss-20b-Coding-Distill-i1-GGUF:"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

About

weighted/imatrix quants of https://huggingface.co/midorin-Linux/gpt-oss-20b-Coding-Distill

For a convenient overview and download list, visit our model page for this model.

static quants are available at https://huggingface.co/mradermacher/gpt-oss-20b-Coding-Distill-GGUF

Usage

If you are unsure how to use GGUF files, refer to one of TheBloke's READMEs for more details, including on how to concatenate multi-part files.

Provided Quants

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

Link Type Size/GB Notes
GGUF imatrix 0.1 imatrix file (for creating your own quants)
GGUF i1-IQ1_M 12.1 mostly desperate
GGUF i1-IQ1_S 12.1 for the desperate
GGUF i1-IQ2_XXS 12.1
GGUF i1-IQ2_XS 12.1
GGUF i1-Q3_K_S 12.2 IQ3_XS probably better
GGUF i1-IQ2_M 12.2
GGUF i1-IQ2_S 12.2
GGUF i1-IQ3_S 12.2 beats Q3_K*
GGUF i1-IQ3_XS 12.2
GGUF i1-IQ3_XXS 12.2 lower quality
GGUF i1-Q2_K 12.2 IQ3_XXS probably better
GGUF i1-IQ4_XS 12.2
GGUF i1-Q2_K_S 12.2 very low quality
GGUF i1-Q4_0 12.2 fast, low quality
GGUF i1-IQ3_M 12.3
GGUF i1-Q3_K_M 13.0 IQ3_S probably better
GGUF i1-Q3_K_L 13.4 IQ3_M probably better
GGUF i1-Q4_1 13.5
GGUF i1-Q4_K_S 14.8 optimal size/speed/quality
GGUF i1-Q4_K_M 15.9 fast, recommended
GGUF i1-Q5_K_S 16.0
GGUF i1-Q5_K_M 17.0
GGUF i1-Q6_K 22.3 practically like static Q6_K

Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):

image.png

And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9

FAQ / Model Request

See https://huggingface.co/mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized.

Thanks

I thank my company, nethype GmbH, for letting me use its servers and providing upgrades to my workstation to enable this work in my free time. Additional thanks to @nicoboss for giving me access to his private supercomputer, enabling me to provide many more imatrix quants, at much higher quality, than I would otherwise be able to.

Downloads last month
168
GGUF
Model size
21B params
Architecture
gpt-oss
Hardware compatibility
Log In to add your hardware

1-bit

2-bit

3-bit

4-bit

5-bit

6-bit

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

Model tree for mradermacher/gpt-oss-20b-Coding-Distill-i1-GGUF

Quantized
(3)
this model

Datasets used to train mradermacher/gpt-oss-20b-Coding-Distill-i1-GGUF