alt.freeweights.qwen / Qwen3.8-27B-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.qwenSubject:

Qwen3.8-27B-OptiQ-4bit

Date: 2026-11-14Commit: a95c290Signed: 2DC28CC7B26A283B ✓

Image text to text model with 26.9B parameters. Safetensors weights, 20.7 GB in all. Published by mlx-community under Apache-2.0.

26.9B params20.7GBQwen3.8-27B-OptiQ-4bitsafetensorspermissive
FactsParams26.9BSize20.7 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/Qwen3.8-27B-OptiQ-4bit
# manifest sha256 b9d1248c63d7… · 20.7 GB · 20 files
$ fw verify ./Qwen3.8-27B-OptiQ-4bit mlx-community/Qwen3.8-27B-OptiQ-4bit
From sourceHosted (signed)mlx-community/Qwen3.8-27B-OptiQ-4bitLast check: 2026-11-14 21:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Qwen3.8-27B.

Works with

Overview

Size
20.7 GB
Weights
20.7 GB (safetensors)
Parameters
26.9B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
20, each with a sha256
Publisher
mlx-community
Added
2026-11-14
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3.8-27B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:30 UTCpassed

Model card

From the publisher at commit a95c290. Shown as plain text with links; images open at the publisher.

mlx-community/Qwen3.8-27B-OptiQ-4bit#

Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs

A 4-bit mixed-precision MLX quant of Qwen/Qwen3.8-27B, an image+text model. Per-layer bit-widths come from a KL-divergence sensitivity pass on a six-domain calibration mix (prose · reasoning · code · agent · tool-call · constraint-bearing instructions). Sensitive layers go to 8-bit; robust ones stay at 4-bit.

The vision tower is kept at bf16 in a sidecar, so this repo loads text-only under stock mlx-lm and image+text under OptiQ.

Quantization details#

PropertyValue
Predominant precision4-bit
Layers at 8-bit (sensitive)261
Layers at 4-bit (robust)237
Total quantized layers498
Group size64
Vision towerbf16, optiq/optiq_vision.safetensors (0.9 GB)
Calibration mixsix-domain mix (40 samples × 6 domains)
Reference for sensitivityuniform-4-bit (bf16 at this size does not fit 36 GB)
On-disk size19.0 GB

Qwen3.8-27B is a hybrid: three quarters of its 64 blocks use linear attention (five projections each) and the rest full attention, which is why the sweep scores 498 tensors rather than the ~450 a dense model of this size would have.

We follow the same naming convention llama.cpp uses for Q4_K_M and similar mixed-precision quants: the "4-bit" label is for the predominant precision, not the weighted average.

Usage#

Load it with mlx-lm for text:

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Qwen3.8-27B-OptiQ-4bit")
response = generate(
    model, tokenizer,
    prompt="Explain quantum computing in simple terms.",
    max_tokens=200,
)

For image+text, mixed-precision KV-cache serving, sensitivity-aware LoRA fine-tuning, an OpenAI + Anthropic-compatible inference server, hot-swap mounted adapters and sandboxed Python execution, install mlx-optiq:

pip install mlx-optiq
optiq serve --model mlx-community/Qwen3.8-27B-OptiQ-4bit

See the Qwen family guide on mlx-optiq.com for sampling defaults, training recipes, and family-specific caveats.

Benchmarks#

MetricScore
MMLU (5-shot, 1000)84.1%
GSM8K (3-shot CoT)96.1%
IFEval (prompt-level, strict)77.1%
BFCL-V3 simple (AST)93.5%
HumanEval (pass@1)92.1%
HashHop (long-context retrieval)85.0%
Capability Score (mean of 6)87.98

18.9 GB on disk.

Every metric gets one equal vote, and disk size is reported next to the score as an honest second axis rather than folded into it. See the eval-framework writeup for the methodology.

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.

Quantize your own#

This quant was produced by mlx-optiq. Point it at any Hugging Face model to get the same sensitivity-aware mixed precision:

pip install mlx-optiq
optiq convert Qwen/Qwen3.8-27B --target-bpw 5.0 --candidate-bits 4,8
optiq lab   # or drive the whole thing from the browser

Files

