/ Модель

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

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

Qwen3.8-27B-MXFP4-MagicQuant-GGUF

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

Qwen3.8-27B-MXFP4-MagicQuant-GGUF — адаптированная GGUF-сборка модели Qwen3.8-27B, основанная на официально постобученном и квантованном чекпойнте AMD Qwen3.8-27B-Quark-AWQ-MXFP4.

3 995скачиваний за 30 дней6лайковвеса обновлены26 авг 2026

Бенчмарки

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

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

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

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

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

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

Репозиторий подготовлен magiccodingman и содержит исходную нативную MXFP4-версию, а также варианты дополнительного квантования по рецептам MagicQuant и Unsloth.

Модель предназначена для генерации текста и мультимодальных сценариев image-text-to-text, включая обработку изображений благодаря поддержке vision projectors. Также заявлена поддержка MTP. Размер базовой модели составляет 27B параметров, формат распространения — GGUF, а нативная версия занимает около 18,89 ГБ. Доступны варианты с различными уровнями квантования; среди рекомендуемых по соотношению качества и размера указаны MQ-IQ4_XS_1, UD-Q4_K_S, UD-IQ4_XS и UD-Q3_K_XL. Для них заявлено близкое соответствие логитам нативной MXFP4-версии при уменьшении размера примерно на 20,7–31,05%.

Сильной стороной сборки является наличие нескольких проверенных вариантов квантования, опубликованных tensor maps, результатов KLD-тестов и сведений об imatrix, что упрощает выбор между качеством и требованиями к памяти. Ограничения связаны с потерями качества при агрессивном квантовании: один вариант UD-IQ2_XXS был удалён после провала установленного порога качества, а остальные низкобитные варианты также могут заметно отличаться от нативной версии. Это адаптированный downward clone, а не новый полный поиск рецептов MagicQuant; языки и размер контекстного окна в README не указаны. Лицензия — Apache-2.0.

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

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

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

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

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

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

Открыть на Hugging Face

MagicQuant MXFP4 Hybrids — AMD Qwen3.8-27B Quark AWQ

Native MXFP4 GGUF repack of AMD's Quark-AWQ Qwen3.8-27B checkpoint, plus benchmark-validated MagicQuant and Unsloth downward hybrid quantizations with complete tensor maps, KLD results, imatrix provenance, MTP support, and vision projectors.

This release is unusual: its model weights come from AMD's officially post-trained/quantized amd/Qwen3.8-27B-Quark-AWQ-MXFP4, while most of its recipe identities come from magiccodingman/Qwen3.8-27B-MagicQuant-GGUF.

It is therefore an adapted downward clone, not a pure repository clone and not a new full MagicQuant evolution/search run. Each selected tensor configuration was applied directly to the native MXFP4 GGUF under a strict rule: never increase a tensor's storage precision just to match the source recipe. If AMD's source tensor was already smaller, it stayed smaller and byte-exact.

MagicQuant's methodology and protocols are documented at the MagicQuant Wiki.

The exact adapted tensor maps, source recipes, imatrix identities, benchmark results, verification counts, and hashes for this release are published under magicquant-manifest/.

I’m a solo developer working full time for myself to achieve my dream. I build open source code on the side. If you like any of my work, buying me a coffee is always appreciated. Otherwise, I hope you enjoy, maybe give me a star or something—or just send good vibes.

Click here to see ways to support — BTC, PayPal, GitHub Sponsors.

The recipe source is magiccodingman/Qwen3.8-27B-MagicQuant-GGUF. The actual parent checkpoint is amd/Qwen3.8-27B-Quark-AWQ-MXFP4.

This repository did not rerun the full MagicQuant search space. It tested eleven configurations from the established Qwen3.8-27B recipe ladder, adapted each one to AMD's already-quantized source using a strict downward-only policy, rebuilt it directly from the native MXFP4 GGUF, and benchmarked it against native-MXFP4 reference logits. Ten hybrids passed the release cut; one completed result is documented but deliberately not distributed.

Because the parent weights and the adaptation policy differ, the KLD values here are fresh measurements for this repository. They are not copied from the source MagicQuant release and should not be compared as if the two repositories used the same reference model.


Quantized models

Recommended starting points: MQ-IQ4_XS_1, UD-Q4_K_S, UD-IQ4_XS, and UD-Q3_K_XL are the standout quality-to-size models in this release. Across the tested ladder, these four preserve the native MXFP4 logits exceptionally well while still delivering meaningful size reductions; they are the strongest first choices before moving into the more aggressive low-bit experiments.

