Text Generation
GGUF
English
llama.cpp
instella-moe
mixture-of-experts
amd
quantized
reasoning
think
conversational
Instructions to use NANI-Nithin/Instella-MoE-16B-A3B-Think-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 NANI-Nithin/Instella-MoE-16B-A3B-Think-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 NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NANI-Nithin/Instella-MoE-16B-A3B-Think-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 NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NANI-Nithin/Instella-MoE-16B-A3B-Think-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 NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NANI-Nithin/Instella-MoE-16B-A3B-Think-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 NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M
Use Docker
docker model run hf.co/NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NANI-Nithin/Instella-MoE-16B-A3B-Think-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": "NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M
- Ollama
How to use NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF with Ollama:
ollama run hf.co/NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF with Docker Model Runner:
docker model run hf.co/NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M
- Lemonade
How to use NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Instella-MoE-16B-A3B-Think-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,303 +1,345 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
-
|
|
|
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
| 14 |
-
|
| 15 |
-
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# Instella-MoE-16B-A3B-Think
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
-
<img src="https://huggingface.co/front/assets/huggingface_logo
|
| 22 |
-
<h1 align="center">🚀 Instella-MoE-16B-A3B-Think-GGUF</h1>
|
| 23 |
|
| 24 |
-
|
| 25 |
-
High-performance GGUF quantizations of <b>Instella-MoE-16B-A3B-Think</b>, optimized for efficient local inference across CPUs, consumer GPUs, edge devices, and production deployments.
|
| 26 |
-
</p>
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
-
#
|
| 35 |
|
| 36 |
-
|
| 37 |
|
| 38 |
-
-
|
| 39 |
-
- **LM Studio**
|
| 40 |
-
- **Ollama (GGUF import)**
|
| 41 |
-
- **Jan**
|
| 42 |
-
- **KoboldCpp**
|
| 43 |
-
- **Text Generation WebUI**
|
| 44 |
-
- **Open WebUI**
|
| 45 |
-
- Any GGUF-compatible inference engine
|
| 46 |
|
| 47 |
-
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
-
✅ Inference speed
|
| 51 |
-
✅ Reasoning quality
|
| 52 |
-
✅ Hardware compatibility
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
|
|
|
| 60 |
|
| 61 |
-
|
| 62 |
-
- Coding assistance
|
| 63 |
-
- Multi-step logical reasoning
|
| 64 |
-
- Technical analysis
|
| 65 |
-
- Knowledge-intensive tasks
|
| 66 |
-
- Instruction following
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
| 73 |
-
-
|
| 74 |
-
|
| 75 |
-
- Strong performance-to-parameter ratio
|
| 76 |
|
| 77 |
-
|
| 78 |
|
| 79 |
-
|
| 80 |
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
-
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
---
|
| 88 |
|
| 89 |
# Available Quantizations
|
| 90 |
|
| 91 |
-
## Standard
|
| 92 |
-
|
| 93 |
-
These quantizations are recommended for most users.
|
| 94 |
-
|
| 95 |
-
| Quant | Quality | Speed | RAM Usage | Recommended For |
|
| 96 |
-
|---------|----------|--------|------------|----------------|
|
| 97 |
-
| Q2_K | Lowest | Fastest | Lowest | Maximum memory savings |
|
| 98 |
-
| Q3_K_S | Low | Very Fast | Very Low | Entry-level systems |
|
| 99 |
-
| Q3_K_M | Good | Fast | Low | Balanced performance |
|
| 100 |
-
| Q3_K_L | Better | Fast | Low | Improved quality |
|
| 101 |
-
| Q4_0 | Good | Fast | Moderate | Legacy favorite |
|
| 102 |
-
| Q4_1 | Better | Fast | Moderate | General usage |
|
| 103 |
-
| Q4_K_S | Very Good | Fast | Moderate | Daily inference |
|
| 104 |
-
| Q4_K_M | Excellent | Fast | Moderate | Recommended baseline |
|
| 105 |
-
| Q5_K_S | Excellent | Moderate | Higher | Quality-focused users |
|
| 106 |
-
| Q5_K_M | Very High | Moderate | Higher | Strong reasoning tasks |
|
| 107 |
-
| Q6_K | Near-lossless | Moderate | High | High-quality inference |
|
| 108 |
-
| Q8_0 | Maximum | Slower | Highest | Closest to original model |
|
| 109 |
|
| 110 |
-
|
| 111 |
|
| 112 |
-
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
| IQ3_XXS | Very High | Very High |
|
| 120 |
-
| IQ3_XS | Very High | High |
|
| 121 |
-
| IQ3_M | Excellent | High |
|
| 122 |
-
| IQ4_XS | Near Q4 quality with lower memory |
|
| 123 |
-
| IQ4_NL | Premium IQ quant with strong quality preservation |
|
| 124 |
|
| 125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
-
##
|
| 130 |
|
| 131 |
-
|
| 132 |
|
| 133 |
- IQ2_M
|
| 134 |
-
-
|
| 135 |
-
-
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
-
|
| 138 |
|
| 139 |
-
|
| 140 |
|
| 141 |
-
|
| 142 |
-
- IQ4_XS ⭐
|
| 143 |
-
- Q5_K_S
|
| 144 |
|
| 145 |
-
###
|
| 146 |
|
| 147 |
-
|
|
|
|
|
|
|
|
|
|
| 148 |
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
|
| 154 |
---
|
| 155 |
|
| 156 |
-
#
|
| 157 |
|
| 158 |
-
##
|
| 159 |
|
| 160 |
```bash
|
| 161 |
-
|
| 162 |
-
-
|
| 163 |
-
--
|
| 164 |
```
|
| 165 |
|
| 166 |
-
|
|
|
|
|
|
|
| 167 |
|
| 168 |
```bash
|
| 169 |
-
./llama-
|
| 170 |
-m Instella-MoE-16B-A3B-Think-Q4_K_M.gguf \
|
| 171 |
-
-
|
| 172 |
```
|
| 173 |
|
| 174 |
---
|
| 175 |
|
| 176 |
-
#
|
| 177 |
|
| 178 |
-
|
| 179 |
-
2. Navigate to **Models**
|
| 180 |
-
3. Search for:
|
| 181 |
|
| 182 |
```text
|
| 183 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
```
|
| 185 |
|
| 186 |
-
|
| 187 |
-
5. Load and chat.
|
| 188 |
|
| 189 |
-
--
|
| 190 |
|
| 191 |
-
#
|
| 192 |
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
### Example
|
| 196 |
|
| 197 |
```text
|
| 198 |
-
|
|
|
|
|
|
|
| 199 |
|
| 200 |
-
|
| 201 |
-
Explain how Mixture-of-Experts models work.
|
| 202 |
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
3. Practical advantages
|
| 207 |
-
```
|
| 208 |
|
| 209 |
---
|
| 210 |
|
| 211 |
-
#
|
| 212 |
|
| 213 |
-
|
| 214 |
-
|-------------|----------------|
|
| 215 |
-
| Q2 / IQ2 | 8GB+ |
|
| 216 |
-
| Q3 / IQ3 | 12GB+ |
|
| 217 |
-
| Q4 / IQ4 | 16GB+ |
|
| 218 |
-
| Q5 | 24GB+ |
|
| 219 |
-
| Q6 | 32GB+ |
|
| 220 |
-
| Q8 | 48GB+ |
|
| 221 |
|
| 222 |
-
|
| 223 |
|
| 224 |
-
-
|
|
|
|
|
|
|
|
|
|
| 225 |
|
| 226 |
-
|
| 227 |
|
| 228 |
-
|
|
|
|
|
|
|
| 229 |
|
| 230 |
-
-
|
| 231 |
-
|
| 232 |
-
-
|
| 233 |
-
|
| 234 |
-
|
|
|
|
|
|
|
| 235 |
|
| 236 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
|
| 238 |
-
|
| 239 |
-
- Larger quants → better reasoning fidelity and response quality
|
| 240 |
|
| 241 |
---
|
| 242 |
|
| 243 |
-
#
|
| 244 |
|
| 245 |
-
|
| 246 |
|
| 247 |
-
|
| 248 |
|
| 249 |
-
|
|
|
|
| 250 |
|
| 251 |
-
|
|
|
|
| 252 |
|
| 253 |
-
|
| 254 |
|
| 255 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 256 |
|
| 257 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
|
| 259 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 260 |
|
| 261 |
---
|
| 262 |
|
| 263 |
# Acknowledgements
|
| 264 |
|
| 265 |
-
|
| 266 |
|
| 267 |
-
-
|
| 268 |
-
-
|
| 269 |
-
-
|
| 270 |
-
-
|
| 271 |
|
| 272 |
---
|
| 273 |
|
| 274 |
# Disclaimer
|
| 275 |
|
| 276 |
-
This repository
|
| 277 |
|
| 278 |
-
|
| 279 |
|
| 280 |
-
|
| 281 |
|
| 282 |
-
|
| 283 |
|
| 284 |
-
|
| 285 |
|
| 286 |
-
|
| 287 |
-
🤗 Follow **NANI-Nithin** on Hugging Face
|
| 288 |
-
🔄 Share feedback and benchmarks
|
| 289 |
-
🚀 Contribute to the open-source AI ecosystem
|
| 290 |
|
| 291 |
-
|
| 292 |
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
```bibtex
|
| 296 |
-
@misc{instella_moe_16b_a3b_think_gguf,
|
| 297 |
-
title={Instella-MoE-16B-A3B-Think-GGUF},
|
| 298 |
-
author={NANI-Nithin},
|
| 299 |
-
year={2026},
|
| 300 |
-
publisher={Hugging Face},
|
| 301 |
-
url={https://huggingface.co/NANI-Nithin/Instella-MoE-16B-A3B-Think-GGUF}
|
| 302 |
-
}
|
| 303 |
-
```
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
+
- gguf
|
| 7 |
+
- llama.cpp
|
| 8 |
+
- instella-moe
|
| 9 |
+
- mixture-of-experts
|
| 10 |
+
- amd
|
| 11 |
+
- quantized
|
| 12 |
+
- reasoning
|
| 13 |
+
- think
|
| 14 |
+
- text-generation
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
+
base_model: amd/Instella-MoE-16B-A3B-Think
|
| 17 |
+
library_name: llama.cpp
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# Instella-MoE-16B-A3B-Think GGUF
|
| 21 |
+
|
| 22 |
+
> GGUF quantizations of **AMD's Instella-MoE-16B-A3B-Think**, converted and optimized for local inference with llama.cpp-compatible runtimes that support the Instella-MoE architecture.
|
| 23 |
+
|
| 24 |
+
## Overview
|
| 25 |
+
|
| 26 |
+
This repository provides a full collection of GGUF quantizations for **[amd/Instella-MoE-16B-A3B-Think](la-MoE-16B-A3B-Think**.
|
| 27 |
|
| 28 |
+
Instella-MoE-16B-A3B-Think is a Mixture-of-Experts reasoning model featuring approximately **16B total parameters with ~3B active parameters per token**, designed for efficient high-quality inference while maintaining strong reasoning, coding, and instruction-following capabilities.
|
|
|
|
|
|
|
| 29 |
|
| 30 |
+
These GGUF files were generated to enable:
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+
- Local inference
|
| 33 |
+
- CPU deployment
|
| 34 |
+
- GPU-accelerated llama.cpp inference
|
| 35 |
+
- Edge and workstation deployments
|
| 36 |
+
- Quantized execution with reduced memory requirements
|
| 37 |
+
- Reasoning-focused workloads
|
| 38 |
|
| 39 |
---
|
| 40 |
|
| 41 |
+
# ⚠️ Important Compatibility Notice
|
| 42 |
|
| 43 |
+
Instella-MoE is **not currently supported by upstream llama.cpp** at the time these GGUFs were produced.
|
| 44 |
|
| 45 |
+
The model introduces architecture components beyond standard DeepSeek-V3 implementations, including:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
- Gated Attention
|
| 48 |
+
- FarSkip dual-residual connections
|
| 49 |
|
| 50 |
+
These quantizations were generated using the community fork:
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
+
**https://github.com/csabakecskemeti/llama.cpp**
|
| 53 |
|
| 54 |
+
Branch:
|
| 55 |
|
| 56 |
+
```text
|
| 57 |
+
instella-moe
|
| 58 |
+
```
|
| 59 |
|
| 60 |
+
This fork implements:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
+
- `InstellaMoEForCausalLM`
|
| 63 |
+
- Gated attention runtime support
|
| 64 |
+
- FarSkip support
|
| 65 |
+
- GGUF export support for Instella-MoE
|
| 66 |
|
| 67 |
+
As a result, these files currently require:
|
| 68 |
|
| 69 |
+
```text
|
| 70 |
+
llama.cpp (instella-moe branch)
|
| 71 |
+
```
|
|
|
|
| 72 |
|
| 73 |
+
or any future upstream release that merges full Instella-MoE support.
|
| 74 |
|
| 75 |
+
---
|
| 76 |
|
| 77 |
+
# Model Details
|
| 78 |
+
|
| 79 |
+
| Property | Value |
|
| 80 |
+
|-----------|----------|
|
| 81 |
+
| Model | Instella-MoE-16B-A3B-Think |
|
| 82 |
+
| Organization | AMD |
|
| 83 |
+
| Architecture | Instella-MoE |
|
| 84 |
+
| Family | DeepSeek-V3 Derived |
|
| 85 |
+
| Total Parameters | ~16B |
|
| 86 |
+
| Active Parameters | ~3B |
|
| 87 |
+
| Format | GGUF |
|
| 88 |
+
| Purpose | Reasoning, Coding, General Assistant Tasks |
|
| 89 |
+
| Quantization | Multiple GGUF Variants |
|
| 90 |
+
| Base Model | amd/Instella-MoE-16B-A3B-Think |
|
| 91 |
|
| 92 |
---
|
| 93 |
|
| 94 |
# Available Quantizations
|
| 95 |
|
| 96 |
+
## Standard Quants
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
+
### Smallest
|
| 99 |
|
| 100 |
+
- Q2_K
|
| 101 |
|
| 102 |
+
### Q3 Family
|
| 103 |
|
| 104 |
+
- Q3_K_S
|
| 105 |
+
- Q3_K_M
|
| 106 |
+
- Q3_K_L
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
+
### Q4 Family
|
| 109 |
+
|
| 110 |
+
- Q4_0
|
| 111 |
+
- Q4_1
|
| 112 |
+
- Q4_K_S
|
| 113 |
+
- Q4_K_M
|
| 114 |
+
|
| 115 |
+
### Q5 Family
|
| 116 |
|
| 117 |
+
- Q5_K_S
|
| 118 |
+
- Q5_K_M
|
| 119 |
+
|
| 120 |
+
### High Quality
|
| 121 |
+
|
| 122 |
+
- Q6_K
|
| 123 |
+
- Q8_0
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
|
| 127 |
+
## IQ Quants
|
| 128 |
|
| 129 |
+
Importance Matrix (Imatrix) optimized quantizations:
|
| 130 |
|
| 131 |
- IQ2_M
|
| 132 |
+
- IQ3_XXS
|
| 133 |
+
- IQ3_XS
|
| 134 |
+
- IQ3_M
|
| 135 |
+
- IQ4_XS
|
| 136 |
+
- IQ4_NL
|
| 137 |
|
| 138 |
+
These quantizations generally achieve superior quality-to-size ratios compared to traditional quant methods.
|
| 139 |
|
| 140 |
+
---
|
| 141 |
|
| 142 |
+
# Recommended Quant
|
|
|
|
|
|
|
| 143 |
|
| 144 |
+
### For Low RAM Systems
|
| 145 |
|
| 146 |
+
```text
|
| 147 |
+
Q2_K
|
| 148 |
+
IQ2_M
|
| 149 |
+
```
|
| 150 |
|
| 151 |
+
### Best Balance
|
| 152 |
+
|
| 153 |
+
```text
|
| 154 |
+
Q4_K_M
|
| 155 |
+
IQ4_XS
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
### High Quality
|
| 159 |
+
|
| 160 |
+
```text
|
| 161 |
+
Q5_K_M
|
| 162 |
+
Q6_K
|
| 163 |
+
IQ4_NL
|
| 164 |
+
```
|
| 165 |
+
|
| 166 |
+
### Maximum Quality
|
| 167 |
+
|
| 168 |
+
```text
|
| 169 |
+
Q8_0
|
| 170 |
+
BF16
|
| 171 |
+
```
|
| 172 |
|
| 173 |
---
|
| 174 |
|
| 175 |
+
# Example Usage
|
| 176 |
|
| 177 |
+
## llama.cpp
|
| 178 |
|
| 179 |
```bash
|
| 180 |
+
./llama-cli \
|
| 181 |
+
-m Instella-MoE-16B-A3B-Think-Q4_K_M.gguf \
|
| 182 |
+
-p "Explain mixture-of-experts architectures."
|
| 183 |
```
|
| 184 |
|
| 185 |
+
---
|
| 186 |
+
|
| 187 |
+
## Server Mode
|
| 188 |
|
| 189 |
```bash
|
| 190 |
+
./llama-server \
|
| 191 |
-m Instella-MoE-16B-A3B-Think-Q4_K_M.gguf \
|
| 192 |
+
-c 32768
|
| 193 |
```
|
| 194 |
|
| 195 |
---
|
| 196 |
|
| 197 |
+
# Quantization Methodology
|
| 198 |
|
| 199 |
+
The conversion pipeline follows:
|
|
|
|
|
|
|
| 200 |
|
| 201 |
```text
|
| 202 |
+
Hugging Face Model
|
| 203 |
+
↓
|
| 204 |
+
Convert to BF16 GGUF
|
| 205 |
+
↓
|
| 206 |
+
Generate Imatrix
|
| 207 |
+
↓
|
| 208 |
+
Create Standard Quants
|
| 209 |
+
↓
|
| 210 |
+
Create IQ Quants
|
| 211 |
+
↓
|
| 212 |
+
Upload to Hugging Face
|
| 213 |
```
|
| 214 |
|
| 215 |
+
### BF16 Conversion
|
|
|
|
| 216 |
|
| 217 |
+
The original model weights were converted directly into GGUF BF16 format using the Instella-MoE-enabled llama.cpp conversion tools.
|
| 218 |
|
| 219 |
+
### Importance Matrix Generation
|
| 220 |
|
| 221 |
+
Importance matrix calibration was generated using:
|
|
|
|
|
|
|
| 222 |
|
| 223 |
```text
|
| 224 |
+
Salesforce/wikitext
|
| 225 |
+
wikitext-2-raw-v1
|
| 226 |
+
```
|
| 227 |
|
| 228 |
+
A lightweight calibration dataset was used to optimize IQ quantization quality while remaining practical on constrained hardware.
|
|
|
|
| 229 |
|
| 230 |
+
### IQ Quantization
|
| 231 |
+
|
| 232 |
+
IQ quant variants were produced using llama.cpp's importance-matrix-aware quantization pipeline.
|
|
|
|
|
|
|
| 233 |
|
| 234 |
---
|
| 235 |
|
| 236 |
+
# Build Environment
|
| 237 |
|
| 238 |
+
These GGUFs were generated on a resource-constrained environment designed to maximize reproducibility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
|
| 240 |
+
### System Constraints
|
| 241 |
|
| 242 |
+
- ~15 GB RAM
|
| 243 |
+
- No swap
|
| 244 |
+
- ~109 GB temporary storage
|
| 245 |
+
- 4 CPU cores
|
| 246 |
|
| 247 |
+
Because the BF16 GGUF is approximately:
|
| 248 |
|
| 249 |
+
```text
|
| 250 |
+
~32 GB
|
| 251 |
+
```
|
| 252 |
|
| 253 |
+
the importance matrix was computed from a smaller intermediate quantization to avoid memory exhaustion while still producing high-quality IQ variants.
|
| 254 |
+
|
| 255 |
+
---
|
| 256 |
+
|
| 257 |
+
# Repository Notes
|
| 258 |
+
|
| 259 |
+
Generation workflow includes:
|
| 260 |
|
| 261 |
+
- Automatic resume support
|
| 262 |
+
- Upload tracking
|
| 263 |
+
- Incremental quant generation
|
| 264 |
+
- Disk-space-aware cleanup
|
| 265 |
+
- Fault-tolerant upload recovery
|
| 266 |
|
| 267 |
+
Each quant is generated, uploaded, and safely removed locally before proceeding to the next file.
|
|
|
|
| 268 |
|
| 269 |
---
|
| 270 |
|
| 271 |
+
# Prompt Format
|
| 272 |
|
| 273 |
+
Instella-MoE-16B-A3B-Think is an instruction-tuned reasoning model.
|
| 274 |
|
| 275 |
+
Typical usage:
|
| 276 |
|
| 277 |
+
```text
|
| 278 |
+
User: Explain the difference between MoE and dense transformers.
|
| 279 |
|
| 280 |
+
Assistant:
|
| 281 |
+
```
|
| 282 |
|
| 283 |
+
For best results:
|
| 284 |
|
| 285 |
+
- Use clear instructions
|
| 286 |
+
- Allow sufficient context length
|
| 287 |
+
- Enable model reasoning when your frontend supports it
|
| 288 |
+
- Use lower temperatures for factual tasks
|
| 289 |
+
- Use higher temperatures for creative tasks
|
| 290 |
|
| 291 |
+
---
|
| 292 |
+
|
| 293 |
+
# Performance Expectations
|
| 294 |
+
|
| 295 |
+
General guidance:
|
| 296 |
|
| 297 |
+
| Quant | Quality | Memory Usage |
|
| 298 |
+
|---------|----------|----------|
|
| 299 |
+
| Q2_K | Lowest | Minimal |
|
| 300 |
+
| Q3_K_M | Good | Low |
|
| 301 |
+
| Q4_K_M | Very Good | Moderate |
|
| 302 |
+
| IQ4_XS | Excellent | Moderate |
|
| 303 |
+
| Q5_K_M | Excellent | Higher |
|
| 304 |
+
| Q6_K | Near BF16 | High |
|
| 305 |
+
| Q8_0 | Maximum | Very High |
|
| 306 |
+
| BF16 | Reference | Highest |
|
| 307 |
+
|
| 308 |
+
Actual results depend on:
|
| 309 |
+
|
| 310 |
+
- Prompt complexity
|
| 311 |
+
- Context length
|
| 312 |
+
- Hardware
|
| 313 |
+
- Backend implementation
|
| 314 |
+
- Future Instella-MoE runtime optimizations
|
| 315 |
|
| 316 |
---
|
| 317 |
|
| 318 |
# Acknowledgements
|
| 319 |
|
| 320 |
+
Thanks to:
|
| 321 |
|
| 322 |
+
- AMD for releasing Instella-MoE-16B-A3B-Think
|
| 323 |
+
- The llama.cpp community
|
| 324 |
+
- @csabakecskemeti for the Instella-MoE llama.cpp implementation
|
| 325 |
+
- The GGUF ecosystem and local AI community
|
| 326 |
|
| 327 |
---
|
| 328 |
|
| 329 |
# Disclaimer
|
| 330 |
|
| 331 |
+
This repository only provides GGUF conversions and quantizations.
|
| 332 |
|
| 333 |
+
Model behavior, weights, training methodology, benchmark performance, and intended use remain the responsibility of the original model authors.
|
| 334 |
|
| 335 |
+
Please refer to the upstream model card for official documentation:
|
| 336 |
|
| 337 |
+
👉 https://huggingface.co/amd/Instella-MoE-16B-A3B-Think
|
| 338 |
|
| 339 |
+
---
|
| 340 |
|
| 341 |
+
# Download Stats Welcome ⭐
|
|
|
|
|
|
|
|
|
|
| 342 |
|
| 343 |
+
If these quantizations help your projects, research, benchmarking, or local AI deployments, consider liking the repository and sharing feedback.
|
| 344 |
|
| 345 |
+
Happy inferencing 🚀
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|