/ Модель

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

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

Qwen3.8-27B-AWQ-4bit

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

barrydeen/Qwen3.8-27B-AWQ-4bit — квантизированная версия мультимодальной модели Qwen/Qwen3.8-27B, разработанной командой Qwen и подготовленной пользователем barrydeen.

35 134скачиваний за 30 дней13лайковвеса обновлены14 авг 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста и обработки изображений с текстом, включая диалоговые сценарии, работу с кодом, арифметикой, инструментами и рассуждениями.

Модель имеет гибридную архитектуру Qwen3_5ForConditionalGeneration с 27 млрд параметров. Из 64 декодерных слоёв 16 используют полноценное внимание, а 48 — Gated DeltaNet. Линейные слои квантизированы методом AWQ в формате W4A16 с асимметричной схемой и размером группы 128; чувствительные компоненты, включая vision tower, Gated DeltaNet и MTP head, сохранены в BF16. Размер модели составляет около 27,8 ГБ вместо 55,6 ГБ в BF16. Заявлена поддержка контекста до 131 072 токенов при использовании vLLM, а также MTP-спекулятивного декодирования.

Сильные стороны модели — существенное снижение требований к памяти при сохранении чувствительных компонентов в исходной точности, поддержка мультимодальности, инструментальных вызовов и высокая измеренная скорость генерации 85–95 токенов в секунду на двух RTX 3090. Ограничения включают отсутствие формального набора бенчмарков, калибровку только на текстовых данных и последовательностях длиной до 1024 токенов, поэтому качество на более длинных контекстах и мультимодальных данных отдельно не подтверждено. Для MTP требуется тензорный, а не конвейерный параллелизм. Модель распространяется по лицензии Apache 2.0, унаследованной от базовой модели.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-27B-AWQ-4bit

AWQ W4A16 quantization of Qwen/Qwen3.8-27B, produced with llm-compressor in compressed-tensors pack-quantized format — the best-optimised Marlin path on Ampere (SM 8.6).

Built for 2× RTX 3090 running vLLM, but nothing here is 3090-specific.

Size27.8 GB (from 55.6 GB BF16)
Formatcompressed-tensors / pack-quantized
SchemeW4A16 asymmetric, group size 128
Quantized modules256 Linear layers
Vision towerpreserved, BF16
Gated DeltaNetpreserved, BF16
MTP headpreserved, BF16
Architecture stringQwen3_5ForConditionalGeneration

Why this one is bigger than other 4-bit builds

Qwen3.8-27B is a hybrid model. Only 16 of its 64 decoder layers use full attention; the other 48 use Gated DeltaNet (linear_attn.*). Those DeltaNet projections are extremely sensitive to quantization, so they are left at full BF16 precision here, along with the vision tower and the multi-token-prediction head.

That means only 256 Linear modules are quantized — 16 layers × 4 attention projections plus 64 layers × 3 MLP projections — rather than the ~448 you would get by assuming a uniform architecture. Keeping 48 layers of DeltaNet in BF16 costs roughly 7 GB versus builds that quantize everything, and that is the entire difference in file size.

Everything protected here matches the exclusion set of the official FP8 release's modules_to_not_convert.

Usage

vLLM

vllm serve barrydeen/Qwen3.8-27B-AWQ-4bit \
  --trust-remote-code \
  --tensor-parallel-size 2 \
  --max-model-len 131072 \
  --gpu-memory-utilization 0.91 \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_xml \
  --reasoning-parser qwen3 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}'

Two things worth knowing:

  • Use tensor parallelism, not pipeline parallelism, if you enable MTP. The MTP draft model does not implement SupportsPP, and startup fails with NotImplementedError: Pipeline parallelism is not supported for this model. Without MTP, --pipeline-parallel-size 2 is fine.
  • If your host has no CUDA toolkit, set VLLM_USE_FLASHINFER_SAMPLER=0. FlashInfer's sampler JIT-compiles kernels and will fail with Could not find nvcc.

Transformers

from transformers import AutoModelForImageTextToText, AutoProcessor

model = AutoModelForImageTextToText.from_pretrained(
    "barrydeen/Qwen3.8-27B-AWQ-4bit", device_map="auto", trust_remote_code=True,
)
processor = AutoProcessor.from_pretrained(
    "barrydeen/Qwen3.8-27B-AWQ-4bit", trust_remote_code=True,
)

Measured performance

2× RTX 3090, vLLM 0.26.0, TP=2, MTP speculative decoding with 3 draft tokens:

MetricValue
Generation85–95 tok/s
MTP acceptance67.1%
Tokens per forward step3.01
KV cache @ 131k context178,667 tokens

Speculative acceptance by draft position: 85% / 69% / 47%.

Quantization details

  • Source: Qwen/Qwen3.8-27B BF16 — not re-quantized from the FP8 release.
  • Method: AWQ via llm-compressor, W4A16_ASYM, group size 128.
  • Calibration: 512 samples from HuggingFaceH4/ultrachat_200k (train_sft), chat-template formatted, max_seq_length=1024.
  • Pipeline: sequential, one decoder layer at a time (sequential_targets=["Qwen3_5DecoderLayer"]), so each layer is calibrated against the actual quantized output of the layers before it.

Excluded from quantization: linear_attn.* (Gated DeltaNet), the full visual.* tower, mtp.*, lm_head, embed_tokens, all norms, and the MoE gates.

Limitations and honest notes

  • Calibration used 1024-token sequences, not 2048. Quantizing a 27B model alongside the sequential pipeline's activation cache exceeded available memory at 2048. Halving sequence length was chosen over halving sample count, on the reasoning that activation-statistic diversity across 512 distinct conversations matters more for AWQ than per-sample length. It does mean activations from the 1024–2048 token range were not observed during calibration.
  • Calibration data is text-only. The vision tower is not quantized, so it is unaffected, but no image data was used.
  • No formal benchmark suite has been run. The performance figures above are measured; quality has been verified only by inspection (coherent generation, correct arithmetic, working code output, no degradation under tool-calling). If you benchmark it, please open a discussion — particularly a comparison against builds that quantize the DeltaNet layers, since that is the central claim here and it deserves numbers rather than reasoning.

License

Apache 2.0, inherited from the base model.

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

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

GPU в ailist

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

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

Готовая квантизация поддерживается только для текстовых LLM (vLLM).

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

0 моделей