Instructions to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT", filename="mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00001-of-00019.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1 # Run inference directly in the terminal: llama-cli -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1 # Run inference directly in the terminal: llama-cli -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
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 Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1 # Run inference directly in the terminal: ./llama-cli -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
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 Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
Use Docker
docker model run hf.co/Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
- LM Studio
- Jan
- Ollama
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with Ollama:
ollama run hf.co/Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
- Unsloth Studio
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT to start chatting
- Pi
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
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": "Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
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 Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with Docker Model Runner:
docker model run hf.co/Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
- Lemonade
How to use Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Thireus/mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT:Q4_1
Run and chat with the model
lemonade run user.mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT-Q4_1
List all available models
lemonade list
Thireus commited on
Commit ·
1b08f5f
1
Parent(s): e3c12b8
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_SPLIT
Browse files- .gitattributes +2 -0
- README.md +155 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00001-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00001-of-00019.gguf.sig +0 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00002-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00003-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00004-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00005-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00006-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00007-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00008-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00009-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00010-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00011-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00012-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00013-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00014-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00015-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00016-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00017-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00018-of-00019.gguf +3 -0
- mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00019-of-00019.gguf +3 -0
- tensors.map +18 -0
- tensors.map.sig +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
| 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 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.gguf.zbst filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,158 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
# mtp-Qwen3.6-27B
|
| 5 |
+
|
| 6 |
+
## 🤔 What is this [HuggingFace repository](https://huggingface.co/Thireus/mtp-Qwen3.6-27B-THIREUS-BF16-SPECIAL_SPLIT/) about?
|
| 7 |
+
|
| 8 |
+
This repository provides **GGUF-quantized tensors** for the [mtp](https://github.com/ggml-org/llama.cpp/blob/master/docs/speculative.md) layer(s) of the Qwen3.6-27B model (official repo: https://huggingface.co/Qwen/Qwen3.6-27B). These GGUF shards are designed to be used with **Thireus’ GGUF Tool Suite** (https://github.com/Thireus/GGUF-Tool-Suite), a collection of tools that automatically finds the perplexity-optimal mix of quantizations for any given a model size target. With this GGUF Tool Suite, you can produce your own Dynamic 3.0 Quants recipes and achieve optimum accuracy & SOTA quantization performance. Give it a try here: https://gguf.thireus.com/quant_assign.html
|
| 9 |
+
|
| 10 |
+
- 📖 Documentation: https://github.com/Thireus/GGUF-Tool-Suite/tree/main/docs
|
| 11 |
+
- 🔍 Example of GGUF recipes: https://github.com/Thireus/GGUF-Tool-Suite/tree/main/recipe_examples
|
| 12 |
+
- 🍳 Cook your own recipe files: https://gguf.thireus.com/quant_assign.html
|
| 13 |
+
- ☁️ Download GGUF models from recipe files: https://gguf.thireus.com/quant_downloader.html
|
| 14 |
+
- 📂 Browse available models: https://huggingface.co/Thireus/collections and https://gguf.thireus.com
|
| 15 |
+
|
| 16 |
+
*tl;dr: Expand the details section below*
|
| 17 |
+
<details>
|
| 18 |
+
|
| 19 |
+
```
|
| 20 |
+
cd ~
|
| 21 |
+
|
| 22 |
+
# Make sure to install all ik_llama.cpp compilation dependencies...
|
| 23 |
+
apt install python3-dev python3-pip python3-venv python3-wheel python3-setuptools git acl netcat-openbsd cmake # pipx
|
| 24 |
+
|
| 25 |
+
# Obtain ik_llama's Thireus version - Windows/macOS/Linux builds available at https://github.com/Thireus/ik_llama.cpp/releases
|
| 26 |
+
git clone https://github.com/Thireus/ik_llama.cpp
|
| 27 |
+
cd ik_llama.cpp
|
| 28 |
+
git pull
|
| 29 |
+
# Build ik_llama.cpp
|
| 30 |
+
cmake -B build -DGGML_AVX=ON -DGGML_AVX2=ON -DLLAMA_CURL=OFF -DGGML_MAX_CONTEXTS=2048
|
| 31 |
+
cmake --build build --config Release -j16
|
| 32 |
+
cd ..
|
| 33 |
+
|
| 34 |
+
# Obtain Thireus' GGUF-Tool-Suite
|
| 35 |
+
GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/Thireus/GGUF-Tool-Suite
|
| 36 |
+
|
| 37 |
+
# Download model quant mix from recipe file - you can also try the web version: https://gguf.thireus.com/quant_downloader.html
|
| 38 |
+
cd GGUF-Tool-Suite
|
| 39 |
+
rm -f download.conf # Make sure to copy the relevant download.conf for the model before running quant_assign.py
|
| 40 |
+
cp -f models/Qwen3.6-27B/download.conf . # Use the download.conf of the chosen model
|
| 41 |
+
mkdir -p kitchen && cd kitchen
|
| 42 |
+
# Obtain a recipe example for the chosen model from ../recipe_examples/
|
| 43 |
+
../quant_downloader.sh ../recipe_examples/ik_llama.cpp_recipes/Qwen3.6-27B.ROOT-3.5993bpw-11.3565ppl.1GB-GGUF_0GB-GPU_0GB-CPU.9888e4b_831ff04.recipe
|
| 44 |
+
|
| 45 |
+
# Other recipe examples can be found at https://github.com/Thireus/GGUF-Tool-Suite/tree/main/recipe_examples
|
| 46 |
+
|
| 47 |
+
# Launch ik_llama's llama-cli:
|
| 48 |
+
ulimit -n 9999 # Lifts "too many open files" limitation on Linux
|
| 49 |
+
~/ik_llama.cpp/build/bin/llama-server \
|
| 50 |
+
-m Qwen3.6-27B-THIREUS-BF16-SPECIAL_TENSOR-00001-of-*.gguf \
|
| 51 |
+
-md mtp-Qwen3.6-27B-THIREUS-BF16-SPECIAL_TENSOR-00001-of-*.gguf --spec-type draft-mtp \
|
| 52 |
+
-fa auto -amb 1024 -ctk q8_0 -c 32768 -ngl 99 \
|
| 53 |
+
-b 4096 -ub 4096 --warmup-batch --no-mmap --threads 1 \
|
| 54 |
+
--main-gpu 0
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
</details>
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
## ❓ Why does this Tool Suite exist?
|
| 62 |
+
|
| 63 |
+
1. **Compatibility & Speed** – [unsloth](https://huggingface.co/unsloth)’s dynamic quants may not always work optimally with `ik_llama.cpp`.
|
| 64 |
+
2. **Custom Rig Fit** – No off-the-shelf GGUF model perfectly matched my VRAM/RAM setup, so I built a way to tailor models and leverage extra VRAM/RAM to reduce perplexity.
|
| 65 |
+
3. **Automated PPL-Optimal Quantization** – To my knowledge, there was no open source flexible, automated method to minimize perplexity for any bits-per-weight (bpw) target—so I created one with excellent results!
|
| 66 |
+
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
## 📊 How does it compare to other GGUFs?
|
| 70 |
+
|
| 71 |
+
Here’s how Qwen3.6-27B quantized with **Thireus’ GGUF Tool Suite** stacks up against other quantizers (lower perplexity = better at equal or lower bpw):
|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
|
| 75 |
+
> _Note: The `recipe_examples` files illustrate good recipes. The Tool Suite computes the optimal ppl/bpw curve for you — just specify your target RAM, VRAM, and quant types, and `quant_assign.py` finds the best mix._
|
| 76 |
+
|
| 77 |
+
More perplexity/bpw graphs for other supported models: https://github.com/Thireus/GGUF-Tool-Suite/tree/main/ppl_graphs
|
| 78 |
+
|
| 79 |
+
*Qwen3.6 Thireus' PPL benchmarks are computed with the parameters `-ctk f16 -c 512 -b 512 -ub 512`. Changing any of these parameters will alter the PPL. In particular, reducing `-b 512 -ub 512` increases the PPL, while increasing them decreases the PPL.*
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## 🚀 How do I get started?
|
| 84 |
+
|
| 85 |
+
Check out the [GGUF Tool Suite README](https://github.com/Thireus/GGUF-Tool-Suite) — focus on these sections:
|
| 86 |
+
|
| 87 |
+
1. ⚠️ **Requirements** – Which `ik_llama.cpp` (or `llama.cpp`) version to use and how to compile.
|
| 88 |
+
- Windows binaries (no patching needed) at: https://github.com/Thireus/ik_llama.cpp/releases
|
| 89 |
+
2. 📥 **Download Model Shards** – Use `quant_downloader.sh` or [quant_downloader.html](https://gguf.thireus.com/quant_downloader.html) to fetch GGUF shards from any recipe.
|
| 90 |
+
- Recipe examples: https://github.com/Thireus/GGUF-Tool-Suite/tree/main/recipe_examples
|
| 91 |
+
3. 🧠 **Run a Downloaded Model** – Sample usage with `llama-cli`.
|
| 92 |
+
4. 🛠️ **Generate a Custom Recipe** – Produce recipes tailored to your VRAM/RAM target usage for optimum perplexity.
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
## ✅ Supported Models
|
| 97 |
+
|
| 98 |
+
Supported models are listed under `models/` in the [Tool Suite Github repo](https://github.com/Thireus/GGUF-Tool-Suite/tree/main/models). Presence of `ppl_results.csv` indicates official support and compatibility with `quant_assign.py`.
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
## 🤷♂️ Will I release baked dynamic quant GGUFs?
|
| 103 |
+
|
| 104 |
+
No, because I believe in **tailored quantization** for each user’s hardware. If you prefer ready-made shards, you are welcome to merge them via `llama-gguf-split --merge`, or request someone to publish them, or rely on generic GGUF dynamic quants such as [unsloth](https://huggingface.co/unsloth)'s.
|
| 105 |
+
|
| 106 |
+
Instead, I prefer to share examples of recipes so users can see exactly how they were produced (command included inside these recipe files) and tweak them for their own rigs. The `quant_downloader.sh` script or [quant_downloader.html](https://gguf.thireus.com/quant_downloader.html) (web port of this script) handles automatic fetching and verification of each shard. Note that recipes provided by [Ubergarm](https://huggingface.co/ubergarm) on his model cards are also compatible with `quant_downloader.sh` and [quant_downloader.html](https://gguf.thireus.com/quant_downloader.html), providing a "SPECIAL_SPLIT" version of these models exists (see https://gguf.thireus.com/).
|
| 107 |
+
|
| 108 |
+
Users who don’t trust the GGUF shards on HuggingFace can also quantize their own by passing recipe lines to `llama-quantize --custom-q` ([see example](https://github.com/Thireus/GGUF-Tool-Suite/blob/main/models/DeepSeek-R1-0528/DeepSeek-R1-0528-THIREUS-ANY-SPECIAL.sh#L482-L486)). Run `llama-quantize --help` to list compatible quants for `quant_assign.py`. This approach is especially useful if you prefer `llama.cpp` over `ik_llama.cpp`.
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
## 📦 What’s in this repository?
|
| 113 |
+
|
| 114 |
+
- **00001 GGUF header shard** – Contains metadata (tokens, chat template, tensor count, etc.). This metadata can be explored directly from the HuggingFace web interface after clicking on that shard.
|
| 115 |
+
- **Tensor shards** – Each shard holds one tensor; see `tensors.map` for names, quant types, sizes, SHA-256 hash, shard IDs, etc.
|
| 116 |
+
- **GPG-signed files** – `tensors.map` and header shard are signed with the key in [trusted-keys.asc](https://github.com/Thireus/GGUF-Tool-Suite/blob/main/trusted-keys.asc) for tamper detection.
|
| 117 |
+
- **Security note** – Some papers about various ways to attack GGUFs and LLMs are available online, such as https://arxiv.org/abs/2505.23786, and there are also more classic security exploits like CVE-2024-23496 and CVE-2024-25664 through CVE-2024-25668. Only use GGUFs from reputable, trusted authors—or alternatively self-quantize—to avoid potential exploits.
|
| 118 |
+
|
| 119 |
+
---
|
| 120 |
+
|
| 121 |
+
## 💡 Pro Tips
|
| 122 |
+
|
| 123 |
+
You can easily download the BF16 model version to quantize your own shards:
|
| 124 |
+
|
| 125 |
+
```
|
| 126 |
+
mkdir kitchen
|
| 127 |
+
echo '.*=bf16' > kitchen/bf16.recipe
|
| 128 |
+
cd kitchen
|
| 129 |
+
../quant_downloader.sh bf16.recipe --qtype BF16
|
| 130 |
+
```
|
| 131 |
+
|
| 132 |
+
You can also quantize individual BF16 tensors without the need to download every BF16 .gguf shard:
|
| 133 |
+
|
| 134 |
+
BF16 model shards can also be individually quantized using a special version of ik_llama.cpp's `llama-quantize` utility which comes with the `--individual-tensors` option.
|
| 135 |
+
|
| 136 |
+
- Source code: https://github.com/Thireus/ik_llama.cpp/tree/th/quantize_individual_tensors
|
| 137 |
+
- Builds (macOS, Windows and Linux): https://github.com/Thireus/ik_llama.cpp/releases/tag/th-quantize_individual_tensors-b4210-7a44805
|
| 138 |
+
|
| 139 |
+
Usage example:
|
| 140 |
+
```
|
| 141 |
+
./llama-quantize --keep-split --imatrix imatrix_ubergarm.dat --individual-tensors 2,3,1094 Kimi-K2-Thinking-THIREUS-BF16-SPECIAL_TENSOR-00001-of-01097.gguf my_new_shards.gguf iq3_s 12
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
For more information about how to use it: https://github.com/Thireus/GGUF-Tool-Suite/issues/45
|
| 145 |
+
|
| 146 |
+
You can produce your own quantized shards from Thireus' special BF16 model using `quantize_model.sh` found on https://github.com/Thireus/GGUF-Tool-Suite, for example:
|
| 147 |
+
|
| 148 |
+
```
|
| 149 |
+
./quantize_model.sh --model "Qwen3.6-122B-A10B" --qtype iq2_xxs
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
You can disable reasoning (thinking) when using jinja templates for supported models:
|
| 153 |
+
|
| 154 |
+
```
|
| 155 |
+
llama-server ... --jinja --chat-template-kwargs '{"enable_thinking": false}'
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
Enjoy optimized quantization! 🎉
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00001-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f59717570c27b40eba253c376862481d04560f526c24eaeef77e30436228118
|
| 3 |
+
size 10942784
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00001-of-00019.gguf.sig
ADDED
|
Binary file (566 Bytes). View file
|
|
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00002-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bca667a6562e359873e06b0770af05e060a353e2f2c7e243396f50d0938ce73
|
| 3 |
+
size 794624192
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00003-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78a501ac07c100f19c12c9f19cc5346efa3fe0a80950ce4a267292054e592400
|
| 3 |
+
size 794624160
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00004-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2839f64f518c8f66632d40fac875a689a0dc9022956a6d4aaf16c8128e963ccf
|
| 3 |
+
size 32768192
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00005-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c09e3a59c886565bb49ee320e15214709bec16642c6ee181e8cc5303ae701e0d
|
| 3 |
+
size 55705792
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00006-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc98b476d1d3d96c94791015c47644e54983e509044189a62f7f442fd7dfadc7
|
| 3 |
+
size 55705792
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00007-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:948ffbb4e1d10877c58cb702380c24883ca2a5f73857df61f26e06834277adc6
|
| 3 |
+
size 55705792
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00008-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75d0d8cb6afe51535e8adee828e8e157416a3580a25e78f7b88509fffd9e5a2b
|
| 3 |
+
size 3276992
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00009-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61db4beeef775d4797057a7562ff123b7bc546f9c745ad7b34fb444d809472a7
|
| 3 |
+
size 39321792
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00010-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:147c4b80e2f0f1d9f0319a85dbf646c1627d18b7f02842ef5cd81bbb81e85d1e
|
| 3 |
+
size 3276992
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00011-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59eb256267c2973fcfc210eae9d1bb54ea8295c9fc80679ab17db0b122998ad3
|
| 3 |
+
size 20640
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00012-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09e78677c46e25d0317453ddf675503e4262d9f980522717f18eda2d7c224558
|
| 3 |
+
size 20672
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00013-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7336ff5a0a9967b814cd5404160c15453d5e96e3dc84cdd6d659b65407a9c32b
|
| 3 |
+
size 20672
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00014-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3466005570d636a2e938583114aa9c988dcaf52bcd24b88b4bfe0e5fb2721f91
|
| 3 |
+
size 1216
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00015-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef3bc619cfabd6e557d33393886b64d72ab75a0ffb7594139b41bba3e2a389b2
|
| 3 |
+
size 19660992
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00016-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:852b5ad6e9a63b02c1fc554ed4e20e2f822474ee36b0a6658e9600f3992d8413
|
| 3 |
+
size 1216
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00017-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc8f2cd5f540ef534bccb8772ef9e2dadbad01dec7288784ca3367ea0a53e32d
|
| 3 |
+
size 20672
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00018-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dcb39d10f8bec42af5dd9e882f716fc8806e6da114c19308ef57cfffc86bcd8
|
| 3 |
+
size 20672
|
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00019-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:378c98288deadbca3f6b0ba0111ea1f6316fceafa060abc05b239c625b732c0f
|
| 3 |
+
size 20672
|
tensors.map
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00002-of-00019.gguf:3bca667a6562e359873e06b0770af05e060a353e2f2c7e243396f50d0938ce73:token_embd.weight:shape=(5120, 248320):dtype=q4_1:elements=1271398400:bytes=794624000
|
| 2 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00003-of-00019.gguf:78a501ac07c100f19c12c9f19cc5346efa3fe0a80950ce4a267292054e592400:output.weight:shape=(5120, 248320):dtype=q4_1:elements=1271398400:bytes=794624000
|
| 3 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00004-of-00019.gguf:2839f64f518c8f66632d40fac875a689a0dc9022956a6d4aaf16c8128e963ccf:blk.64.nextn.eh_proj.weight:shape=(10240, 5120):dtype=q4_1:elements=52428800:bytes=32768000
|
| 4 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00005-of-00019.gguf:c09e3a59c886565bb49ee320e15214709bec16642c6ee181e8cc5303ae701e0d:blk.64.ffn_down.weight:shape=(17408, 5120):dtype=q4_1:elements=89128960:bytes=55705600
|
| 5 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00006-of-00019.gguf:cc98b476d1d3d96c94791015c47644e54983e509044189a62f7f442fd7dfadc7:blk.64.ffn_gate.weight:shape=(5120, 17408):dtype=q4_1:elements=89128960:bytes=55705600
|
| 6 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00007-of-00019.gguf:948ffbb4e1d10877c58cb702380c24883ca2a5f73857df61f26e06834277adc6:blk.64.ffn_up.weight:shape=(5120, 17408):dtype=q4_1:elements=89128960:bytes=55705600
|
| 7 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00008-of-00019.gguf:75d0d8cb6afe51535e8adee828e8e157416a3580a25e78f7b88509fffd9e5a2b:blk.64.attn_k.weight:shape=(5120, 1024):dtype=q4_1:elements=5242880:bytes=3276800
|
| 8 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00009-of-00019.gguf:61db4beeef775d4797057a7562ff123b7bc546f9c745ad7b34fb444d809472a7:blk.64.attn_q.weight:shape=(5120, 12288):dtype=q4_1:elements=62914560:bytes=39321600
|
| 9 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00010-of-00019.gguf:147c4b80e2f0f1d9f0319a85dbf646c1627d18b7f02842ef5cd81bbb81e85d1e:blk.64.attn_v.weight:shape=(5120, 1024):dtype=q4_1:elements=5242880:bytes=3276800
|
| 10 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00011-of-00019.gguf:59eb256267c2973fcfc210eae9d1bb54ea8295c9fc80679ab17db0b122998ad3:output_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 11 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00012-of-00019.gguf:09e78677c46e25d0317453ddf675503e4262d9f980522717f18eda2d7c224558:blk.64.attn_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 12 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00013-of-00019.gguf:7336ff5a0a9967b814cd5404160c15453d5e96e3dc84cdd6d659b65407a9c32b:blk.64.post_attention_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 13 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00014-of-00019.gguf:3466005570d636a2e938583114aa9c988dcaf52bcd24b88b4bfe0e5fb2721f91:blk.64.attn_k_norm.weight:shape=(256,):dtype=f32:elements=256:bytes=1024
|
| 14 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00015-of-00019.gguf:ef3bc619cfabd6e557d33393886b64d72ab75a0ffb7594139b41bba3e2a389b2:blk.64.attn_output.weight:shape=(6144, 5120):dtype=q4_1:elements=31457280:bytes=19660800
|
| 15 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00016-of-00019.gguf:852b5ad6e9a63b02c1fc554ed4e20e2f822474ee36b0a6658e9600f3992d8413:blk.64.attn_q_norm.weight:shape=(256,):dtype=f32:elements=256:bytes=1024
|
| 16 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00017-of-00019.gguf:cc8f2cd5f540ef534bccb8772ef9e2dadbad01dec7288784ca3367ea0a53e32d:blk.64.nextn.shared_head_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 17 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00018-of-00019.gguf:5dcb39d10f8bec42af5dd9e882f716fc8806e6da114c19308ef57cfffc86bcd8:blk.64.nextn.enorm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 18 |
+
mtp-Qwen3.6-27B-THIREUS-Q4_1-SPECIAL_TENSOR-00019-of-00019.gguf:378c98288deadbca3f6b0ba0111ea1f6316fceafa060abc05b239c625b732c0f:blk.64.nextn.hnorm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
tensors.map.sig
ADDED
|
Binary file (566 Bytes). View file
|
|
|