Instructions to use agentionai/Qwen3.8-27B-AP-GGUF 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 agentionai/Qwen3.8-27B-AP-GGUF 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 agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
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 agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
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 agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
Use Docker
docker model run hf.co/agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use agentionai/Qwen3.8-27B-AP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "agentionai/Qwen3.8-27B-AP-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "agentionai/Qwen3.8-27B-AP-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
- Ollama
How to use agentionai/Qwen3.8-27B-AP-GGUF with Ollama:
ollama run hf.co/agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use agentionai/Qwen3.8-27B-AP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
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": "agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use agentionai/Qwen3.8-27B-AP-GGUF with Docker Model Runner:
docker model run hf.co/agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
- Lemonade
How to use agentionai/Qwen3.8-27B-AP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.8-27B-AP-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use agentionai/Qwen3.8-27B-AP-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
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 agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use agentionai/Qwen3.8-27B-AP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M
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 "agentionai/Qwen3.8-27B-AP-GGUF:Q4_K_M" \ --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"
Commit ·
32c1848
0
Parent(s):
Squash history: release snapshot (frees LFS blobs from renamed/replaced files)
Browse files- .gitattributes +48 -0
- Qwen3.8-27B-AP-IQ3_S.gguf +3 -0
- Qwen3.8-27B-AP-IQ3_XXS.gguf +3 -0
- Qwen3.8-27B-AP-IQ4_XS.gguf +3 -0
- Qwen3.8-27B-AP-Q3_K_XL.gguf +3 -0
- Qwen3.8-27B-AP-Q4_K_M.gguf +3 -0
- Qwen3.8-27B-AP-Q4_K_XL.gguf +3 -0
- README.md +149 -0
- assets/gain-vs-unsloth.png +3 -0
- assets/kld-vs-size-linear.png +3 -0
- assets/kld-vs-size.png +3 -0
- assets/top1-vs-size.png +3 -0
- imatrix-mixed-v2.gguf +3 -0
- mmproj-BF16.gguf +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
imatrix-mixed-v2.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen3.8-27B-AP-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen3.8-27B-AP-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen3.8-27B-AP-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen3.8-27B-AP-Q4_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/kld-vs-size-linear.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
assets/kld-vs-size.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
assets/top1-vs-size.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
mmproj-BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen3.8-27B-AP-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen3.8-27B-AP-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
assets/gain-vs-unsloth.png filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Qwen3.8-27B-AP-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen3.8-27B-AP-IQ3_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5c916a8855ec2ef4dfc8295d21e8ebf0d4ad1a8381b6af76c7b44e9d7f1cbcf
|
| 3 |
+
size 12040882080
|
Qwen3.8-27B-AP-IQ3_XXS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1f018d9d76022f9ecda8d636b1f72c03c4efe40fee817ebfca3352ccf12cc74
|
| 3 |
+
size 10737408160
|
Qwen3.8-27B-AP-IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2074fd5c3c7f6540913c2f62ad02c50b3f7dde7880d18b3acb02432f2edcab67
|
| 3 |
+
size 14252844960
|
Qwen3.8-27B-AP-Q3_K_XL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5b35d550712f01fcaa0a982f281b7bcf47f6309c541450ca0e064c945c1c8fc
|
| 3 |
+
size 13146392480
|
Qwen3.8-27B-AP-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4c4b1d393b288205d6303c941c0c954d0ea57ef8e3228bca74187cc858e9d8e
|
| 3 |
+
size 16464439200
|
Qwen3.8-27B-AP-Q4_K_XL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5490390fa01335062247d4f43190a6659117e3c388b26260b81285531edc3dfc
|
| 3 |
+
size 17559177120
|
README.md
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- Qwen/Qwen3.8-27B
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
library_name: gguf
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- gguf
|
| 10 |
+
- qwen3.8-27b
|
| 11 |
+
- imatrix
|
| 12 |
+
- agentionai
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Qwen3.8-27B · Agention Precision GGUF
|
| 16 |
+
|
| 17 |
+
**Same size. Same speed. Closer to BF16.**
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
Agention Precision is a drop-in GGUF pack for [Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B): standard llama.cpp types, no fork, no flags. Vision projector and MTP draft head included.
|
| 22 |
+
|
| 23 |
+
Every 27B quant gives something up. These give up less. We measured the leading public GGUFs against the full BF16 model on one protocol. At every size we ship, ours is the closest to Qwen’s next-token distribution on unseen technical text and on general web text.
|
| 24 |
+
|
| 25 |
+
Swap cost is zero. VRAM and tokens/sec stay the same. The file behaves more like the weights Qwen released.
|
| 26 |
+
|
| 27 |
+
| Start here | File | Size | 32k VRAM | Fits | Gain vs leading same-size quant |
|
| 28 |
+
|---|---|---:|---:|---|---|
|
| 29 |
+
| Most headroom | **`AP-Q4_K_XL`** | 16.35 GiB | ~18 GiB | 24 GB | **4% closer** to BF16; hardest 1% of tokens **7% closer** |
|
| 30 |
+
| 24 GB, smaller | **`AP-Q4_K_M`** | 15.33 GiB | ~17 GiB | 24 GB | **5% closer** on unseen technical text; hardest 1% of tokens **9% closer** |
|
| 31 |
+
| Default | **`AP-IQ4_XS`** | 13.27 GiB | ~15 GiB | 16 GB | **8% closer** to BF16; hardest 1% of tokens **9% closer** |
|
| 32 |
+
| Need headroom | **`AP-Q3_K_XL`** | 12.24 GiB | ~14 GiB | 16 GB + longer ctx | **10% closer** on unseen technical text |
|
| 33 |
+
| 12 GB, more quality | **`AP-IQ3_S`** | 11.21 GiB | ~13 GiB | 16 GB at 8–16k | **8% closer** on unseen technical text, **5%** on web; wikitext-2 12% further |
|
| 34 |
+
| 12 GB, balanced | **`AP-IQ3_XS`** | 10.70 GiB | ~12.5 GiB | 12 GB at 8–16k | **6–8% closer** than the best research quant at this size, **19%** on wikitext-2 |
|
| 35 |
+
| 12 GB / multi-model | **`AP-IQ3_XXS`** | 10.00 GiB | ~12 GiB | 12 GB at 8–16k | **10–22% closer** than the best ~10 GiB research quant |
|
| 36 |
+
| Vision | `mmproj-BF16.gguf` | 0.87 GiB | +0.9 GiB | any tier | Qwen’s own encoder at BF16 |
|
| 37 |
+
|
| 38 |
+
VRAM = weights + q8_0 KV + llama.cpp buffers. Only a quarter of layers use full attention, so 32k context is about 1 GiB at q8_0.
|
| 39 |
+
|
| 40 |
+
**Take `AP-IQ4_XS` if it fits.** Step down only for memory.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## Measured, not claimed
|
| 45 |
+
|
| 46 |
+
Fidelity = KL divergence of the next-token distribution vs Qwen3.8-27B BF16. Lower is closer to the original.
|
| 47 |
+
|
| 48 |
+
60 × 2048 tokens, three corpora, same build, same BF16 logits:
|
| 49 |
+
|
| 50 |
+
- **held-out** — technical prose the build never saw
|
| 51 |
+
- **neutral web** — seeded FineWeb slice, [agentionai/quant-fidelity-corpora](https://huggingface.co/datasets/agentionai/quant-fidelity-corpora)
|
| 52 |
+
- **wikitext-2** — test split
|
| 53 |
+
|
| 54 |
+
### Head to head with Unsloth, identical bytes
|
| 55 |
+
|
| 56 |
+
Same tensor types, same file size, same speed, same memory. Only the calibration changes.
|
| 57 |
+
|
| 58 |
+
| | held-out | neutral web | wikitext-2 | worst 1% tokens (held-out) |
|
| 59 |
+
|---|---|---|---|---|
|
| 60 |
+
| `UD-Q4_K_XL` | 0.0117 | 0.0087 | 0.0122 | 0.088 |
|
| 61 |
+
| **`AP-Q4_K_XL`** | **0.0111 (−4.4%)** | **0.0083 (−4.5%)** | 0.0118 | **0.082 (−7.2%)** |
|
| 62 |
+
| `UD-Q4_K_M` | 0.0153 | 0.0108 | 0.0139 | 0.122 |
|
| 63 |
+
| **`AP-Q4_K_M`** | **0.0146 (−4.9%)** | **0.0104 (−3.7%)** | 0.0150 | **0.111 (−8.8%)** |
|
| 64 |
+
| `UD-IQ4_XS` | 0.0276 | 0.0186 | 0.0252 | 0.233 |
|
| 65 |
+
| **`AP-IQ4_XS`** | **0.0255 (−7.6%)** | **0.0181 (−2.4%)** | **0.0243 (−3.8%)** | **0.211 (−9.3%)** |
|
| 66 |
+
| `UD-Q3_K_XL` | 0.0421 | 0.0270 | 0.0337 | 0.366 |
|
| 67 |
+
| **`AP-Q3_K_XL`** | **0.0380 (−9.9%)** | **0.0250 (−7.6%)** | 0.0359 | **0.327 (−10.6%)** |
|
| 68 |
+
| `UD-IQ3_S` | 0.0617 | 0.0404 | **0.0470** | 0.553 |
|
| 69 |
+
| **`AP-IQ3_S`** | **0.0568 (−7.9%)** | **0.0384 (−5.0%)** | 0.0528 (+12%) | **0.491 (−11.2%)** |
|
| 70 |
+
|
| 71 |
+
Held-out gains: 3.2σ, 3.2σ, 5.7σ, 8.1σ and 6.7σ (`Q4_K_XL` / `Q4_K_M` / `IQ4_XS` / `Q3_K_XL` / `IQ3_S`). Neutral-web gains: 3.7σ at `Q4_K_XL`, 5.0σ at `Q3_K_XL`, 3.1σ at `IQ3_S`; 2.4σ at `Q4_K_M`. Wikitext-2 is a statistical tie (under 1.5σ) at every tier except `IQ3_S`, where Unsloth's file is 12% closer (3.0σ) — the one column and tier where they lead; read the others as even.
|
| 72 |
+
|
| 73 |
+
Top-1 match with BF16 on held-out text: **92.8%** · **92.2%** · **90.4%** · **89.2%** · **87.6%** · **86.6%** · **85.0%** (`Q4_K_XL` / `Q4_K_M` / `IQ4_XS` / `Q3_K_XL` / `IQ3_S` / `IQ3_M` / `IQ3_XXS`).
|
| 74 |
+
|
| 75 |
+
### The field near these sizes
|
| 76 |
+
|
| 77 |
+
| file | size | held-out | neutral web | wikitext-2 |
|
| 78 |
+
|---|---:|---|---|---|
|
| 79 |
+
| **`AP-Q4_K_XL`** | **16.35 GiB** | **0.0111** | **0.0083** | **0.0118** |
|
| 80 |
+
| unsloth `UD-Q4_K_XL` | 16.35 GiB | 0.0117 | 0.0087 | 0.0122 |
|
| 81 |
+
| **`AP-Q4_K_M`** | **15.33 GiB** | **0.0146** | **0.0104** | 0.0150 |
|
| 82 |
+
| unsloth `UD-Q4_K_M` | 15.33 GiB | 0.0153 | 0.0108 | 0.0139 |
|
| 83 |
+
| AtomicChat `AD-IQ4_XS-IQ3_S` | 13.45 GiB | 0.0335 | 0.0234 | 0.0384 |
|
| 84 |
+
| **`AP-IQ4_XS`** | **13.27 GiB** | **0.0255** | **0.0181** | **0.0243** |
|
| 85 |
+
| unsloth `UD-IQ4_XS` | 13.27 GiB | 0.0276 | 0.0186 | 0.0252 |
|
| 86 |
+
| AtomicChat `AD-IQ3_S` | 12.89 GiB | 0.0441 | 0.0303 | 0.0441 |
|
| 87 |
+
| **`AP-Q3_K_XL`** | **12.24 GiB** | **0.0380** | **0.0250** | 0.0359 |
|
| 88 |
+
| unsloth `UD-Q3_K_XL` | 12.24 GiB | 0.0421 | 0.0270 | 0.0337 |
|
| 89 |
+
| ISTA-DASLab `GSQ-RCO-IQ3_S` | 11.29 GiB | 0.0594 | 0.0432 | 0.0665 |
|
| 90 |
+
| **`AP-IQ3_S`** | **11.21 GiB** | **0.0568** | **0.0384** | 0.0528 |
|
| 91 |
+
| unsloth `UD-IQ3_S` | 11.21 GiB | 0.0617 | 0.0404 | **0.0470** |
|
| 92 |
+
| **`AP-IQ3_XS`** | **10.70 GiB** | **0.0714** | **0.0508** | **0.0642** |
|
| 93 |
+
| AtomicChat `AD-IQ2_S` | 10.38 GiB | 0.1187 | 0.0858 | 0.1062 |
|
| 94 |
+
| **`AP-IQ3_XXS`** | **10.00 GiB** | **0.1012** | **0.0689** | **0.0834** |
|
| 95 |
+
| ISTA-DASLab `GSQ-RCO-IQ3_XXS` | 9.73 GiB | 0.1123 | 0.0824 | 0.1063 |
|
| 96 |
+
|
| 97 |
+
ISTA rows are their `-mtp` builds (draft head included, same as ours).
|
| 98 |
+
|
| 99 |
+
KL is fidelity to Qwen’s predictions, not a task leaderboard. Downstream evals are next. Until then the claim is narrow and checkable: at every size we ship, you are closer to the original than the same-size alternative.
|
| 100 |
+
|
| 101 |
+
---
|
| 102 |
+
|
| 103 |
+
## Running
|
| 104 |
+
|
| 105 |
+
Use the sampling settings from the
|
| 106 |
+
[Qwen3.8-27B model card](https://huggingface.co/Qwen/Qwen3.8-27B). Thinking is on by
|
| 107 |
+
default. To turn it off per request, send
|
| 108 |
+
`"chat_template_kwargs": {"enable_thinking": false}`.
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
llama-server -hf agentionai/Qwen3.8-27B-AP-GGUF:IQ4_XS \
|
| 112 |
+
--jinja -ngl 999 -fa on -c 32768 -ctk q8_0 -ctv q8_0
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
Keep the KV cache at q8_0 or f16. A 4-bit value cache makes long reasoning traces
|
| 116 |
+
degenerate into repetition on this model family.
|
| 117 |
+
|
| 118 |
+
**LM Studio:** search for `agentionai/Qwen3.8-27B-AP-GGUF` and pick a tier.
|
| 119 |
+
**Ollama:** `ollama run hf.co/agentionai/Qwen3.8-27B-AP-GGUF:IQ4_XS`
|
| 120 |
+
|
| 121 |
+
**Vision:** download `mmproj-BF16.gguf` alongside the tier and pass it with
|
| 122 |
+
`--mmproj` (llama-server, llama-mtmd-cli). LM Studio picks it up automatically when
|
| 123 |
+
it sits next to the model. This is Qwen3.8-27B's own vision encoder at BF16, and it
|
| 124 |
+
works with every tier here.
|
| 125 |
+
|
| 126 |
+
```bash
|
| 127 |
+
llama-server -hf agentionai/Qwen3.8-27B-AP-GGUF:IQ4_XS \
|
| 128 |
+
--mmproj mmproj-BF16.gguf --jinja -ngl 999 -fa on -c 32768 -ctk q8_0 -ctv q8_0
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
## Built with
|
| 132 |
+
|
| 133 |
+
The tiers are built and verified with our own Rust tooling,
|
| 134 |
+
[agention-infer](https://github.com/agentionai). Every tier is measured against BF16
|
| 135 |
+
on all three corpora, and shipped only if it beats the same-size alternative.
|
| 136 |
+
[unsloth](https://huggingface.co/unsloth)'s dynamic type maps underpin `AP-Q4_K_XL`,
|
| 137 |
+
`AP-Q4_K_M`, `AP-IQ4_XS`, `AP-Q3_K_XL` and `AP-IQ3_S`, and we thank them for that work.
|
| 138 |
+
`AP-IQ3_XS` and `AP-IQ3_XXS` sit at sizes no one else ships and use our own per-tensor
|
| 139 |
+
allocation, so they are compared against the nearest published files above and below them. `imatrix-mixed-v2.gguf`, the
|
| 140 |
+
importance matrix from our calibration pass, is included for anyone building their
|
| 141 |
+
own quants.
|
| 142 |
+
|
| 143 |
+
More tiers follow as they clear the same bar.
|
| 144 |
+
|
| 145 |
+
### Support AgentionAI
|
| 146 |
+
|
| 147 |
+
These quants are released freely. If they save you VRAM or make Qwen more useful, you
|
| 148 |
+
can buy me some GPU time and sponsor continued quantization and benchmarking on
|
| 149 |
+
[GitHub](https://github.com/sponsors/agentionai). AgentionAi is a one person team and can use your help.
|
assets/gain-vs-unsloth.png
ADDED
|
Git LFS Details
|
assets/kld-vs-size-linear.png
ADDED
|
Git LFS Details
|
assets/kld-vs-size.png
ADDED
|
Git LFS Details
|
assets/top1-vs-size.png
ADDED
|
Git LFS Details
|
imatrix-mixed-v2.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:deaddb7d88a991e216bebd3da61e627b0f0ff08912d14843d7bdfb255ac331f0
|
| 3 |
+
size 13642688
|
mmproj-BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83ee4f4f205fa514161778c41df1ea14144faa0f713510893b63c2395f5c2d53
|
| 3 |
+
size 931146432
|