/ Модель

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

Лицензия
Apache 2.0
Опубликована
5 ноя 2026

Qwen3.6-35B-A3B-heretic-QSA-GGUF

Генерация текстаТекст → текст10 профессий
9 604скачиваний за 30 дней3лайкавеса обновлены11 ноя 2026

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

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

GGUF-сборка Qwen3.6-35B-A3B с QSA-индексатором для генерации текста и диалогов по длинному контексту, с опциональным ускорением MTP.

Это производная сборка Qwen3.6-35B-A3B-uncensored-heretic в формате GGUF с добавленными весами QSA-индексатора для ускоренного поиска по длинному контексту. Опубликованы варианты с мультимодальным индексатором mm64k и текстовым text64k; рекомендуемый вариант mm64k также содержит MTP-блок для спекулятивного декодирования. Основные веса исходной модели сохранены, добавлены индексаторные тензоры и метаданные QSA.

Модель предназначена для генерации текста и диалогов, в том числе по длинным документам. Для запуска требуется специальная ветка llama.cpp с поддержкой Qwen3.5/3.6 MoE QSA k-pool indexer; для MTP-варианта нужна сборка, поддерживающая режим draft-mtp. GGUF позволяет запускать модель через совместимый llama.cpp, но в карточке не приведены точные параметры контекста или подтверждённый перечень поддерживаемых языков сверх английского в тегах. Лицензия — Apache-2.0.

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

  • диалоговый помощник на локальном llama.cpp
  • ответы на вопросы по длинным документам
  • генерация текста с локально развёрнутой MoE-моделью
  • ускорение генерации с помощью спекулятивного декодирования MTP

Ограничения

Для работы требуется специальная ветка llama.cpp с поддержкой QSA для Qwen MoE; MTP-вариант требует актуальной сборки с draft-mtp. Для длинных документов необходимо настраивать LLAMA_QSA_TOP_K и размер контекстного окна.

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.6-35B-A3B-uncensored-heretic — QSA GGUF

QSA-grafted build of llmfan46/Qwen3.6-35B-A3B-uncensored-heretic, made from the existing Qwen3.6-35B-A3B-uncensored-heretic-No-MTP-custom.gguf BPW4.75 base.

Four files are published:

fileindexersMTPuse
Qwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-MTP-custom.ggufmm_64kyesrecommended: same QSA mm64k model with speculative-decoding MTP head
Qwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-No-MTP-custom.ggufmm_64knomultimodal + 64k long-context indexer, no MTP
Qwen3.6-35B-A3B-uncensored-heretic-QSA-text64k-No-MTP-custom.gguftext_64knotext-only long-context fallback
Qwen3.6-35B-A3B-uncensored-heretic-QSA-No-MTP-custom.ggufmm1_16knoshort/medium context baseline

The original backbone is preserved byte-for-byte: all 733 base tensors keep their exact payload and offset. Only these are added to make the QSA files:

  • 50 F32 indexer tensors (5 per full-attention layer): blk.{N}.indexer.q_proj.weight, k_proj.weight, q_norm.weight, k_norm.pre_weight, k_norm.weight
  • metadata:
    • qwen35moe.attention.indexer.head_count = 4
    • qwen35moe.attention.indexer.key_length = 128
    • qwen35moe.attention.indexer.top_k = 2048
    • qwen35moe.attention.compress_ratios = 4 on layers [3, 7, 11, 15, 19, 23, 27, 31, 35, 39], else 0
fileQwen3.6-35B-A3B-uncensored-heretic-QSA-text64k-No-MTP-custom.gguf
size22,180,352,608 bytes
sha2566a9f99fe8fba3919c0280a59d48219ca328270a29090ce9205cf6c217d3f4741
baseline sha256c3dbe95dc393a709d176e49e83f6071053cfeefdc4bd59342ce461b203d016ff
architectureqwen35moe
baseQwen3.6-35B-A3B-uncensored-heretic-No-MTP-custom.gguf
indexerstvall43/Qwen3.6-35B-A3B-heretic-QSA-indexers
final captured teacher mass0.9464184045791626
final indexer loss0.38196276128292084

mm_64k graft (base of the MTP file)

fileQwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-No-MTP-custom.gguf
size22,180,352,608 bytes
sha256479d0e3554180db04f1387d0938a6fde1990046e7c7881a443cf1f6ec0a77b96
baseline sha256c3dbe95dc393a709d176e49e83f6071053cfeefdc4bd59342ce461b203d016ff
architectureqwen35moe
baseQwen3.6-35B-A3B-uncensored-heretic-No-MTP-custom.gguf (unchanged byte-for-byte)
indexerstvall43/Qwen3.6-35B-A3B-heretic-QSA-indexers, mm_64k/qsa_indexers.pt
lineage300 text steps @16k -> 300 mm steps @16k -> 200 OpenCode text steps @64k (text_64k) -> 100 mm steps @64k
final captured teacher mass0.8914 (train, K=2048/64k)
final indexer loss0.3348

mm_64k + MTP graft (recommended file)

fileQwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-MTP-custom.gguf
size23,077,816,352 bytes
sha256bc5dad1cc3b36e300ffc816c7752c696ae34d6b15edd56ea1f5893a10758b645
architectureqwen35moe
baseQwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-No-MTP-custom.gguf (unchanged byte-for-byte)
MTP donorllmfan46/Qwen3.6-35B-A3B-uncensored-heretic-Native-MTP-Preserved-GGUF, BPW5
tensors783 base + 20 MTP = 803
MTP tensorsfull blk.40 block: attn_*, ffn_*/MoE experts, post_attention_norm, plus the 4 nextn.* head tensors
metadatablock_count = 41, compress_ratios length 41 (MTP layer 0), nextn_predict_layers = 1

