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

Qwen3.8-27B-GPTQ-4bit

Date: 2026-11-15Commit: 9960608Signed: 2DC28CC7B26A283B ✓

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

27.4B params16.1GBQwen3.8-27B-GPTQ-4bitsafetensorspermissive
FactsParams27.4BSize16.1 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/Qwen3.8-27B-GPTQ-4bit
# manifest sha256 a85a01490f6a… · 16.1 GB · 20 files
$ fw verify ./Qwen3.8-27B-GPTQ-4bit mlx-community/Qwen3.8-27B-GPTQ-4bit
From sourceHosted (signed)mlx-community/Qwen3.8-27B-GPTQ-4bitLast check: 2026-11-15 05:09 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
16.1 GB
Weights
16.1 GB (safetensors)
Parameters
27.4B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
20, each with a sha256
Publisher
mlx-community
Added
2026-11-15
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-15 05:09 UTCpassed

Model card

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

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

Quantized by sady4850. Previously sady4850/Qwen3.8-27B-4bit-GPTQ, the old id redirects here.

Qwen/Qwen3.8-27B in exactly the layout of mlx-community/Qwen3.8-27B-4bit (MLX affine 4-bit, group size 64), with the round-to-nearest codes, scales and biases of every quantized language-model Linear replaced by GPTQ.

Same tensors, shapes, dtypes and config as the template, so it is a drop-in replacement wherever the template loads (mlx-vlm, mlx-lm, Splash) with the same size (15 GB) and speed. Only the numbers inside the 4-bit tensors differ.

  • 497 Linears requantized (all 64 layers incl. lm_head). The embedding and the vision tower are the template's.
  • GPTQ fitted to MLX's own affine format: each group's scale and bias are computed from the error-updated weights and rounded to bf16 before coding, so the result dequantizes exactly as written.
  • Hessians from the bf16 model, one per shared input, damp 0.01, block 128.
  • Calibration: 119 x 2048 tokens. 64 chunks of UltraChat train conversations (chat template applied) and 55 chunks of calibration_v5 text.

Use#

pip install -U mlx-vlm
python -m mlx_vlm.generate --model mlx-community/Qwen3.8-27B-GPTQ-4bit --max-tokens 100 --prompt "Hello"

In Splash use this repo id in place of mlx-community/Qwen3.8-27B-4bit.

Quality vs bf16#

Texts: wiki = wikitext-2 test, chat = first 300 conversations of UltraChat test as plain text. 30 chunks x 2048 tokens per text, scored on the second half of each chunk (like llama-perplexity). KLD = KL(bf16 || quant) of the next-token distribution, flips = top-1 token differs from bf16.

Note that chat is close to the calibration data (UltraChat train vs test split), wiki is out of domain.

torch (A100), both checkpoints dequantized into the same bf16 model:

textmodelKLD meanKLD medianKLD p99flipsPPL
wikibf166.370
wikimlx-community/Qwen3.8-27B-4bit (RTN)0.05620.02300.4409.57%6.486
wikithis repo (GPTQ)0.03690.01220.3157.37%6.475
chatbf168.692
chatmlx-community/Qwen3.8-27B-4bit (RTN)0.18000.03123.23313.13%8.109
chatthis repo (GPTQ)0.09750.01271.7439.05%8.752

Splash (teacher-logits, int8 KV, M1 Pro), the engine's own logits against bf16 log-probs for the same rows (every 8th scored row, KL over the bf16 top-512 tokens plus a bound for the rest, within 2% of full-vocab KL):

textmodelKLD meanKLD medianKLD p99flipsPPL
wikibf166.364
wikimlx-community/Qwen3.8-27B-4bit (RTN)0.05620.02210.4699.58%6.479
wikithis repo (GPTQ)0.03990.01190.3267.49%6.458
chatbf168.717
chatmlx-community/Qwen3.8-27B-4bit (RTN)0.19060.03272.72413.13%8.141
chatthis repo (GPTQ)0.10020.01281.5779.05%8.706

Speed in Splash is the same as the template: median per 2048-token window 14.10 s prefill for both, 23.00 s vs 23.05 s for 127 verify cycles.

PPL alone is a poor measure of closeness here: the RTN checkpoint has a lower chat PPL than bf16 itself. Lower KLD and fewer flips mean the outputs follow the original model more closely.

Agent replay#

