/ Модель

Характеристики

Контекст
262 144 токена
Размер весов
13,9 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.8-27B
Библиотека
mlx
Опубликована
15 авг 2026

Qwen3.8-27B-mixed-3.5bpw-MLX

Изображение и текст → текст15 профессий

rapid-mlx/Qwen3.8-27B-mixed-3.5bpw-MLX — это мультимодальная MLX-сборка модели Qwen3.8-27B от Qwen, подготовленная в виде активационно-ориентированной смешанной квантизации.

828скачиваний за 30 дней7лайковвеса обновлены5 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель поддерживает ввод изображений и текста с генерацией текста, а также может работать в текстовом режиме. Сборка рассчитана прежде всего на компьютеры Apple Silicon с unified memory и запускается через Rapid-MLX, совместимый с OpenAI API.

Модель предназначена для диалогов, анализа изображений, работы со знаниями, математического рассуждения и генерации кода. Средний размер квантизации составляет 3,5 bits-per-weight: языковые Linear-слои распределены между 2-, 3- и 4-битными представлениями, а vision tower сохранён в 4-битном виде. Размер модели на диске составляет около 13 ГБ; заявлены языки English и Chinese. По приведённым измерениям, модель обычно укладывается в 24 ГБ памяти Apple Silicon, использует примерно 14,6–16,5 ГБ в зависимости от сценария и не помещается в 16 ГБ.

Сильная сторона сборки — заметное сокращение размера и пикового потребления памяти при сохранении результатов, близких к 4-битной и исходной bf16-версиям в задачах знаний, рассуждения и кода. Поддерживается опциональное ускорение через Multi-Token Prediction, однако его эффект зависит от чипа Apple. Ограничение — качество работы с изображениями ниже 4-битной версии: в MMBench-EN указано 86,7 против 90,3 балла. Модель распространяется по лицензии Apache-2.0.

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3.8-27B · Activation-Aware Mixed 3.5bpw (MLX)

Run with Rapid-MLX: rapid-mlx serve qwen3.8-27b-mixed-3.5bpw starts an OpenAI- and Anthropic-compatible API on your Mac. · Rapid-MLX benchmark vs Apple's MLX

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
  • ~13 GB on disk (avg 3.5 bits-per-weight, mixed 2/3/4-bit) — vs ~16 GB for the standard 4-bit build and ~51 GB for bf16.
  • Runs comfortably on 24 GB Macs; easy on 32 GB. (Measured peak ~14.6–16.5 GB — see Runtime footprint.)
  • Native multimodal — image + text in, text out (vision tower preserved).
  • Serves on Rapid-MLX — text with full continuous batching, or vision with --mllm — on Apple unified memory.

Optional MTP acceleration

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).

Knowledge-per-gigabyte sweet spot: mixed 3.5bpw matches 4-bit knowledge at 13 GB

Why this build

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.

How it was made

  1. Run a small English calibration set through the model once, capturing the mean input-activation magnitude of every language Linear (AWQ/GPTQ-style salience).
  2. Score each module's quantization error weighted by that activation scale — || (W − dequant(quant_b(W))) · diag(act_scale) || — at bit-widths {2,3,4,8}.
  3. Greedy-knapsack allocate bits to hit a 3.5 bpw target, minimizing total activation-weighted error under the size budget.
  4. Vision tower kept at 4-bit → multimodal preserved. group size 64, affine.

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.

Evaluation (identical harness, greedy decoding)

BenchmarkSkill4-bit (16 GB)this — 3.5bpw (13 GB)uniform 3-bit (12 GB)
MMLU-Pro (n=500)knowledge60.861.054.2
GSM8K (n=150)math reasoning95.394.792.7
HumanEval+ (n=40, thinking)code77.580.0—
MMBench-EN (n=300)vision90.386.787.3

Benchmark comparison: mixed 3.5bpw matches 4-bit on knowledge, reasoning, and code

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.

vs the full-precision original

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 subsetbf16 (51 GB)4-bit (16 GB)mixed 3.5bpw (13 GB)
MMLU-Pro (n=200)59.561.560.5
GSM8K (n=60)90.098.393.3
MMBench-EN (n=150)88.092.086.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.

Runtime footprint (measured, mlx.get_peak_memory)

Workloadthis (3.5bpw)4-bit
text-only, 200 tok14.6 GB18.6 GB
+ image (672²)15.9 GB19.7 GB
+ image (896²)16.5 GB20.4 GB

Peak memory: mixed 3.5bpw saves 3.9 GB vs 4-bit, fitting a 24 GB Mac

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.

The sweet spot (size vs capability)

BuildDiskPeak (w/ image)MMLU-ProBest for
bf16~51 GB~53 GBref64 GB+ Macs / reference
4-bit~16 GB~20 GB60.832 GB Macs / max vision
🍬 this (3.5bpw mixed)~13 GB~16 GB61.024 GB Macs — 4-bit-level, −4 GB peak
uniform 3-bit~12 GB~15 GB54.2absolute 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.

Usage

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,<...>"}}
  ]}]
}'

Limitations

  • Vision ~3.6 pts below 4-bit (MMBench-EN); on par with uniform-3-bit. If you need maximum vision accuracy and have 32 GB, use the 4-bit build.
  • Does not fit 16 GB — peak ~14.6 GB text-only. This is a 24 GB / 32 GB build.
  • One-shot post-training quantization, no retraining.
  • Inherits all capabilities and limitations of the base model.

Attribution & license

  • Base model: Qwen/Qwen3.8-27B, Apache-2.0. This derivative is released under the same Apache-2.0.
  • Runtime: Rapid-MLX — an MLX inference server for Apple Silicon.
  • Quantization method implemented from scratch in MLX (activation-aware mixed-precision); no third-party quantization code included.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · mlx

Нельзя запустить

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
b2a38cb

0 моделей