NameRecipe sourceImatrixKLD vs native MXFP4Size (GB)SavedDownload
Native MXFP4AMD / lossless GGUF repackNone0.00000018.890.00%Link
MQ-IQ4_XS_1MagicQuantGeneric0.00094014.9820.70%Link
UD-Q4_K_SUnslothUnsloth0.00345014.5523.00%Link
UD-IQ4_XSUnslothUnsloth0.00901813.8926.49%Link
UD-Q3_K_XLUnslothUnsloth0.02234413.0331.05%Link
UD-IQ3_SUnslothUnsloth0.04221811.9936.55%Link
MQ-IQ2_M_1MagicQuantGeneric0.05887911.9136.94%Link
UD-IQ3_XXSUnslothUnsloth0.07232710.9042.29%Link
MQ-IQ2_M_2MagicQuantGeneric0.10242410.6943.41%Link
UD-Q2_K_XLUnslothUnsloth0.1110159.8148.08%Link
UD-IQ2_XXSUnslothUnsloth1.1721229.0152.29%Removed — failed quality floor
MQ-IQ2_XXS_1MagicQuantUnsloth0.3217978.2256.47%Link

The crossed-out UD-IQ2_XXS row is retained as a transparent failed experiment, but its GGUF has been removed and will not be uploaded. Its KLD was 1.172122 and its PPL was 17.87418 versus native 5.801511; meanwhile, MQ-IQ2_XXS_1 is both smaller (8.22 GB versus 9.01 GB) and dramatically closer to the native logits (KLD 0.321797). There is no practical reason to distribute the dominated 9.01 GB file. Its benchmark, tensor map, hash, and removal reason remain in the manifest for auditability.

The names describe the cloned recipe/configuration targets. They do not mean every tensor in the file uses that nominal type. The exact effective type of all 866 tensors is recorded in magicquant.clone-configs.json, including every place where native MXFP4 was retained instead of being increased.

Native reference and vision projectors

ArtifactPrecisionSize (GB)PurposeDownload
Native language GGUFNative MXFP4 + source BF16/F3218.89Immutable benchmark/requantization parentLink
Vision projectorBF16/F320.93Archival/highest-fidelity projectorLink
Vision projectorQ8_0 + safe F16/F32 fallbacks0.63Smaller recommended distribution projectorLink

The Q8_0 projector was converted directly from the original source tensors—not requantized from the BF16 GGUF. It contains 83 Q8_0, 27 F16, and 224 F32 tensors. Unsupported shapes safely remained F16/F32. A CPU-only multimodal load encoded an image successfully and exited cleanly with projector offload disabled.

The language KLD benchmark does not evaluate vision quality, so no vision-quality score is claimed. Keep the BF16 projector when maximum vision fidelity matters; use Q8_0 when saving roughly 302 MB is preferable.


What “native MXFP4” means here

The immutable parent GGUF is a lossless repack of AMD's Quark/AWQ checkpoint:

  • 496 native MXFP4 tensors and 12,936,232,960 MXFP4 payload bytes;
  • 10 source BF16 tensors;
  • 360 source F32 tensors;
  • 866 tensors total;
  • no BF16 expansion or intermediate for the MXFP4 weights.

The converter packed the original E2M1 four-bit codes and E8M0 block scales into llama.cpp's block_mxfp4 layout, applying only the required Qwen linear-attention permutations by moving whole codes/scales. Independent reconstruction verified every native MXFP4 payload byte after those lossless layout transforms.

AMD's upstream release also describes dynamically quantized MXFP4 activations in its Quark runtime. GGUF preserves the trained/static checkpoint weights; runtime activation behavior is controlled by llama.cpp and is not a claim of reproducing AMD's original activation kernel path.

Strict downward-only adaptation

Each source tensor type request was compared with the actual AMD-derived source tensor:

  1. If the cloned recipe requested smaller storage, the tensor was requantized downward.
  2. If it requested equal or larger storage, the source tensor was preserved byte-exact.
  3. No candidate passed through a BF16 language-model intermediate.
  4. Every unchanged tensor payload was byte-compared during verification before promotion.
  5. Final files were hash-verified after serialized promotion into the release directory.

This is why these outputs can be much smaller without discarding AMD's native MXFP4 values wherever the cloned recipe would otherwise have increased precision.

MTP tensors retained