This is the same QSA mm_64k model as the No-MTP file, with the donor's complete MTP draft block grafted on as layer 40. The QSA backbone and all 50 indexer tensors are byte-for-byte identical to the No-MTP mm_64k file; only the 20 MTP tensors and the three metadata fields above are added. The MTP layer uses dense attention (compress_ratio = 0) and is only used by speculative decoding, not by the main model's attention path.

In current llama.cpp builds this MTP head works as a self-speculative draft: a small prompt-processing cost for a large token-generation gain. It is optional; the model runs normally, with identical output, when MTP is not enabled.

llama.cpp setup

This model needs the Qwen3.5/3.6-MoE QSA k-pool indexer support in llama.cpp.

Use the qwen35moe-qsa branch in tvall43/llama.cpp:

git clone https://github.com/tvall43/llama.cpp tvall43-llama.cpp
cd tvall43-llama.cpp
git checkout qwen35moe-qsa
cmake -B build -DGGML_VULKAN=ON
cmake --build build --config Release -j

Run the No-MTP file like this:

export LLAMA_QSA_TOP_K=4096
./build/bin/llama-server \
  -m Qwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-No-MTP-custom.gguf \
  --ctx-size 125536 \
  --host 0.0.0.0 --port 8002

For the MTP file, add the speculative-decoding flags:

export LLAMA_QSA_TOP_K=4096
./build/bin/llama-server \
  -m Qwen3.6-35B-A3B-uncensored-heretic-QSA-mm64k-MTP-custom.gguf \
  --ctx-size 125536 \
  --spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-p-min 0 \
  -fa on \
  --host 0.0.0.0 --port 8002

--spec-type draft-mtp needs a recent llama.cpp build. If your build does not recognise the flag, update the fork or use the No-MTP file.

LLAMA_QSA_TOP_K is the main thing to tune. The GGUF metadata ships the trained budget (2048), which is right for voice/chat-length prompts; for long documents do not just accept the default:

prompt lengthLLAMA_QSA_TOP_K
chat / assistants (< ~16k)2048 (default)
~32k-64k documents4096
~80k-131k documents8192

For long prompts, keep the context window large enough that the prompt actually fits in one pass; the QSA path only kicks in above the indexer top_k.

By default, the GGUF already carries the indexer metadata, so there is nothing else to enable on the model side. If you are comfortable with more knobs, the fuller branch at qsa-rebase also has LLAMA_QSA_DENSE_BELOW_K and LLAMA_QSA_PREFILL_ONLY for A/B testing, but the linked branch above is the minimal support needed to run this model.

Runtime status

This is a structurally valid GGUF: header, tensor table, alignment, metadata and payloads were verified after grafting. The reference QSA runtime (kuraneko1/Qwen3.8-27B-QSA-llama.cpp) originally implemented QSA only for the dense qwen35 architecture. A qwen35moe port now adds the indexer tensors, the F32 indexer cache, the hybrid indexer memory and the block-sparse attention branch.

WikiText-2 probe on an H200 (CUDA 12.9, flash attention, Q4 base):

contextdense PPLQSA K=2048deltaQSA scaled Kdelta
163844.75084.7573+0.14%same+0.14%
655365.42705.7790+6.49%K=8192: 5.4179-0.17%
1310725.19196.6043+27.2%K=16384: 5.2021+0.20%
131072, text_64k5.1919--K=8192: 5.2154+0.45%

Same probe on the mm_64k checkpoint (dense PPL is bit-identical; the backbone is unchanged):

contextdense PPLK=2048deltaK=4096deltaK=8192delta
65536 (2 chunks)5.42705.5789+2.8%5.4367+0.18%5.4194-0.14%
1310725.19195.9441+14.5%5.3352+2.8%5.2117+0.38%

The mm_64k checkpoint dominates text_64k at every measured K (at 64k/K=2048: 5.5789 vs 5.7790; at 131k/K=2048: 5.9441 vs 6.6043), so it is a drop-in replacement for text workloads too. 2048-token budget stays sub-1% at <= ~48k and closes in around the same K ~= context / 8 curve above that.

The metadata keeps the trained budget of 2048 tokens, which is 12.5% of the 16k training length. At longer contexts the attention mass is spread over more blocks, so a fixed 2048 is too small. The indexer ranking itself is fine: the reference dense-mask path and the block-sparse kernel agree at 64k (5.7859 vs 5.7790). For long contexts, set LLAMA_QSA_TOP_K to about context / 8 in the ported runtime.

For the Vulkan deployment (Mesa RADV / Radeon Pro V340 class, 8 GiB devices): the fork already carries the Vulkan flash_attn_sparse_compact shader and the topk_radix_qsa fusion. Split the 22 GB base across three or four devices with --split-mode layer, keep -fa on, and set LLAMA_QSA_TOP_K=$((CTX / 8)) for 32k-64k sessions. At voice/chat lengths the cache is below top_k, so the indexer branch is not entered and adds no cost.

Stock upstream llama.cpp still loads the model with dense attention and ignores the added indexer tensors.

Validation

  • base tensors: sampled byte-for-byte equality against the source file
  • new tensors: payload equality against mm1_16k/qsa_indexers.pt (including the +1 zero-centred RMSNorm conversion)
  • tensor types: all 50 indexer tensors are F32
  • offsets: 32-byte aligned, no overlap, all payloads inside the file
  • GGUF re-parsed with the reference gguf-py reader

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
397ac06

0 моделей