/ Модель

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

Лицензия
Своя лицензия
Базовая модель
Qwen3.8-Flash-Next
Библиотека
llama-cpp
Опубликована
19 сен 2026

Qwen3.8-Flash-Next-Heretic2-IQ4XS-NGQ4-GGUF

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

Квантованная мультимодальная модель Qwen3.8-Flash-Next с abliteration для локального диалога, анализа изображений и генерации кода.

6 033скачиваний за 30 дней6лайковвеса обновлены19 сен 2026

Бенчмарки

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

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

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

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

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

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

Qwen3.8-Flash-Next-Heretic2-IQ4XS-NGQ4-GGUF — мультимодальная версия Qwen3.8-Flash-Next от Alibaba, обработанная методом abliteration с Heretic v1.3.0+custom и квантованная в GGUF для запуска через специализированную сборку llama.cpp. Репозиторий содержит основную модель размером 92 ГБ в формате IQ4_XS с таблицей n-грамм, сжатой методом NGQ4, и отдельный проектор изображений BF16 размером 866 МБ. Модель принимает текст и изображения, поддерживает диалог и анализ изображений; в README также приведены результаты генерации кода на HumanEval+. Для запуска требуется форк llama.cpp с поддержкой архитектуры qwen4exp; стандартная сборка llama.cpp её не загружает.

Модель создана на основе Qwen/Qwen3.8-Flash-Next и рассчитана на локальный инференс, в том числе на оборудовании AMD Strix Halo с 128 ГБ объединённой памяти. README сообщает, что на HumanEval+ вариант набрал 84,1% на базовом наборе и 79,3% на Plus при указанном режиме тестирования. Это результат конкретного бенчмарка, а не гарантия качества на других задачах. Abliteration существенно снизила число отказов на проверенных авторами 100 запросах; такое изменение может повлиять на поведение модели при обработке запросов, требующих отказа.

Лицензия указана в метаданных как other; конкретные условия использования в доступных сведениях не приведены. Квантизация уменьшает размер модели, но её точность может отличаться от исходной версии. README сообщает об отсутствии измеримого снижения точности на контексте до 32K для этапа сжатия NGQ4; это утверждение ограничено описанными автором проверками.

Сценарии применения

  • генерация и объяснение кода
  • решение задач из бенчмарков программирования
  • диалог с локально запущенной языковой моделью
  • анализ изображений в диалоговом интерфейсе

Ограничения

Для запуска требуется форк llama.cpp с поддержкой qwen4exp; стандартная сборка не подходит. Abliteration снижает склонность к отказам, а приведённые показатели HumanEval+ относятся только к описанным настройкам и тестам.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-Flash-Next-Heretic2-IQ4XS-NGQ4-GGUF

IQ4_XS quantization of Qwen3.8-Flash-Next abliterated with Heretic v1.3.0+custom (fork), with NGQ4-compressed n-gram prediction table. Built and benchmarked on AMD Strix Halo (Ryzen AI Max+ 395, gfx1151, 128 GB unified).

Files

FileSizeDescription
Qwen3.8-Flash-Next-Heretic2-IQ4XS-NGQ4.gguf92 GBMain model (IQ4_XS, NGQ4-compressed PLE table)
mmproj-Heretic2-BF16.gguf866 MBVision projector (multimodal/image input)

Quantization

Quantized from the Heretic2 BF16 safetensors → Q8_0 intermediate → IQ4_XS using the llama-flash-next fork of llama.cpp (build 10656, commit 035e22731). The NGQ4 step compresses the 54 GB per-layer n-gram prediction table to ~27 GB by lowering precision on the indexer's token embedding, reducing the model from 116 GB to 92 GB with no measurable accuracy impact through 32K context.

Byte-verified against the Heretic2 BF16 checkpoint.

Tensor types

Tensor classTypeNotes
Expert weights (ffn_down/up/gate_exps, shared experts, hc layers)IQ4_XSBulk of parameters
Dense/trunk (non-expert weights)Q8_0Attention projections, etc.
Output projection (output.weight)Q6_KHigher precision for output
Token embeddings (token_embd.weight)BF16Small separate embedding [2560, 248320]
Per-layer token embeddingsIQ4_NLNGQ4 compression (was BF16 in uncompressed IQ4_XS)
Norms (1D tensors)F32
Indexer projections (indexer.k_proj, q_proj)Q8_0

How to run

Requires the llama-flash-next fork (qwen4exp branch) — standard llama.cpp cannot load the qwen4exp architecture.

# Text only
./llama-server \
  -m Qwen3.8-Flash-Next-Heretic2-IQ4XS-NGQ4.gguf \
  --alias qwen38-flash-next-heretic2 \
  -ngl 99 -fa on -c 65536 -np 1 --jinja \
  --host 127.0.0.1 --port 8096 \
  -dev Vulkan0

