/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3.8-Flash-Next
Опубликована
18 сен 2026

Qwen3.8-Flash-Next-Heretic2-IQ4XS-Halogen

Генерация текстаТекст → текст11 профессий

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

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

Бенчмарки

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

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

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

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

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

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

cygnal/Qwen3.8-Flash-Next-Heretic2-IQ4XS-Halogen — это квантованная GGUF-сборка Qwen3.8-Flash-Next, подготовленная для Halogen Flash Server разработчиком cygnal. Исходные веса модели прошли abliteration методом direction-removal в Heretic v1.3.0, затем были переквантованы в смешанном формате: преимущественно IQ4_XS для экспертных весов, Q8_0 для плотных слоёв и IQ4_NL для per_layer_token_embd.weight. Архитектура qwen4exp использует гибрид DeltaNet, SSM и attention; заявлено около 166 млрд параметров всего и 27 млрд активных на токен.

Модель предназначена для диалоговой генерации текста и может принимать изображения при подключении отдельного vision tower. Сборка оптимизирована для Halogen Flash Server и AMD Strix Halo с ROCm; в README приведены измерения производительности на Radeon 8060S и требования примерно к 117 ГБ объединённой памяти. Видео не поддерживается. Для использования нужны совместимые сервер и аппаратное обеспечение; vision tower и MTP head поставляются отдельно. Лицензия — Apache-2.0.

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

  • ведение диалога и ответы на вопросы
  • генерация продолжений текста
  • анализ изображений при подключённом vision tower
  • локальный запуск крупной MoE-модели на AMD Strix Halo

Ограничения

Для запуска требуются Halogen Flash Server версии 0.11.4 или новее, совместимая AMD GPU с ROCm и около 117 ГБ объединённой памяти; поддержка изображений требует отдельного vision tower. Видео не поддерживается, а качество и поведение после abliteration и сильной квантизации в README подробно не оцениваются.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-Flash-Next-Heretic2-IQ4XS-Halogen

A Halogen Flash Server BYO GGUF quantization of Qwen3.8-Flash-Next, abliterated via Heretic v1.3.0 (the "Heretic2" build). This GGUF is specifically built to run on Halogen Flash Server (peonist-ai) with custom gfx1151 kernels on AMD Strix Halo hardware. It uses a carefully tuned mix of tensor types that Halogen accepts for its BYO GGUF mode.

Now with vision support — pair with the official vision tower from peonist-ai/halogen-qwen3.8-flash-next for multimodal (image) input.

Key Specs

PropertyValue
Architectureqwen4exp (48 blocks, 512 experts, 10 active/token, DeltaNet/SSM/attention hybrid)
Parameters~166B total, ~27B active
File Size93 GB (95,074 MiB)
Bits Per Weight4.51 BPW
Tensors1,224
Context Length262,144 tokens
VisionYes — image input via separate 0.84 GiB vision tower
Source FormatQ8_0 GGUF (176 GB) re-quantized with tensor-type overrides

Tensor Type Map

Tensor CategoryTypeRationale
Expert weights (ffn_down/up/gate_exps, shared experts, hc layers)IQ4_XSMain quantization — Halogen accepted type for experts
per_layer_token_embd.weightIQ4_NLCRITICAL — Halogen reads this in-place via mmap with k_embed_gather kernel
Dense/trunk layersQ8_0Halogen requires Q8_0 for non-expert weights
Output projection (output.weight)Q6_KHalogen accepted for lm_head
Token embeddings (token_embd.weight)BF16Small separate embedding [2560, 248320]
Indexer projectionsBF16indexer.k_proj, indexer.q_proj
Norms (1D tensors)F32Standard
Tiny tensors (ple_conv1d)F32Too small to quantize

Vision / Multimodal Support

Qwen3.8-Flash-Next is natively multimodal (text + image). To enable vision with this BYO GGUF:

  1. Download qwen38-flash-next-vision.hgn (0.84 GiB) from peonist-ai/halogen-qwen3.8-flash-next
  2. Place it in your models directory alongside the GGUF
  3. Add -e HALOGEN_VISION_TOWER=/models/qwen38-flash-next-vision.hgn to your Docker run command

The vision tower is a separate encoder that runs independently of the language model weights — it works the same whether you're running the native HGN checkpoint or a BYO GGUF.

Vision Performance (Strix Halo, warm tower)

ResolutionProcessing TimeContext Tokens
400x200~16s (first request ~43s cold)~135
1280x800~5.5s~1,280
1920x1080~11.8s~2,040
  • Images sent as base64-encoded PNG via OpenAI-compatible API
  • HALOGEN_VISION_MAX_PIXELS controls auto-scaling (default: 2560x1440)
  • Text at 12pt+ is read accurately at all supported resolutions
  • Video is not currently supported

Benchmarks: Halogen vs llama-server (Strix Halo)

Hardware: AMD Ryzen AI Max+ 395, Radeon 8060S (gfx1151), ~117 GB unified memory

Prefill Throughput (tok/s)

Methodology: unique random prompts per run (no KV cache hits), max_tokens=1 to isolate prefill, 3 runs per context length, mean reported.

Prompt Tokensllama-server (IQ4_XS)Halogen (IQ4_XS)Speedup
~512311.8452.51.45x
~2K382.0859.92.25x
~8K363.01,124.43.09x
~16K326.71,202.93.68x

llama-server uses llama.cpp's qwen4exp branch (build 10656) with a standard IQ4_XS GGUF (116 GB). Halogen uses its BYO GGUF (93 GB) with custom tensor type layout. Both are IQ4_XS-level quantization but different GGUF formats. The Q8_0 source GGUF (176 GB) does not fit in memory on this 128 GB system.

