← back to catalog · registered 2026-08-22 13:56

YuYu1015/Huihui-Qwen3.6-27B-abliterated-int4-AutoRound

YuYu1015 Qwen 3.1B second-order
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/YuYu1015%2FHuihui-Qwen3.6-27B-abliterated-int4-AutoRound"
Response includes
  • classification m1
  • files 22
  • hub_downloads_all_time 8,644
  • author_summary 23 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
9K
150 last 30d - cooling
Likes
3
Model age
5mo ago
created 2026-04-30
Downloads over time
Now8.7K→from11↑79,027%
03.2K6.4K9.6K11 on Apr 298.7K on Oct 11AprMayJunJulAugSepOct
Apr 29 → Oct 11 · 63 snapshots · spans 165 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en zh
Tags
transformers safetensors qwen3_5 image-text-to-text qwen3.6 dense 4-bit int4 auto-round gptq quantized abliterated

Related

Total size
17.7 GB
Files
22
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-05-03 21:38

Files by quantization

Auxiliary files 22 files 17.7 GB
model-00008-of-00010.safetensors 2.37 GB 523519d7 download
model-00010-of-00010.safetensors 2.37 GB abed7b0a download
model-00006-of-00010.safetensors 2.00 GB 6c863a23 download
model-00001-of-00010.safetensors 1.99 GB 860d63a7 download
model-00002-of-00010.safetensors 1.99 GB 2383c21e download
model-00003-of-00010.safetensors 1.99 GB d06c1d63 download
model-00005-of-00010.safetensors 1.99 GB dd7a480d download
model-00004-of-00010.safetensors 1.98 GB e0603d4c download
model-00007-of-00010.safetensors 764 MB 0cf2cb72 download
model_extra_tensors.safetensors 284 MB 0b01a344 download
model-00009-of-00010.safetensors 10.1 KB e72381d3 download
tokenizer.json 19.1 MB 06b95093 download
model.safetensors.index.json 188 KB a26d441c download
config.json 15.3 KB 32154aac download
README.md 15.0 KB 2b727e13 download
quantization_config.json 10.7 KB 0254a1f4 download
chat_template.jinja 7.58 KB a8755d82 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.16 KB 33818c7f download
tokenizer_config.json 1.14 KB 1d134cd2 download
preprocessor_config.json 443 B 8ed39680 download
generation_config.json 213 B c20033f9 download

README current version from Hugging Face


license: apache-2.0
base_model:

  • huihui-ai/Huihui-Qwen3.6-27B-abliterated
    base_model_relation: quantized
    library_name: transformers
    pipeline_tag: text-generation
    tags:
  • safetensors
  • qwen3.6
  • dense
  • 4-bit
  • int4
  • auto-round
  • gptq
  • quantized
  • abliterated
  • uncensored
  • dgx-spark
  • dflash
  • mtp
  • vllm
    language:
  • en
  • zh

Huihui-Qwen3.6-27B-abliterated-int4-AutoRound

English | 繁體中文


English

INT4 AutoRound quantization of huihui-ai/Huihui-Qwen3.6-27B-abliterated, optimized for NVIDIA DGX Spark (GB10 SM121) with Marlin INT4 kernel acceleration.

Reference: Lorbus/Qwen3.6-27B-int4-AutoRound — same recipe (mtp.fc dequantized to BF16 for native vLLM MTP support).

Model Details

Item Value
Architecture Dense (27B), 64 layers — 16 × (3 × Gated DeltaNet → FFN + 1 × Gated Attention → FFN)
Base model Qwen/Qwen3.6-27B
Fine-tuned by huihui-ai (abliteration, no TransformerLens)
Quantized by YuYu1015
Model size ~19 GB (vs ~55.6 GB BF16 original)
Context length Up to 262,144 tokens
Thinking mode Supported (enable_thinking: true/false)
Tool calling Supported (qwen3_coder parser)
MTP Built-in MTP weights preserved (qwen3_next_mtp method)
DFlash Compatible with z-lab/Qwen3.6-27B-DFlash

Quantization Details

Item Value
Method Intel AutoRound v0.12.2
Bits 4
Group size 128
Symmetric Yes
Format auto_round:auto_gptq (GPTQ-compatible)
Iterations 200
Calibration dataset NeelNanda/pile-10k (auto-round default)
Calibration samples 512
Calibration sequence length 2048
Torch compile Enabled (--enable_torch_compile)
Hardware NVIDIA DGX Spark (GB10, 128GB unified memory)