20 files · 20.7 GBWeights 20.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 20 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md4.48 KB61ecbcebd4e93435ce6c7a1f96fb76ba9219eb8acd300872d06aa9c9bc9bf371
chat_template.jinja8.95 KBc3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041
config.json109 KB86fda9e23eb92e1e5f269abbcb947f33290d429c3eaa9b967734bfeb1bd7cef8
generation_config.json202 Be70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e
kv_config.json1.06 KB5852e44a86ed216f70a6f2abfe25178fe6d8a30737fe5127b1edf03cddc60abd
model-00001-of-00004.safetensors5.32 GBd0dd221254f020175cf634ec2a471f2ef477e8c399fec8677cd7afdfef173b16
model-00002-of-00004.safetensors5.33 GBac8ce5aab800be50306de5ac8039581983afeab0f86a6b2eec4257b1dee65ad0
model-00003-of-00004.safetensors5.36 GB95c5e2414c4e9dd0923b1cac8ec198d832fed3a1ec431d4d96ba4207f5efa366
model-00004-of-00004.safetensors3.41 GB990c5216374a1d6fe64c84abed76c07e510a8cf5440644df38f1c464f53226ee
model.safetensors.index.json207 KBd59ba1e684266d0b7453e295ab6b20341cee616954f73ca0ae5212350db4f668
optiq/metadata.json52.4 KB945241d12a5d5ad1cbc49fcde5ad42521f931b69ce60a0588881015e2e3a5955
optiq/mtp.safetensors314 MBe3054bcb1b6fa35f482f6cca7cb3032ba9aa31a3cfb4d1e358d5ebb20b78d0f8
optiq/sensitivity.json111 KBaac0abef88df64664a64c31aa3392712d581a8fb902b2d8f57807816a44a89a8
optiq_vision.safetensors921 MB68c8d91f021c7b8708bd29982a9ce4e7cbd896104109296f6d9d5521c0d30914
preprocessor_config.json390 B27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516
processor_config.json991 B45fc17c8dd2474af6b493b52483c26c0584b0082d368c480f9fa611e73070040
tokenizer.json20.0 MB06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
tokenizer_config.json1.20 KB8f781f0d7369fb2532a77284368c2a5f9eccd6413a381dfa3795787e20ca4ca4
video_preprocessor_config.json385 B7768af27c1fafa9cc9011c1dc20067e03f8915e03b63504550e11d5066986d13
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a95c2908fa pinned now manifest updated, same commit2026-11-14 21:30 UTC20 files · 20.7 GB
a95c2908fa2026-11-14 21:30 UTC20 files · 20.7 GB

Use it

$ fw get mlx-community/Qwen3.8-27B-OptiQ-4bit
# manifest sha256 b9d1248c63d7… · 20.7 GB · 20 files
$ fw verify ./Qwen3.8-27B-OptiQ-4bit mlx-community/Qwen3.8-27B-OptiQ-4bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Qwen3.8-27B-OptiQ-4bit.json --dir ./Qwen3.8-27B-OptiQ-4bit $ python3 fw.py verify ./Qwen3.8-27B-OptiQ-4bit ./mlx-community__Qwen3.8-27B-OptiQ-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Qwen3.8-27B-OptiQ-4bit --revision a95c2908fa8ca27cbf29ed86da9a658d14093b63 --local-dir ./Qwen3.8-27B-OptiQ-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("mlx-community/Qwen3.8-27B-OptiQ-4bit", revision="a95c2908fa8ca27cbf29ed86da9a658d14093b63") model = AutoModelForImageTextToText.from_pretrained("mlx-community/Qwen3.8-27B-OptiQ-4bit", revision="a95c2908fa8ca27cbf29ed86da9a658d14093b63", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Qwen3.8-27B-OptiQ-4bit --revision a95c2908fa8ca27cbf29ed86da9a658d14093b63

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
61ecbcebd4e93435ce6c7a1f96fb76ba9219eb8acd300872d06aa9c9bc9bf371
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.qwenSubject: Qwen3.8-27B-OptiQ-4bitDate: 2026-11-14Commit: a95c290Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Qwen3.8-27B-OptiQ-4bit
Pinned commit
a95c2908fa8ca27cbf29ed86da9a658d14093b63
Manifest
Qwen3.8-27B-OptiQ-4bit.json · .minisig
Manifest sha256
b9d1248c63d74da7517c2a915da294e89172bd66434048fe7b4f9f012d6a1700
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Qwen3.8-27B-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Qwen3.8-27B-OptiQ-4bit.json.minisig $ minisign -Vm Qwen3.8-27B-OptiQ-4bit.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3.8-27B · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Qwen3.8-27B-OptiQ-4bit
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen3.8-27B-OptiQ-4bit.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF