/ Модель

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

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

Qwen3.8-27B-MLX

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

Qwen3.8-27B-MLX — сборка официальной модели Qwen/Qwen3.8-27B, разработанной командой Qwen и адаптированной OrcaRouter для MLX.

1 705скачиваний за 30 дней27лайковвеса обновлены12 окт 2026

Бенчмарки

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

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

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

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

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

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

Это мультимодальная vision-language модель с поддержкой текста и изображений, ориентированная на запуск на устройствах Apple Silicon. Заявлены английский и китайский языки, управление режимом рассуждений, вызов инструментов и Multi-Token Prediction (MTP) для ускорения спекулятивной генерации.

Модель имеет 27 миллиардов параметров и плотную гибридную архитектуру, сочетающую линейное внимание Gated DeltaNet с полноразмерным attention. Доступны аффинные варианты квантования на 4, 6 и 8 бит: примерно 16, 24 и 31 ГБ соответственно. Визуальная башня, нормализационные и свёрточные слои сохраняются в BF16, а линейные веса языковой модели квантуются. Вариант 8-bit обеспечивает качество, близкое к BF16, 6-bit предлагает компромисс между качеством и объёмом, а 4-bit предназначен для повседневного использования при меньших требованиях к памяти.

Модель подходит для диалоговых приложений, анализа изображений, генерации текста, задач рассуждения и сценариев с вызовом функций. Для ускорения генерации доступен отдельный MTP-драфтер, совместимый с любой основной точностью. Ограничениями являются значительные требования к оперативной памяти, зависимость от актуальных версий mlx-vlm и MLX, а также преимущественная ориентация на Apple Silicon; для vision-режима на CUDA требуется дополнительная настройка. Репозиторий распространяется по лицензии Apache 2.0.

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

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

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

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

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

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

Открыть на Hugging Face

An MLX build of the official Qwen/Qwen3.8-27B — a 27B dense hybrid-attention (Gated DeltaNet linear + full attention) native vision-language model with thinking control, tool-calling and an MTP head — quantized to MLX for Apple Silicon. Three precisions (4 / 6 / 8-bit, affine) as subfolders, the 4-bit build also mirrored at the repo root (so orcarouter/Qwen3.8-27B-MLX loads directly in LM Studio), plus a separate mtp/ drafter for speculative decoding. The vision tower, norms and conv layers stay in BF16; only language-model linear weights (incl. embed_tokens / lm_head) are quantized. Browse all models in the OrcaRouter Model Catalog; deployed as API here.


Available quantizations

FolderBitsGroup sizeSizeMin Mac RAMQuality vs BF16
8-bit/832~31 GB32–64 GBNear-lossless — best quality
6-bit/632~24 GB32 GBExcellent balance
4-bit/464~16 GB24 GBVery good — recommended default
mtp/bf16—~0.9 GB—MTP drafter (speculative decoding)

Repo root = 4-bit/. --model orcarouter/Qwen3.8-27B-MLX (no subfolder) resolves to 4-bit.


Quality — KL-divergence vs BF16

Measured on this build: KL divergence and Top-1 token agreement of each quantized precision against the full-precision BF16 reference (wikitext-2, 1024 tokens, MLX CUDA backend). Lower KLD / higher Top-1 = closer to full precision.

PrecisionMean KLDKLD p95Top-1 agreement
8-bit0.000680.0023398.34 %
6-bit0.002160.0079596.97 %
4-bit0.028240.1085792.68 %

8-bit / 6-bit are near-lossless (Top-1 ≈ 97–98 %); 4-bit stays very close (Top-1 ≈ 93 %) — the recommended default for everyday use.


Multi-Token Prediction (MTP) — speculative decoding

Qwen3.8-27B has a native MTP head. In MLX it is loaded as a separate drafter: the main model is loaded with MTP stripped, and the drafter is passed explicitly. The drafter lives in mtp/ (model_type: qwen3_5_mtp, block_size 3) and works with any main precision.

hf download orcarouter/Qwen3.8-27B-MLX --include "6-bit/*" "mtp/*" --local-dir ./Qwen3.8-27B-MLX

