/ Модель

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

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

Huihui-Qwen3.8-27B-abliterated-NVFP8

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

Huihui-Qwen3.8-27B-abliterated-NVFP8 — это квантованная версия Huihui-Qwen3.8-27B-abliterated, опубликованная trailio и происходящая от Qwen/Qwen3.8-27B от Qwen.

295скачиваний за 30 дней0лайковвеса обновлены25 авг 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста и обработки изображений с текстом; в метаданных указана модальность image-text-to-text. Языки явно не перечислены. Базовая модель имеет 27,78 млрд параметров, из которых 24,33 млрд подвергнуты квантованию, а визуальная часть с ViT из 27 блоков и merger оставлена в BF16. В README не указано точное максимальное окно контекста; пример запуска использует 8192 токена.

Основная особенность — weight-only-квантование W8A16 в нестандартный формат NVFP8: FP8 E4M3 с блочными масштабами размера 16 и двухуровневым масштабированием. Размер весов сокращён с 55,6 до 32,8 ГБ, относительная ошибка квантования указана на уровне 0,0252. Активации остаются в BF16, а Triton-ядро демонстрирует ошибку не более 3,7×10⁻³ относительно FP32-эталона. Квантование выполняется без калибровочного набора данных.

Модель подходит для локального инференса в vLLM при ограниченных ресурсах видеопамяти, однако стандартный vLLM этот формат не загружает: необходимо скачать репозиторий локально и установить поставляемый пакет через pip. Требуются GPU с архитектурой sm_89 или новее и около 35 ГБ VRAM во время работы без учёта KV-кэша; заявлена проверка на RTX PRO 6000 Blackwell с vLLM 0.27.1. На CUDA младше 12.9 возможны проблемы FlashInfer. Производитель отмечает, что abliteration удаляет поведение отказа, поэтому к модели применимы оговорки о сниженной фильтрации базовой модели. Лицензия — Apache 2.0.

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

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

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

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

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

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

Открыть на Hugging Face

Huihui-Qwen3.8-27B-abliterated — NVFP8

Block-16, two-level-scaled FP8 E4M3. 55.6 GB → 32.8 GB (−41%).

Stock vLLM cannot load this

NVFP8 is not an NVIDIA-defined format. NVIDIA's microscaling family is NVFP4 (block-16, E4M3 scales) at 4 bits and MXFP8 (block-32, E8M0 scales) at 8 bits — there is no vendor NVFP8. vLLM dispatches kernels by matching quantization args: _is_nvfp4_format requires num_bits == 4, _is_mxfp8 requires group_size == 32. This checkpoint's signature — 8-bit, tensor_group, group_size=16 — matches nothing, and loading raises NotImplementedError.

The nvfp8/ package in this repo supplies the Triton kernel and the dispatch hook that make it loadable.

Usage

The runtime ships in this repo, so download it as a directory rather than letting vLLM stream the weights into the HF cache — you need a local path to install the plugin from.

hf download trailio/Huihui-Qwen3.8-27B-abliterated-NVFP8 --local-dir ./qwen-nvfp8
cd qwen-nvfp8
pip install -e .        # registers a vllm.general_plugins entry point
from vllm import LLM
llm = LLM("./qwen-nvfp8", trust_remote_code=True, max_model_len=8192)
print(llm.generate(["The capital of France is"])[0].outputs[0].text)

pip install -e . has to run from that downloaded directory — it is what registers the entry point. Passing the repo id straight to LLM(...) without installing gets you the NotImplementedError described above, because the weights land in the HF cache and the plugin is never installed.

The entry point is required rather than a convenience: vLLM forces the spawn start method once CUDA is initialized, so calling register() by hand in the parent process never reaches EngineCore. Installation is what makes registration happen in every engine and worker process.

Needs ~31 GB of disk for the download and ~35 GB of VRAM at runtime (weights plus activations), before KV cache.

Requires sm_89+ (Ada or newer). Validated on RTX PRO 6000 Blackwell (sm_120, 96 GB) with vLLM 0.27.1.

Format

weight               [N, K]      float8_e4m3fn
weight_scale         [N, K/16]   float8_e4m3fn   one per 16 input elements
weight_global_scale  per-shard   float32

Weight-only (W8A16); activations stay bf16.

The global scale is per-shard rather than per-tensor because vLLM fuses gate_proj+up_proj into gate_up_proj and q/k/v_proj into qkv_proj. Those tensors were quantized independently and carry different global scales, so the value is expanded per-output-row at load time. Collapsing it to a single scalar mis-scales one shard by the ratio between them.

Group scales are rounded up to the next representable e4m3 value, not to nearest. Round-to-nearest lets a scale land below its target, pushing the group's largest element past 448 so it clips — measured at 3.4% of all elements. Rounding up drives that to zero.

What was quantized

400 Linear layers, 24.33B of 27.78B params (87.6%). Left in BF16:

why
visual.*27-block ViT + merger — abliteration left vision untouched
mtp.*multi-token-prediction head; accept rates are sensitive to its logits
lm_head, embed_tokens1.27B params each; vocab projections are where 8-bit bites
linear_attn.in_proj_a/b[48, 5120] DeltaNet decay/gate — 245K params each, and error compounds through the SSM recurrence instead of averaging out
A_log, dt_bias, conv1dSSM state; config pins mamba_ssm_dtype=float32

All quantized K-dims (5120, 6144, 17408) divide by 16, so groups tile with no padding.

Accuracy

Weight round-trip error, identical tensors:

schemerel. error
NVFP8 (block-16)0.0252
FP8 per-channel0.0265
FP8 per-tensor0.0265

On outlier-heavy weights: 0.0213 vs 0.0249 per-channel. 0.025 is the E4M3 floor — 3 mantissa bits — not a property of the scaling scheme.

Triton kernel error against an fp32 reference is ≤3.7e-3 across every layer shape at M=1 through M=2048, roughly an order of magnitude below the quantization error itself.

PTQ with no calibration data: weight-only NVFP8 derives its scales from the weights, so there is no dataset dependence and nothing to overfit.

Known issues

On containers with CUDA < 12.9, FlashInfer's JIT cannot resolve sm_120 and fails with FlashInfer requires GPUs with sm75 or higher. Set VLLM_USE_FLASHINFER_SAMPLER=0 or use a CUDA ≥ 12.9 image. Unrelated to quantization — it affects the sampler, not the model.

Provenance

Quantized from huihui-ai/Huihui-Qwen3.8-27B-abliterated, itself an abliterated derivative of Qwen/Qwen3.8-27B.

Abliteration removes refusal behavior; the base model's reduced-filtering caveats apply here unchanged. Quantization preserves behavior — it neither adds nor removes safety properties.

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

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

GPU в ailist

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

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

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

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

0 моделей