Decode Throughput (tok/s)

Prompt Tokensllama-serverHalogen SerialHalogen MTP
51224.124.4 +/- 4.432.0 +/- 4.8

MTP (multi-token prediction) is a decode-phase optimization only — the Halogen API reports draft_n=0 during prefill.

Key Takeaways

  • Prefill gap widens with context: Halogen is 1.45x faster at 512 tokens, growing to 3.68x at 16K — llama-server's throughput decreases at longer contexts while Halogen's increases
  • Decode is close in serial: Both ~24 t/s (memory-bandwidth limited on unified memory)
  • MTP decode wins: ~32 t/s vs ~24 t/s serial, ~33% boost from speculative drafting
  • Half the VRAM: 93 GB vs 176 GB Q8_0, freeing memory for longer contexts

How to Run

Requirements

  • Halogen Flash Server v0.11.4+
  • AMD GPU with ROCm (tested on gfx1151 / Radeon 8060S)
  • ~117 GB system RAM (unified memory architecture)
  • MTP head file: qwen38-flash-next-mtp.hgn (from peonist-ai, 1.5 GB)
  • Vision tower (optional): qwen38-flash-next-vision.hgn (from peonist-ai, 0.84 GB)

Docker

docker run -d \
    --name halogen-server \
    --restart unless-stopped \
    --network=host \
    --device=/dev/kfd \
    --device=/dev/dri \
    -v /path/to/models:/models:rw \
    -v /path/to/tokenizer:/tokenizer:ro \
    -e HALOGEN_ARCH=gfx1151 \
    -e HALOGEN_CHECKPOINT=/models/heretic2.gguf \
    -e HALOGEN_TOKENIZER=/tokenizer \
    -e HALOGEN_MTP_HEAD=/models/qwen38-flash-next-mtp.hgn \
    -e HALOGEN_VISION_TOWER=/models/qwen38-flash-next-vision.hgn \
    -e HALOGEN_KV_SLOTS=4 \
    -e HALOGEN_CTX=262144 \
    -e HALOGEN_MAX_TOK=32768 \
    -e HALOGEN_PREFILL_CHUNK=32768 \
    -e HALOGEN_GGUF_CACHE=1 \
    -e HALOGEN_API_PORT=8096 \
    ghcr.io/peonist-ai/halogen-flash-server:0.11.4 \
    all

Omit HALOGEN_VISION_TOWER for text-only mode (byte-identical text behavior).

Build Process

Built from the Heretic2 BF16 weights (Qwen3.8-Flash-Next abliterated via Heretic v1.3.0 direction-removal):

  1. BF16 to Q8_0: Standard llama.cpp quantization (176 GB)
  2. Q8_0 to IQ4_XS-Halogen-v8: Re-quantized with llama-quantize --allow-requantize and per-tensor type overrides

The critical discovery during this build: per_layer_token_embd.weight MUST be IQ4_NL for Halogen. This 26.8 GiB tensor is read in-place via mmap by Halogen's k_embed_gather kernel — it is NOT repacked at startup. Using Q8_0 (50.7 GiB, different block structure) causes a GPU page fault and crash. The unsloth official UD-IQ4_XS GGUF confirms this tensor is type_id=20 (IQ4_NL).

Quantize Command

llama-quantize --allow-requantize \
  --token-embedding-type bf16 \
  --tensor-type "per_layer_token_embd=iq4_nl" \
  --tensor-type "^output\.weight=q6_k" \
  --tensor-type "ffn_down_exps=iq4_xs" \
  --tensor-type "ffn_up_exps=iq4_xs" \
  --tensor-type "ffn_gate_exps=iq4_xs" \
  --tensor-type "ffn_down_shexp=iq4_xs" \
  --tensor-type "ffn_up_shexp=iq4_xs" \
  --tensor-type "ffn_gate_shexp=iq4_xs" \
  --tensor-type "hc_ffn_down=iq4_xs" \
  --tensor-type "hc_ffn_up=iq4_xs" \
  --tensor-type "hc_attn_down=iq4_xs" \
  --tensor-type "hc_attn_up=iq4_xs" \
  --tensor-type "hc_attn_inject=iq4_xs" \
  --tensor-type "hc_ffn_inject=iq4_xs" \
  --tensor-type "ple_conv1d=f32" \
  --tensor-type "indexer.*proj=bf16" \
  source_q8.gguf output.gguf q8_0

Note: Requires a patched llama-quant.cpp with lines 330-331 commented out (hardcoded indexer projection exclusions).

Halogen-Accepted Tensor Types (BYO GGUF)

CategoryAccepted
ExpertsIQ4_NL, IQ4_XS, IQ3_S, Q4_0
Dense/trunkQ8_0
Output projectionQ6_K
NormsF32
Indexer projectionsBF16
Per-layer token embdIQ4_NL (mandatory)

Rejected: K-quants (Q4_K, Q5_K, Q5_1, Q4_1), IQ2/IQ1 families, F16

Credits

  • Base model: Qwen/Qwen3.8-Flash-Next by Alibaba Qwen team
  • Abliteration: Heretic v1.3.0 direction-removal method
  • Inference engine: Halogen Flash Server by peonist-ai
  • Quantization tooling: llama.cpp (patched)
  • Hardware: AMD Strix Halo (Ryzen AI Max+ 395)

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

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

GPU в ailist

llama.cpp

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

Репозиторий недоступен на Hugging Face.

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

0 моделей