Layers Preserved in BF16

The following layers are not quantized to preserve model quality:

Layer Reason
lm_head Output head, sensitive to quantization noise (auto-excluded by shape)
embed_tokens Input embeddings (auto-excluded by shape)
linear_attn.in_proj_a/b Gated DeltaNet low-rank projections — shapes not divisible by 32 (auto-skipped)
linear_attn.* (other) GDN/DeltaNet layers, may output zeros if quantized
mtp.fc Multi-Token Prediction projection — quantized then dequantized back to BF16

Why dequantize mtp.fc? vLLM's Qwen3_5MTP loader expects unquantized weights for the MTP projection layer. AutoRound quantizes it during the main pass; we then convert it back to BF16 in a post-processing step so MTP speculative decoding works natively.

Speculative Decoding

This model supports two speculative decoding methods:

MTP (uses built-in weights, recommended for low-concurrency):

--speculative-config '{"method": "qwen3_next_mtp", "num_speculative_tokens": 1}'

DFlash (requires separate drafter model):

--speculative-config '{"method": "dflash", "model": "z-lab/Qwen3.6-27B-DFlash", "num_speculative_tokens": 15}'

Note: On hybrid GDN architectures, MTP may hit a state-rollback bug (vLLM #39273) at high token-rejection rates. Reduce num_speculative_tokens to 1 if you observe degraded output quality. The DFlash drafter was trained on the original Qwen3.6-27B; acceptance rate on the abliterated variant may be lower.

Serving with vLLM

vllm serve /path/to/model \
    --quantization auto_round \
    --served-model-name qwen3.6-27b \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_coder \
    --attention-backend flash_attn \
    --kv-cache-dtype auto \
    --gpu-memory-utilization 0.80 \
    --max-model-len 131072 \
    --max-num-batched-tokens 16384 \
    --max-num-seqs 8 \
    --enable-prefix-caching \
    --enable-chunked-prefill \
    --performance-mode throughput \
    --speculative-config '{"method":"qwen3_next_mtp","num_speculative_tokens":1}' \
    --trust-remote-code \
    --language-model-only

DGX Spark (SM121) Compatibility Notes

  • Use --quantization auto_round for Marlin INT4 kernel (SM121 compatible via SM120 binary compat)
  • FP8 KV cache is not compatible with GDN non-causal attention layers; use --kv-cache-dtype auto
  • NVFP4 falls back to Marlin W4A16 on SM121 (missing cvt.e2m1x2 PTX instruction) — INT4 AutoRound has no such fallback issue
  • Runtime FP8 (--quantization fp8) is not compatible with DFlash (drafter inherits FP8 config and crashes)
  • Dense 27B is bandwidth-bound on DGX Spark's 273 GB/s LPDDR5X — expect ~15-20 tok/s without speculative decoding
  • --language-model-only skips vision encoder profiling for text-only inference
  • --performance-mode throughput enables CUDA graphs and kernels for throughput optimization
  • Clear page cache before starting on UMA: sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'

Performance Note

Dense 27B activates all parameters per token (vs MoE 35B-A3B's 3B active), making it more accurate but slower than the 35B-A3B variant on the same hardware. Use this checkpoint when quality matters more than throughput; use 35B-A3B for high-throughput multi-user deployments.

Safety Warning

This model has safety filtering removed (abliterated) and may generate sensitive, controversial, or inappropriate content. Users are solely responsible for all consequences arising from its use. Please ensure usage complies with local laws and ethical standards. Not suitable for public-facing or production applications.

Credits


繁體中文

huihui-ai/Huihui-Qwen3.6-27B-abliterated 的 INT4 AutoRound 量化版本,針對 NVIDIA DGX Spark (GB10 SM121) 最佳化,使用 Marlin INT4 kernel 加速。

參考:Lorbus/Qwen3.6-27B-int4-AutoRound — 同樣 recipe(mtp.fc dequantize 回 BF16,原生支援 vLLM MTP)。

模型資訊

項目 數值
架構 Dense(27B),64 層 — 16 × (3 × Gated DeltaNet → FFN + 1 × Gated Attention → FFN)
基礎模型 Qwen/Qwen3.6-27B
微調者 huihui-ai(abliteration,無 TransformerLens)
量化者 YuYu1015
模型大小 ~19 GB(原版 BF16 約 55.6 GB)
Context 長度 最高 262,144 tokens
思考模式 支援(enable_thinking: true/false)
工具呼叫 支援(qwen3_coder parser)
MTP 內建 MTP 權重(qwen3_next_mtp 方法)
DFlash 相容 z-lab/Qwen3.6-27B-DFlash

量化詳情

項目 數值
方法 Intel AutoRound v0.12.2
位元數 4
Group size 128
對稱量化 是
格式 auto_round:auto_gptq(GPTQ 相容)
迭代次數 200
校準資料集 NeelNanda/pile-10k(auto-round 預設)
校準樣本數 512
校準序列長度 2048
Torch compile 啟用(--enable_torch_compile)
量化硬體 NVIDIA DGX Spark(GB10, 128GB 統一記憶體)

保留 BF16 的層

以下層未被量化以保持模型品質:

層 原因
lm_head 輸出頭,對量化雜訊敏感(因 shape 自動排除)
embed_tokens 輸入嵌入(因 shape 自動排除)
linear_attn.in_proj_a/b Gated DeltaNet 低秩投影 — shape 不整除 32(自動跳過)
linear_attn.*(其他) GDN/DeltaNet 層,量化後可能輸出零
mtp.fc Multi-Token Prediction 投影 — 量化後手動 dequantize 回 BF16

為什麼 mtp.fc 要 dequantize? vLLM 的 Qwen3_5MTP loader 要求 MTP 投影層為未量化權重。AutoRound 主流程會把它一併量化,因此後處理階段要轉回 BF16,MTP 投機解碼才能原生運作。

投機解碼

本模型支援兩種投機解碼方式:

MTP(使用內建權重,低併發建議):

--speculative-config '{"method": "qwen3_next_mtp", "num_speculative_tokens": 1}'

DFlash(需額外下載 drafter 模型):

--speculative-config '{"method": "dflash", "model": "z-lab/Qwen3.6-27B-DFlash", "num_speculative_tokens": 15}'

注意:hybrid GDN 架構在高拒絕率下,MTP 可能觸發 state-rollback bug(vLLM #39273),輸出品質下降時請降為 num_speculative_tokens=1。DFlash drafter 是以原版 Qwen3.6-27B 訓練,在 abliterated 版本上的接受率可能較低。

使用 vLLM 部署

vllm serve /path/to/model \
    --quantization auto_round \
    --served-model-name qwen3.6-27b \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_coder \
    --attention-backend flash_attn \
    --kv-cache-dtype auto \
    --gpu-memory-utilization 0.80 \
    --max-model-len 131072 \
    --max-num-batched-tokens 16384 \
    --max-num-seqs 8 \
    --enable-prefix-caching \
    --enable-chunked-prefill \
    --performance-mode throughput \
    --speculative-config '{"method":"qwen3_next_mtp","num_speculative_tokens":1}' \
    --trust-remote-code \
    --language-model-only

DGX Spark (SM121) 相容性說明

  • 使用 --quantization auto_round 啟用 Marlin INT4 kernel(SM121 透過 SM120 二進制相容性支援)
  • FP8 KV cache 與 GDN non-causal attention 不相容,請使用 --kv-cache-dtype auto
  • NVFP4 在 SM121 上會 fallback 到 Marlin W4A16(缺少 cvt.e2m1x2 PTX 指令)— INT4 AutoRound 沒有此 fallback 問題
  • Runtime FP8(--quantization fp8)與 DFlash 不相容(drafter 繼承 FP8 config 導致 crash)
  • Dense 27B 在 DGX Spark 273 GB/s LPDDR5X 頻寬下受限,無投機解碼下約 15-20 tok/s
  • --language-model-only 跳過視覺編碼器 profiling,加速純文字推理啟動
  • --performance-mode throughput 啟用吞吐量最佳化的 CUDA graphs 和 kernel
  • UMA 架構啟動前請先清除 page cache:sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'

效能說明

Dense 27B 每個 token 都活躍全部參數(vs MoE 35B-A3B 只有 3B 活躍),在同樣硬體上更精確但較慢。需要更高品質時用本 checkpoint;高併發多使用者部署則用 35B-A3B 版本。

安全警告

此模型已移除安全過濾機制(abliterated),可能產生敏感、爭議性或不當內容。使用者須自行承擔所有風險與法律責任,並確保使用方式符合當地法規與倫理標準。不適用於公開或生產環境。

致謝

README history 1 version

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-05-03Create README.md7838dff15 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration