/ Модель

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

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

Qwen3.8-27B-NVFP4-vllm

Изображение и текст → текст15 профессий
171скачиваний за 30 дней0лайковвеса обновлены21 ноя 2026

Описание модели

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

Qwen3.8-27B-NVFP4-vllm — квантованная версия модели Qwen3.8-27B, разработанной командой Qwen и опубликованной пользователем kekzle.

Модель предназначена для запуска в vLLM и imp; поддерживает текстовые и визуальные входы, при этом в карточке указан английский язык. Это гибридная архитектура с компонентами GDN, vision tower и MTP draft head, однако подробные сведения о точной архитектуре и максимальном контексте не приведены.

Линейные веса внимания, MLP и GDN-проекций сжаты в NVFP4 с группами размера 16 по схеме W4A16, а embeddings, lm_head, нормализации, vision tower и MTP draft head сохранены в исходной точности BF16. Размер весов уменьшен примерно с 51,75 до 19,2 ГиБ, что позволяет разместить модель на видеокарте с 32 ГиБ памяти. По приведённым измерениям на RTX 5090 модель достигла perplexity 4,6158, скорости декодирования до 87,4 токена в секунду и результата 45/45 в тестовом наборе качества.

Сильные стороны модели — существенная экономия памяти, поддержка работы с текстом и изображениями, совместимость с vLLM и imp, а также возможность запуска на потребительских видеокартах Blackwell sm_120, где опубликованные варианты с FP8 attention могут не работать. Ограничения связаны с экспериментальным характером квантования без калибровки активаций, меньшей производительностью vLLM на sm_120 из-за fallback на Marlin и необходимостью настраивать число последовательностей и параметры памяти. Для многошаговых диалогов рекомендуется выделять не менее примерно 400 токенов на ответ, поскольку бюджет включает внутреннее рассуждение.

Модель распространяется по лицензии Apache-2.0. Квантованная версия создана из официального релиза BF16 с помощью экспериментального квантовщика imp.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-27B-NVFP4 (compressed-tensors, for vLLM and imp)

Qwen/Qwen3.8-27B quantized to NVFP4 in the compressed-tensors nvfp4-pack-quantized layout, so it loads in vLLM and in imp. 51.75 GiB of BF16 becomes 19.2 GiB, which fits one 32 GB card with room for a real context.

The published NVFP4 exports of this model do not run on consumer Blackwell (sm_120): they are mixed-precision with FP8 attention, and that card has no FP8 GEMM. This one is weight-only NVFP4 (W4A16), so it does.

Use it

# vLLM (verified on 0.27.1 and 0.31.0)
from vllm import LLM
llm = LLM(model="kekzle/Qwen3.8-27B-NVFP4-vllm", max_model_len=4096)
# imp
docker run --rm --gpus all -p 8080:8080 -v /path/to/models:/models \
  ghcr.io/kekzl/imp:latest \
  imp-server --host 0.0.0.0 --model /models/Qwen3.8-27B-NVFP4-vllm

Two vLLM flags this model needs on a 32 GB card:

  • --max-num-seqs 64 (or anything <= 169). This is a GDN hybrid, so vLLM takes one Mamba cache block per decode sequence; with these weights resident only 169 blocks fit, and the default 256 aborts startup with max_num_seqs (256) exceeds available Mamba cache blocks (169) ... CUDA graph capture cannot proceed. Do not "fix" that with --enforce-eager: it hides the error and costs most of the decode speed.
  • VLLM_WSL2_ENABLE_PIN_MEMORY=1 on WSL2, or it aborts with RuntimeError: UVA is not available. Keep --gpu-memory-utilization at ~0.92 or below there, because WSLg holds ~1.2 GB.

vLLM also has no native FP4 kernel on sm_120 and falls back to Marlin, so its throughput here is not what it would be on a datacenter card: measured single-stream on this checkpoint, 71.3 tok/s (vLLM 0.31.0) against imp's 96.9 without speculation and 207.8 with its MTP draft head.

What is quantized

tensorsprecision
linear weights (attention, MLP, GDN projections)NVFP4, group size 16
embeddings, lm_head, normssource precision (BF16)
vision tower, MTP draft headsource precision (BF16)

Everything left at source precision is listed in ignore inside quantization_config, and input_activations is null: this quantizes weights only, which vLLM reads as NVFP4A16.

Layers an engine merges into one linear (q/k/v, gate/up, and the GDN in_proj_* pairs) share one tensor scale. That is not cosmetic: an engine keeping a single scale for the merged weight would otherwise dequantize the other members against the wrong one, and the amax spread inside those groups reaches 3.7x on this model.

Give it room to think

This model reasons before it answers, and the reply shares the token budget with that reasoning. In a long conversation the thinking grows, so a small max_tokens can return an empty answer: the budget is gone before the reply starts. Measured over one 74-turn session grown to ~8k tokens:

max_tokensresult
260several turns with an empty answer, one reply that was a single non-Latin token
60074 of 74 turns clean, every recall correct

Not specific to one engine: the same conversation degenerates under vLLM too, where the thinking is streamed into content instead. Set max_tokens to at least ~400 for multi-turn use.

Measurements

RTX 5090, batch 1, greedy, imp main of 2026-11-21 (after 0.69.1), one run per cell.

this revision (AWQ)previous revision (round-to-nearest)
Perplexity, prefill route (ppl_corpus_45k.txt, 13 811 tokens, deterministic)4.53924.6018
Perplexity, per-step decode route (rows 64 and up)4.47054.5044
Decode tg, no speculation96.91 tok/s96.87 tok/s
Prefill pp51211 474 tok/s11 446 tok/s
Server with MTP draft head, 30 chat prompts x 300 tokens, end to end207.81 tok/s207.66 tok/s
MTP draft acceptance on those prompts45.1 %44.9 %
vLLM 0.31.0, single stream, 400 tokens71.29 tok/s70.58 tok/s
Quality suite (degen_suite.py, 52 checks), with MTP and without52/5252/52

The round-to-nearest revision stays in this repository's history.

Text and vision both work; the vision tower stays at source precision.

Provenance and limitations

Converted from the official BF16 release with imp's in-tree quantizer, with AWQ activation calibration since 2026-11-21. BF16 (51.75 GiB) does not fit a 32 GB card, so the activation statistics come from a round-to-nearest export of the same model:

imp-quantize --model ./Qwen3.8-27B --out ./rtn
imp-cli --model ./rtn --perplexity calib.txt --calibrate cal.bin --set speculative.mtp_k=0
imp-quantize --model ./Qwen3.8-27B --out ./Qwen3.8-27B-NVFP4-vllm --calib cal.bin --format vllm

calib.txt is 150 000 bytes of English prose (37 235 samples, 496 calibration entries), disjoint from the perplexity corpus. The exact settings are in imp_recipe.json, the per-tensor error in quant_report.json. imp-quantize is experimental: prefer a calibrated vendor export where one exists and runs on your card.

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

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

GPU в ailist

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

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

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

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

0 моделей