Downloads · 30 days
51
24% of all-time downloads
ObviousSalamander/Qwopus3.8-27B-Flash-OptiQ-4bit
Qwopus3.8-27B-Flash-OptiQ-4bit is a image-text-to-text model from ObviousSalamander. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
A mixed-precision 3.97 bpw quantized MLX build of Jackrong/Qwopus3.8-27B-Flash, produced with OptiQ (data-driven, sensitivity-based quantization), packaged in the standard MLX layout with the vision tower restored int…
Downloads · 30 days
51
24% of all-time downloads
All-time downloads
216
Public
Parameters
27.4B
21.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors20.4 GB · 100%
How the weights are stored.
U3226.9B · 98%
From the Hugging Face model README
A mixed-precision 3.97 bpw quantized MLX build of
Jackrong/Qwopus3.8-27B-Flash,
produced with OptiQ (data-driven, sensitivity-based
quantization), packaged in the standard MLX layout with the vision tower restored into the
main shards and a working vision chat template.
Jackrong/Qwopus3.8-27B-FlashQwen/Qwen3.8-27B (by Alibaba/Qwen)This repo contains no new training — it is a quantization of Jackrong's published weights. The weights and model architecture are Jackrong's work; only the OptiQ conversion and MLX packaging are ours. All credit for the model itself goes to Jackrong and the Qwen team.
Jackrong/Qwopus3.8-27B-Flash (bf16, ~52 GB, 18 shards) — Jackrong's
efficiency-tuned fine-tune of the dense multimodal Qwen/Qwen3.8-27B
(Qwen3_5ForConditionalGeneration, vision + language + MTP draft head).optiq convert --target-bpw 4.75 --candidate-bits 4,8.
OptiQ ran a per-layer KL-sensitivity analysis and chose the bit width per layer.model-*.safetensors + model.safetensors.index.json.
Vision tower is included as model.visual.* in the shards.⚠️ This is NOT a uniform 4-bit model. The "4bit" in the name refers to the target budget (4.75 bpw); OptiQ protected the most quality-sensitive layers at 8-bit. In particular,
lm_headandembed_tokensare held at 8-bit (group_size 64) so the output head stays accurate — the same strategy Youssofal uses in their MTPLXOptimized-Speedpacks of the sibling Qwen3.8-27B.
Jackrong's -Flash fine-tune explicitly trades a little accuracy for much lower reasoning
cost and faster agent-loop completion (their headline: ~13% faster decoding, ~81% MTP draft
acceptance, less runaway reasoning). Our goal was to preserve that efficiency profile on
Apple Silicon while keeping the quality-sensitive parts — especially the output head — as
exact as possible.
Two decisions shaped the result:
lm_head + embed_tokens (vocab 248,320) are the
single most error-sensitive tensors in next-token prediction. OptiQ's per-layer
sensitivity analysis promoted them to 8-bit g64 automatically. We deliberately did not
graft bf16 heads back (which would add ~2–3 GB and slow the load) because the Flash model
is built for speed; 8-bit on a 5120-dim projection already carries near-negligible error.chat_template.jinja is text-only and
cannot render the multimodal content lists ([{type:image},…]) that mlx-vlm sends, so
out-of-the-box vision generation crashes with a TypeError. We replaced it with the proper
vision-capable template from the base Qwen/Qwen3.8-27B (same architecture, same image/
video token ids, same vocab). Vision now works correctly (verified).This build took a long time to produce (download of the ~52 GB bf16 original, the ~12-hour OptiQ sensitivity conversion on a Mac mini M4 Pro, the vision-sidecar re-merge into a standard MLX layout, and the chat-template fix). It is published so anyone can use the result directly — or audit the specific OptiQ recipe + 8-bit-head decision — without repeating that work.
# text
python -m mlx_lm generate --model ObviousSalamander/Qwopus3.8-27B-Flash-OptiQ-4bit \
--prompt "What is 2+2?" --max-tokens 40
# vision (uses the restored base vision template)
python -m mlx_vlm.generate \
--model ObviousSalamander/Qwopus3.8-27B-Flash-OptiQ-4bit \
--image <image.png> --prompt "Describe this image." --max-tokens 60
Measured locally on a Mac mini M4 Pro (64 GB) with mlx-vlm: text ~13 tok/s decode,
~19.5 GB peak; vision ~13 tok/s decode, ~22.4 GB peak. An MTP draft head is included in
optiq/mtp.safetensors (forge contract fields in config.json) for MTPLX-style
speculative decoding.
model-0000{1-5}-of-00005.safetensors — quantized weights (4 language shards + 1 vision
shard, all model.visual.* folded in)optiq/mtp.safetensors — MTP draft headchat_template.jinja — base Qwen3.8-27B vision-capable template (fixes upstream bug)config.json, processor_config.json, tokenizer*The original Qwopus3.8-27B-Flash model inherits the Apache-2.0 license of its Qwen base.
This MLX quantized build is distributed under the same terms.