Instructions to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT", filename="mtp-Qwen3.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT # Run inference directly in the terminal: llama-cli -hf Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT # Run inference directly in the terminal: llama-cli -hf Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT # Run inference directly in the terminal: ./llama-cli -hf Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT # Run inference directly in the terminal: ./build/bin/llama-cli -hf Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
Use Docker
docker model run hf.co/Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
- LM Studio
- Jan
- Ollama
How to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT with Ollama:
ollama run hf.co/Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
- Unsloth Studio
How to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT to start chatting
- Pi
How to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
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.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT with Docker Model Runner:
docker model run hf.co/Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
- Lemonade
How to use Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Thireus/mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
Run and chat with the model
lemonade run user.mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT-{{QUANT_TAG}}List all available models
lemonade list
Thireus commited on
Commit ·
59ec1c0
1
Parent(s): 8855b70
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_SPLIT
Browse files- .gitattributes +2 -0
- README.md +155 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00001-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00001-of-00019.gguf.sig +0 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00002-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00003-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00004-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00005-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00006-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00007-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00008-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00009-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00010-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00011-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00012-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00013-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00014-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00015-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00016-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00017-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00018-of-00019.gguf +3 -0
- mtp-Qwen3.5-27B-THIREUS-Q5_K-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.5-27B
|
| 5 |
+
|
| 6 |
+
## 🤔 What is this [HuggingFace repository](https://huggingface.co/Thireus/mtp-Qwen3.5-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.5-27B model (official repo: https://huggingface.co/Qwen/Qwen3.5-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.5-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.5-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.5-27B-THIREUS-BF16-SPECIAL_TENSOR-00001-of-*.gguf \
|
| 51 |
+
-md mtp-Qwen3.5-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.5-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.5 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.5-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.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00001-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a706512573ea935261e3db60d3deab4dd3bb4ee78d3ff9af5b086901bec48512
|
| 3 |
+
size 10942752
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00001-of-00019.gguf.sig
ADDED
|
Binary file (566 Bytes). View file
|
|
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00002-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b65dd1e0eababa38e99a7f3029c88b32cf734c54eb9b0c1583df4dd862a1af7
|
| 3 |
+
size 874086560
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00003-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bd9e159be4578785418e4ab95cf689ff0cfff573b51e36e3ba22f4e4426ac8e
|
| 3 |
+
size 874086592
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00004-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2075f21a5577c178ca6ced7abd262caeddbad43e9697836d2f3c709beed232e7
|
| 3 |
+
size 61276352
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00005-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b44e2c2c8203bb28ddbab5a7464043c8a2f38069a00ed89cedbf6e511c29ca45
|
| 3 |
+
size 61276352
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00006-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:875e7f3f1f8e63ba52e05e9c5405e65e51399f880f169b8f2cd5241a782337a6
|
| 3 |
+
size 61276352
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00007-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4139d0c5111da1f536ec421910de8594f12b39035d93521b1b8dc49045bbae61
|
| 3 |
+
size 36044992
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00008-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f01af629494700fce301b1b7b954e9734d308b0ec073aff483805f9d2b42cfe1
|
| 3 |
+
size 43253952
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00009-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a55582de06eadc3d724e5b771d2d8c9ff1135339554b4d2d5717ddb6abfc8857
|
| 3 |
+
size 21627072
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00010-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4590cfcb507003c61300b1abfd64d9e98e2fa3091d115f4fc5876a11c6851023
|
| 3 |
+
size 20640
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00011-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57424507743ab0f420971c731168c70d6a78436f4d9162abd15bb0ea8f5f6617
|
| 3 |
+
size 20672
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00012-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d016a77a9d9258dcd2a2be3b3d2bc9625bb767e59d79914e5306033e3fbe40a8
|
| 3 |
+
size 20672
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00013-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce65b7f5b2027ce61069856bd806a44a66669dbf9e32f9d2b8786bba1d5ddb4e
|
| 3 |
+
size 1216
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00014-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37cdff4ecaa9d3f2b6ae6136140688476ffab894f95f978b082b478ed6bc55f3
|
| 3 |
+
size 3604672
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00015-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bb5caaa495668e3cd629734f66d0b42870a234ba6728467fc0a21c63a04741d
|
| 3 |
+
size 1216
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00016-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:609c877597d8b6a5379d64ac880704b88a7b2eac831828c92a0fc4ff830726c2
|
| 3 |
+
size 3604672
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00017-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2b8b5abd6e5b248120fae9f23ef73bb6c9959ff6914bcf320ea78f4c9b71ebc
|
| 3 |
+
size 20672
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00018-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8fd0bde64470d9653e9846cf0515aef9771d83261961a6e08fdb4bc5b08c385
|
| 3 |
+
size 20672
|
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00019-of-00019.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7edce47fd6bcefa830c40964540b2cde273e99dacdfcdb494da75beb01e98a6c
|
| 3 |
+
size 20672
|
tensors.map
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00002-of-00019.gguf:4b65dd1e0eababa38e99a7f3029c88b32cf734c54eb9b0c1583df4dd862a1af7:output.weight:shape=(5120, 248320):dtype=q5_k:elements=1271398400:bytes=874086400
|
| 2 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00003-of-00019.gguf:2bd9e159be4578785418e4ab95cf689ff0cfff573b51e36e3ba22f4e4426ac8e:token_embd.weight:shape=(5120, 248320):dtype=q5_k:elements=1271398400:bytes=874086400
|
| 3 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00004-of-00019.gguf:2075f21a5577c178ca6ced7abd262caeddbad43e9697836d2f3c709beed232e7:blk.64.ffn_down.weight:shape=(17408, 5120):dtype=q5_k:elements=89128960:bytes=61276160
|
| 4 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00005-of-00019.gguf:b44e2c2c8203bb28ddbab5a7464043c8a2f38069a00ed89cedbf6e511c29ca45:blk.64.ffn_gate.weight:shape=(5120, 17408):dtype=q5_k:elements=89128960:bytes=61276160
|
| 5 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00006-of-00019.gguf:875e7f3f1f8e63ba52e05e9c5405e65e51399f880f169b8f2cd5241a782337a6:blk.64.ffn_up.weight:shape=(5120, 17408):dtype=q5_k:elements=89128960:bytes=61276160
|
| 6 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00007-of-00019.gguf:4139d0c5111da1f536ec421910de8594f12b39035d93521b1b8dc49045bbae61:blk.64.nextn.eh_proj.weight:shape=(10240, 5120):dtype=q5_k:elements=52428800:bytes=36044800
|
| 7 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00008-of-00019.gguf:f01af629494700fce301b1b7b954e9734d308b0ec073aff483805f9d2b42cfe1:blk.64.attn_q.weight:shape=(5120, 12288):dtype=q5_k:elements=62914560:bytes=43253760
|
| 8 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00009-of-00019.gguf:a55582de06eadc3d724e5b771d2d8c9ff1135339554b4d2d5717ddb6abfc8857:blk.64.attn_output.weight:shape=(6144, 5120):dtype=q5_k:elements=31457280:bytes=21626880
|
| 9 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00010-of-00019.gguf:4590cfcb507003c61300b1abfd64d9e98e2fa3091d115f4fc5876a11c6851023:output_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 10 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00011-of-00019.gguf:57424507743ab0f420971c731168c70d6a78436f4d9162abd15bb0ea8f5f6617:blk.64.attn_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 11 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00012-of-00019.gguf:d016a77a9d9258dcd2a2be3b3d2bc9625bb767e59d79914e5306033e3fbe40a8:blk.64.post_attention_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 12 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00013-of-00019.gguf:ce65b7f5b2027ce61069856bd806a44a66669dbf9e32f9d2b8786bba1d5ddb4e:blk.64.attn_k_norm.weight:shape=(256,):dtype=f32:elements=256:bytes=1024
|
| 13 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00014-of-00019.gguf:37cdff4ecaa9d3f2b6ae6136140688476ffab894f95f978b082b478ed6bc55f3:blk.64.attn_k.weight:shape=(5120, 1024):dtype=q5_k:elements=5242880:bytes=3604480
|
| 14 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00015-of-00019.gguf:3bb5caaa495668e3cd629734f66d0b42870a234ba6728467fc0a21c63a04741d:blk.64.attn_q_norm.weight:shape=(256,):dtype=f32:elements=256:bytes=1024
|
| 15 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00016-of-00019.gguf:609c877597d8b6a5379d64ac880704b88a7b2eac831828c92a0fc4ff830726c2:blk.64.attn_v.weight:shape=(5120, 1024):dtype=q5_k:elements=5242880:bytes=3604480
|
| 16 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00017-of-00019.gguf:f2b8b5abd6e5b248120fae9f23ef73bb6c9959ff6914bcf320ea78f4c9b71ebc:blk.64.nextn.shared_head_norm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 17 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00018-of-00019.gguf:b8fd0bde64470d9653e9846cf0515aef9771d83261961a6e08fdb4bc5b08c385:blk.64.nextn.enorm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
| 18 |
+
mtp-Qwen3.5-27B-THIREUS-Q5_K-SPECIAL_TENSOR-00019-of-00019.gguf:7edce47fd6bcefa830c40964540b2cde273e99dacdfcdb494da75beb01e98a6c:blk.64.nextn.hnorm.weight:shape=(5120,):dtype=f32:elements=5120:bytes=20480
|
tensors.map.sig
ADDED
|
Binary file (566 Bytes). View file
|
|
|