# With vision
./llama-server \
  -m Qwen3.8-Flash-Next-Heretic2-IQ4XS-NGQ4.gguf \
  --mmproj mmproj-Heretic2-BF16.gguf \
  --alias qwen38-flash-next-heretic2 \
  -ngl 99 -fa on -c 65536 -np 1 --jinja \
  --host 127.0.0.1 --port 8096 \
  -dev Vulkan0

Thinking mode is optional — disable it with "chat_template_kwargs": {"enable_thinking": false} in API requests to use the full token budget for output.

Benchmarks — HumanEval+ (EvalPlus)

164 problems, enable_thinking: false, temperature: 0.0, max_tokens: 1024.

VariantEngineBase pass@1Plus pass@1Mean s/probMedian s/prob
This model (Heretic2 IQ4_XS NGQ4)llama-server84.1%79.3%4.163.31
Q6_K_v7_v7llama-server88.4%82.9%11.2610.02
Q6_Kllama-server88.4%81.7%6.435.63
Base flash-next IQ4_XS NGQ4llama-server82.3%78.0%4.823.21
Halogen Official w4b (native + overlay)Halogen82.3%78.0%13.8210.66
Uncensored IQ4_XS NGQ4llama-server81.7%78.7%4.914.31
Halogen Heretic2 IQ4_XS (BYO, no overlay)Halogen65.2%61.0%4.323.62

This model offers the best accuracy-to-speed ratio in the IQ4_XS tier: 84.1% base at 4.16s per problem. Only the Q6_K variants score higher, but they require 129 GB (won't coexist with other workloads on 128 GB) and take 50–170% longer per response.

Origin story: Why this model exists

This GGUF was originally built as part of an apples-to-apples comparison between llama-server and Halogen Flash Server on AMD Strix Halo. Halogen's prefill throughput is dramatically faster — 2–4x at short contexts, approaching 4x at 16K+ tokens — so the question was whether it could replace llama-server as the default inference engine.

The answer turned out to be no, because of a critical limitation in Halogen's BYO (bring-your-own) GGUF workflow:

The overlay problem

Halogen's official checkpoint ships with a quality overlay sidecar (qwen38-flash-next-w4b.overlay.hgn, 2.4 GiB, 741 activation-aware re-quantized tensors). The official model with overlay scores 82.3% / 78.0% on HumanEval+ — competitive with llama-server. But the overlay is built through an internal activation-aware quantization pipeline that isn't publicly available. There's no halogen-quantize --build-overlay command.

When you bring your own GGUF — any fine-tune, any abliteration, any custom variant — you run without the overlay. The result: 65.2% / 61.0%, a 17-point collapse from the official model, using the exact same Heretic2 weights that score 84.1% on llama-server.

The thinking mode problem

Halogen forces thinking mode on Qwen3.8-Flash-Next with no way to disable it. Every request burns ~1,049 hidden reasoning tokens before producing visible output. With max_tokens=2048, that leaves ~999 tokens for code. The official model with overlay compensates by producing better code in fewer tokens. Without the overlay, the BYO model truncates — 68% of HumanEval+ failures were SyntaxErrors from incomplete code that the model reported as finish_reason=stop.

llama-server doesn't have this problem: thinking mode is optional via enable_thinking: false, and the full token budget goes to output.

The outcome

This Heretic2 IQ4_XS GGUF — originally built just for comparison — turned out to be a better model for production deployment than either the Halogen BYO setup (fast but 65% accuracy) or the Halogen official (82% accuracy but 3x slower per problem due to forced thinking). It runs on llama-server with full control over thinking mode, optional vision, and 84.1% HumanEval+ accuracy at 4.16s per problem.

For the full technical assessment, see the companion write-up: Halogen on Strix Halo: Fast but Not Ready

Abliteration details

The Heretic2 abliteration was performed using Heretic v1.3.0+custom (fork by timrohrbaugh) on the base Qwen/Qwen3.8-Flash-Next weights. Direction-removal method with per-layer direction index.

MetricHeretic2Original
KL divergence0.08180
Refusals (100 prompts)0/10099/100

The abliteration has no measurable impact on code generation accuracy — Heretic2 IQ4_XS scores 84.1% vs base IQ4_XS at 82.3%, and the plus tests are within noise (79.3% vs 78.0%).

Hardware tested

  • CPU: AMD Ryzen AI Max+ 395
  • GPU: AMD Radeon 8060S (gfx1151, RDNA 4 integrated)
  • Memory: 128 GB unified (DDR5)
  • Backend: Vulkan (ROCm also works but is slower for this architecture)
  • OS: Ubuntu

Throughput on Strix Halo (llama-server, Vulkan)

Prefill (IQ4_XS standard, same architecture)

Contexttok/s
512312
2K382
8K363
16K327

Decode

~24 t/s serial (memory-bandwidth limited on unified memory).

License

Qwen Community License 1.0 (inherited from the base model).

Credits

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

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

GPU в ailist

Универсальный рантайм · llama-cpp

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

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

Ревизия весов
b7a350f

0 моделей