Downloads · 30 days
13.7K
37% of all-time downloads
mlx-community/Qwen3.8-27B-Uncensored-OptiQ-4bit
Qwen3.8-27B-Uncensored-OptiQ-4bit is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. All OptiQ quants · Docs
Downloads · 30 days
13.7K
37% of all-time downloads
All-time downloads
37K
Public
Parameters
26.9B
19.8 GB on disk
Likes
44
Trending 1
Click a slice to open those files.
.safetensors19.7 GB · 100%
How the weights are stored.
U3226.9B · 100%
From the Hugging Face model README
Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. All OptiQ quants · Docs
OptiQ mixed-precision quant of orcarouter/Qwen3.8-27B-Uncensored, a Qwen3.8-family reasoning model with a bundled MTP speculation head. 19 GB on disk.
| Property | Value |
|---|---|
| Base | orcarouter/Qwen3.8-27B-Uncensored (Qwen3.8, 27B) |
| Method | OptiQ mixed-precision, per-layer 4/8-bit |
| Bit allocation | Reused from the Qwen3.8-27B OptiQ recipe: the architecture is identical, so the per-layer sensitivity ranking transfers directly and no per-model sweep is needed |
| Layer split | 237 components at 4-bit, 261 at 8-bit |
| Group size | 64 |
| On disk | 19 GB |
| MTP | Speculation head preserved in optiq/mtp.safetensors for faster decode via optiq serve --draft-model |
Following the naming llama.cpp uses for its mixed quants, the "4bit" label denotes the family, not the weighted average.
Qwen3.8 and the MTP sidecar register through OptiQ, so import optiq once before loading:
pip install "mlx-optiq>=0.4.27"
import optiq # registers the arch + MTP sidecar
from mlx_lm import load, generate
model, tok = load("mlx-community/Qwen3.8-27B-Uncensored-OptiQ-4bit")
prompt = tok.apply_chat_template(
[{"role": "user", "content": "Explain mixed-precision quantization in two sentences."}],
tokenize=False, add_generation_prompt=True,
)
print(generate(model, tok, prompt=prompt, max_tokens=400))
For an OpenAI- and Anthropic-compatible endpoint with mixed-precision KV cache:
optiq serve --model mlx-community/Qwen3.8-27B-Uncensored-OptiQ-4bit
This is a reasoning model, so give it a generous token budget.
Using the head outside optiq serve: optiq/mtp.safetensors holds Qwen's original MTP tensors, so its seven RMSNorm weights (mtp.*norm*) are zero-centred, applied as 1 + w. The main weights have the +1 folded in, as MLX expects. Add 1.0 to all seven norms when loading the head into another runtime.