Downloads · 30 days
707
21% of all-time downloads
rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX
Qwen3.8-27B-mixed-3.5bpw-MLX is a image-text-to-text model from rapid-mlx. 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.
Use it from OpenCode / Claude Code / Codex: rapid-mlx agents <name --setup · Agent setup
Downloads · 30 days
707
21% of all-time downloads
All-time downloads
3.4K
Public
Parameters
27.4B
14.8 GB on disk
Likes
10
Trending 2
Click a slice to open those files.
.safetensors14.8 GB · 100%
How the weights are stored.
U3227.2B · 99%
From the Hugging Face model README
curl -fsSL https://rapidmlx.com/install.sh | bash
rapid-mlx serve qwen3.8-27b-mixed-3.5bpw
curl -s http://localhost:8000/v1/chat/completions -H 'Content-Type: application/json' -d '{"model":"default","messages":[{"role":"user","content":"Say hello"}]}'
Use it from OpenCode / Claude Code / Codex: rapid-mlx agents <name> --setup · Agent setup
Download the Desktop app · 24 GB unified memory minimum; 32 GB gives more context headroom.
A multimodal, mixed-precision MLX build of
Qwen3.8-27B that brings this 27B
vision-language model down to a size that runs comfortably on a 24 GB
Apple-Silicon Mac — while keeping 4-bit-level reasoning, knowledge, and code.
▶ Run it on Rapid-MLX (OpenAI-compatible, full continuous batching):
pip install rapid-mlx
rapid-mlx serve rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX --port 8000 # text
rapid-mlx serve rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX --port 8000 --mllm # + vision
--mllm — on Apple unified memory.This repository also contains its paired native Multi-Token Prediction drafter
at mtp/model.safetensors. Recent Rapid-MLX versions can opt into lossless
speculative decoding with one self-contained download:
rapid-mlx serve qwen3.8-27b-mixed-3.5bpw \
--speculative-config '{"method":"mtp","model":"rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX","num_speculative_tokens":3}'
MTP remains off by default because its speed benefit varies by Apple chip. In paired greedy validation, emitted tokens were identical to autoregressive decoding. The Rapid Mac app exposes the same per-model opt-in under Settings → Performance.
The optimized MTP artifact layout builds on MTPLX by Youssof Altoukhi (Apache-2.0).

A uniform 3-bit quant of this model loses ~6.6 points of factual knowledge
(MMLU-Pro) vs 4-bit. This build recovers essentially all of it by spending
bits where they matter: an activation-aware mixed-precision allocation assigns
each language Linear 2/3/4-bit according to how much it actually moves the
model's outputs, rather than quantizing everything uniformly.
Method note: this is not the AWQ algorithm (which does per-channel scaling at a uniform bit-width). It borrows AWQ's salience metric — activation-weighted quantization error — to drive a mixed-precision bit allocation. See below.
Linear (AWQ/GPTQ-style salience).|| (W − dequant(quant_b(W))) · diag(act_scale) || — at bit-widths {2,3,4,8}.The knowledge loss concentrates in the MLP blocks (not the output head); the allocation promotes the most salient MLP projections to 4-bit and demotes low-salience ones. 3.5 bpw is the sweet spot — higher gave no further gain.
| Benchmark | Skill | 4-bit (16 GB) | this — 3.5bpw (13 GB) | uniform 3-bit (12 GB) |
|---|---|---|---|---|
| MMLU-Pro (n=500) | knowledge | 60.8 | 61.0 | 54.2 |
| GSM8K (n=150) | math reasoning | 95.3 | 94.7 | 92.7 |
| HumanEval+ (n=40, thinking) | code | 77.5 | 80.0 | — |
| MMBench-EN (n=300) | vision | 90.3 | 86.7 | 87.3 |

Reading: knowledge, reasoning, and code match the 4-bit build; the uniform 3-bit knowledge gap is fully closed. Vision sits at the uniform-3-bit level (~3.6 below 4-bit) — the mixed budget was spent on language, not the vision tower.
Run on an identical subset (same 200 questions / 60 problems / 150 images), bf16, 4-bit, and this mixed build land within measurement noise of each other — at n=200 the 95% CI is ≈ ±7 points, so the 1–3 point spread is individual questions flipping, not a quality gap:
| same subset | bf16 (51 GB) | 4-bit (16 GB) | mixed 3.5bpw (13 GB) |
|---|---|---|---|
| MMLU-Pro (n=200) | 59.5 | 61.5 | 60.5 |
| GSM8K (n=60) | 90.0 | 98.3 | 93.3 |
| MMBench-EN (n=150) | 88.0 | 92.0 | 86.0 |
At 13 GB this build is statistically indistinguishable from the bf16 original on knowledge and reasoning — full-precision brains at ~1/4 the size.
mlx.get_peak_memory)| Workload | this (3.5bpw) | 4-bit |
|---|---|---|
| text-only, 200 tok | 14.6 GB | 18.6 GB |
| + image (672²) | 15.9 GB | 19.7 GB |
| + image (896²) | 16.5 GB | 20.4 GB |

Saves ~3.9 GB of peak memory vs 4-bit — enough to move the model down a tier:
4-bit needs a 32 GB Mac (or a tuned iogpu.wired_limit on 24 GB), while this
build runs on 24 GB out of the box. Measured ~11 tok/s decode on an
M2 Pro (32 GB); load ~5 s. Does not fit 16 GB.
| Build | Disk | Peak (w/ image) | MMLU-Pro | Best for |
|---|---|---|---|---|
| bf16 | ~51 GB | ~53 GB | ref | 64 GB+ Macs / reference |
| 4-bit | ~16 GB | ~20 GB | 60.8 | 32 GB Macs / max vision |
| 🍬 this (3.5bpw mixed) | ~13 GB | ~16 GB | 61.0 | 24 GB Macs — 4-bit-level, −4 GB peak |
| uniform 3-bit | ~12 GB | ~15 GB | 54.2 | absolute smallest, but −6.6 knowledge |
Going from 4-bit → uniform 3-bit saves ~4 GB but drops 6.6 MMLU-Pro points. This build sits ~1 GB above uniform 3-bit yet keeps all of that knowledge — the best capability-per-gigabyte point in the family, and the one that turns a 24 GB Mac into a comfortable home for Qwen3.8-27B.
Serve with Rapid-MLX (OpenAI-compatible API):
pip install rapid-mlx
# text — full continuous batching
rapid-mlx serve rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX --port 8000
# vision — add --mllm (serialized one-request-at-a-time lane)
rapid-mlx serve rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX --port 8000 --mllm
Recent Rapid-MLX also ships a short alias — rapid-mlx serve qwen3.8-27b-mixed-3.5bpw --mllm.
curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "default",
"messages": [{"role": "user", "content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "data:image/png;base64,<...>"}}
]}]
}'
Qwen/Qwen3.8-27B,
Apache-2.0. This derivative is released under the same Apache-2.0.