Independent run by @ghisguth (splash discussion #34): 78 recorded turns of a real coding-agent session (32K to 124K context), each turn sent with the same recorded prompt, temperature 0, Splash 1.4.0-m1 on M2 Max, compared per turn against Q8_0.

modelsame callssame toolsargs similaritybroken calls
mlx-community/Qwen3.8-27B-4bit (RTN)31%79%0.880
this repo (GPTQ)44%83%0.920

Same calls = same tools with the same arguments as Q8_0. For scale, Q8_0 against itself gives 82%. Speed was the same as RTN (cycles/s within 2%). 78 turns is a small sample, but it agrees with the KLD above.

Other quants in Splash#

Same windows and bf16 reference as above, for choosing between formats:

modelsizewiki KLDchat KLDchat KLD p99127 verify cycles
unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_M16.5 GB0.01440.08311.35325.60 s
this repo (GPTQ)15 GB0.03990.10021.57723.00 s
unsloth/Qwen3.8-27B-GGUF:Q4_016.1 GB0.03250.14122.49324.40 s
mlx-community/Qwen3.8-27B-4bit (RTN)15 GB0.05620.19062.72423.05 s
ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF:IQ3_S11.8 GB0.05730.21213.42729.40 s

If the extra 1.5 GB and ~11% slower decode (short context, less at long context) are fine, UD-Q4_K_M is closer to bf16. At the size and speed of MLX 4-bit, this repo is the closer one.

Limitations#

Vision was not evaluated (all runs are language-only), calibration is English chat and text, KLD windows are 2048 tokens. Task accuracy was not measured.

Raw numbers and logs in eval/.

Files

20 files · 16.1 GBWeights 16.1 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 20 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md5.54 KB6184a18bf5a226c7e5cbc7dee47e5c457bbecade08d8e7ad828bc99150285e76
chat_template.jinja8.95 KBc3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041
config.json4.93 KB14b65a0ee06517060a6bbd979bb1a8ff54e7b304b1a1f01d54344b88b8285e85
eval/eval.log865 B54bfd6b683fb16a9aa13596efe308f4823414a0a22a90406bd5e2ba8d026b3ba
eval/quantize.log1.62 KBfefb58d6e64a28b3c8a0cd504e557d07a2d228729b58bc101bce102a4b9b4ac6
eval/results_27b.json8.35 KBa7c116c62b79cc95cb7f2bbab97a64526e8796ff5bb931d390f777bf83f268c4
eval/splash/compare_gptq_vs_mlx4.txt528 Bef8bbcd88d49db95a7cc80a6ab1133a3bdccccfbbda6d0ad88617bd1a3fb6047
eval/splash/kl_bf16.txt626 Bb0fbbb6dfa63269d866602d8925170d050a28ab443a1e0b86ac6491e79e634ec
generation_config.json202 Be70c136c1b78ddc1fb0905bac8e733a4dc448d4f852a5dd75143fffc70be550e
model-00001-of-00003.safetensors5.34 GB9200c5f018dd7909b0b43ba978b145124a425704518f0a1e6ef1a62e31611dbc
model-00002-of-00003.safetensors5.35 GBde518266b4e356ab61df7044db0670bae38bbf626b0b2adf67c5311b904a0e7c
model-00003-of-00003.safetensors5.36 GB215d150e59ce6ad004937580a84318cca078ed58963d60c65ef8a8c794e4f057
model.safetensors.index.json218 KB13b840162b4cb35c66fef7df072f7dbb4717908204364f5e5d9f9655a2758fa8
preprocessor_config.json390 B27225450ac9c6529872ee1924fcb0962ff5634834f817040f444118116f4e516
processor_config.json991 B222e060084f093738ca7af4c89ef09d844e415876021325fdf7d5c6821b119d4
tokenizer.json20.0 MB06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
tokenizer_config.json1.17 KB792fa3f0cb88b111e54ef3134c873531008c4df471d108da17903426e308aa7b
video_preprocessor_config.json385 B7768af27c1fafa9cc9011c1dc20067e03f8915e03b63504550e11d5066986d13
vocab.json6.72 MBce99b4cb2983d118806ce0a8b777a35b093e2000a503ebde25853284c9dfa003
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9960608043 pinned now2026-11-15 05:09 UTC20 files · 16.1 GB

Use it

$ fw get mlx-community/Qwen3.8-27B-GPTQ-4bit
# manifest sha256 a85a01490f6a… · 16.1 GB · 20 files
$ fw verify ./Qwen3.8-27B-GPTQ-4bit mlx-community/Qwen3.8-27B-GPTQ-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-GPTQ-4bit.json --dir ./Qwen3.8-27B-GPTQ-4bit $ python3 fw.py verify ./Qwen3.8-27B-GPTQ-4bit ./mlx-community__Qwen3.8-27B-GPTQ-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-GPTQ-4bit --revision 99606080438f3908991dfc2c21fe2cdac34f89be --local-dir ./Qwen3.8-27B-GPTQ-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-GPTQ-4bit", revision="99606080438f3908991dfc2c21fe2cdac34f89be") model = AutoModelForImageTextToText.from_pretrained("mlx-community/Qwen3.8-27B-GPTQ-4bit", revision="99606080438f3908991dfc2c21fe2cdac34f89be", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Qwen3.8-27B-GPTQ-4bit --revision 99606080438f3908991dfc2c21fe2cdac34f89be

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-15
Text in
README.md
Text sha256
6184a18bf5a226c7e5cbc7dee47e5c457bbecade08d8e7ad828bc99150285e76
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-GPTQ-4bitDate: 2026-11-15Commit: 9960608Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Qwen3.8-27B-GPTQ-4bit
Pinned commit
99606080438f3908991dfc2c21fe2cdac34f89be
Manifest
Qwen3.8-27B-GPTQ-4bit.json · .minisig
Manifest sha256
a85a01490f6ad1417b9e0c441cad8a5c77161a69e363d895e1fc39accdf715a2
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:09 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Qwen3.8-27B-GPTQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Qwen3.8-27B-GPTQ-4bit.json.minisig $ minisign -Vm Qwen3.8-27B-GPTQ-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-GPTQ-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-GPTQ-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