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