python -m mlx_vlm generate \
    --model       ./Qwen3.8-27B-MLX/6-bit \
    --draft-model ./Qwen3.8-27B-MLX/mtp \
    --draft-kind mtp --draft-block-size 4 \
    --prompt "Explain quantum entanglement in one sentence." --max-tokens 256

Requirements: an mlx-vlm build with the qwen3_5_mtp drafter and --draft-kind mtp (mlx-vlm main). MTP acceptance is lossless — greedy output is identical, just fewer forward passes.


Usage (mlx-vlm, Apple Silicon)

pip install -U mlx-vlm    # needs mlx-vlm >= 0.6.13, mlx >= 0.32

hf download orcarouter/Qwen3.8-27B-MLX --include "4-bit/*" --local-dir ./Qwen3.8-27B-MLX

# text
python -m mlx_vlm generate --model ./Qwen3.8-27B-MLX/4-bit \
    --prompt "Explain quantum entanglement in one sentence." --max-tokens 256
# vision (image + text)
python -m mlx_vlm generate --model ./Qwen3.8-27B-MLX/4-bit \
    --image path/to/image.png --prompt "Describe this image." --max-tokens 256
# OpenAI-compatible server
python -m mlx_vlm server --model ./Qwen3.8-27B-MLX/4-bit --port 8080

On Apple Silicon the Metal backend is used automatically. (On a Linux CUDA backend, vision requires MLX_CUDA_USE_CUDNN_SDPA=0; not needed on macOS.)

LM Studio

Repo root is the 4-bit build. Two things: turn off KV-cache quantization (unsupported on this vision arch — load fails otherwise), and update the MLX runtime (Settings → Runtime) — qwen3_5 support landed in mlx-vlm 0.6.x.


Qwen3.8-27B

Following the widespread community adoption of the Qwen3.5 and Qwen3.6 series, Qwen3.8 is the most capable generation in the Qwen open-model family to date. Built on the architectural foundation of Qwen3.5, Qwen3.8-27B is a compact, deployment-friendly dense model: a native vision-language model that understands images and videos, with flexible thinking control, designed to carry complex, multi-step tasks through to completion with greater reliability.

Qwen3.8 Highlights

  • Core Capabilities: comprehensive improvements across coding, professional work, research, and long-horizon agentic tasks.
  • Agent Execution: stronger autonomous planning and better handling of environment feedback.
  • Downstream Compatibility: broader support for popular harnesses and development tools.
  • Flexible Thinking Control: thinking on by default, disable per request; tune depth with reasoning_effort, retain reasoning context via preserve_thinking.
  • Vision-Language Understanding: native image and video understanding, from STEM diagrams and documents to hour-scale videos.

Model Overview

  • Type: Causal Language Model with Vision Encoder
  • Parameters: 27B · Hidden: 5120 · Layers: 64 · Vocab: 248,320 (padded)
  • Hidden layout: 16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN))
    • Gated DeltaNet: 48 V heads / 16 QK heads, head dim 128
    • Gated Attention: 24 Q heads / 4 KV heads, head dim 256, RoPE dim 64
    • FFN intermediate: 17,408
  • MTP (Multi-Token Prediction): trained with multiple steps (shipped as the mtp/ drafter)
  • Context length: 262,144 native, extensible to 1,000,000 tokens

Best Practices

  • Sampling — thinking mode: temp=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0
  • Sampling — non-thinking: temp=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5
  • Output length: allow generous max-tokens; give ≥ 2048 headroom so the final answer isn't truncated by the thinking budget.
  • Ultra-long context: for total length beyond 262,144, use RoPE scaling (e.g. YaRN).

Citation

@misc{qwen38,
    title  = {Qwen3.8: A New Bar for Coding and Cowork},
    url    = {https://qwen.ai/blog?id=qwen3.8},
    author = {{Qwen Team}},
    month  = {August},
    year   = {2026}
}

License

Apache 2.0, inherited from Qwen/Qwen3.8-27B. Quantization does not change the underlying license obligations.

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

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

GPU в ailist

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

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

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

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

0 моделей