The native GGUF and all derivatives retain Qwen's MTP/next-token-prediction metadata and block 64 tensors (qwen35.nextn_predict_layers = 1). MQ-IQ2_XXS_1 preserves the full MTP block at its source BF16/F32 types; other recipes retain the block structurally while quantizing some of its larger tensors. Exact per-artifact MTP types are recorded in magicquant.hybrid-map.json.

Current llama-perplexity evaluation reports the MTP block as unused, so the published KLD values validate the standard autoregressive path only—not MTP prediction quality.

All candidates used the same native MXFP4 reference logits and the same normalized MagicQuant corpus:

llama-perplexity \
  -m <candidate.gguf> \
  -ngl 0 -t 4 -c 2048 \
  --file <ppl_corpus_general.txt> \
  --kl-divergence-base <native_mxfp4_logits.bin> \
  --kl-divergence
  • Dataset: Salesforce/wikitext
  • Token target: 32,768
  • Context: 2,048
  • Benchmark threads: 4
  • GPU layers: 0
  • GPU visibility: disabled
  • Corpus SHA-256: 5d38d98dce15f54e9a1a926187b6058e65cd8b3dd9b5cc2729b0a5fd249228b0
  • Native-logits SHA-256: 604db2df7253cba18a6c0a569ed819ee3065d4ac20cd94ae72f4329e7bba8516

Full KLD distributions, PPL values, probability deltas, and benchmark scope are in magicquant.clone-benchmarks.json.

Generic vs Unsloth imatrix use

This release reuses two documented Qwen3.8-27B importance matrices rather than generating a new AMD-specific matrix:

ImatrixSHA-256Used by
Generic MagicQuant123a92c3...899eaaMQ-IQ4_XS_1, MQ-IQ2_M_1, MQ-IQ2_M_2
Unsloth0ee5b10b...99f1c1all tested UD-* configurations (including the removed failure) and MQ-IQ2_XXS_1

The generic matrix came from magiccodingman/Qwen3.8-27B-MagicQuant-GGUF. The Unsloth matrix came from unsloth/Qwen3.8-27B-GGUF.

An imatrix only influences a tensor when llama.cpp actually requantizes a covered tensor. For MQ-IQ4_XS_1, all 496 covered native MXFP4 tensors stayed byte-exact and the ten changed source-BF16 tensors had no matrix entries, so the supplied generic imatrix did not numerically affect that artifact. The remaining downward candidates requantized covered tensors and used the matrix identified in the table.

This fixed-recipe experiment does not claim that a newly generated AMD-specific imatrix could never improve a result; it records exactly what was reused and measured.

  • Qwen — base model.
  • AMD — Quark AWQ MXFP4 post-training/quantized checkpoint and BF16 vision source.
  • MagicQuant Qwen3.8 release — selected tensor recipes and generic imatrix.
  • Unsloth — learned Dynamic tensor configurations and Unsloth imatrix.
  • llama.cpp — GGUF, MXFP4, quantization, multimodal, and benchmark tooling.

These measurements show how the selected configurations behave when adapted to this specific AMD-derived native MXFP4 parent, under the same corpus, reference logits, and CPU benchmark flow.

They do not prove that the original external artifacts are universally better or worse, and they do not imply that this repository completed the full MagicQuant evolutionary search. The source checkpoint, tensor adaptation policy, imatrix, runtime, and benchmark reference all matter.


Release metadata

Upstream AMD benchmark context

AMD reports the following GSM8K 5-shot results for the original amd/Qwen3.8-27B-Quark-AWQ-MXFP4 checkpoint:

ModeAMD MXFP4 AWQ — flexible / strictBF16 base — flexible / strictRecovery
Thinking94.996% / 95.30%93.33% / 93.33%101.8%
Non-thinking89.92% / 89.76%90.67% / 89.76%99.2%

Recovery is AMD's flexible-extract score for the MXFP4 AWQ checkpoint divided by the BF16 base score. AMD produced the parent with Quark using AWQ, 128 pileval calibration samples at sequence length 512, OCP MXFP4 weights with group size 32 and E8M0 shared scales, and dynamic MXFP4 activations in its original runtime. The vision tower remained BF16.

These are upstream results quoted for parent-model context, not fresh GSM8K evaluations of this repository's GGUF files. This release's directly measured comparisons are the native-logit KLD/PPL results above. GGUF preserves the trained checkpoint weights, but llama.cpp does not claim to reproduce AMD's original dynamic-MXFP4 activation runtime.


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

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

GPU в ailist

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

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

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

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

0 моделей