← back to catalog · indexed 2026-10-08 17:58

davetha/Huihui-Qwen3.8-27B-abliterated-AutoRound-Int4-baked-embed-int8

davetha Qwen 27B multimodal second-order
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/davetha%2FHuihui-Qwen3.8-27B-abliterated-AutoRound-Int4-baked-embed-int8"
Response includes
  • classification m-uncensored
  • files 25
  • author_summary 8 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
240
115 last 30d - stable
Likes
1
Model age
6w ago
created 2026-10-08
Downloads over time
Now 240 → from 0 new
088176264 0 on Oct 8 240 on Nov 25 OctNov
Oct 8 → Nov 25 · 49 snapshots · spans 48 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
Tags
transformers safetensors qwen3_5 image-text-to-text qwen3.8 abliterated uncensored autoround gptq int4 int8-embedding mtp

Related

Total size
17.1 GB
Files
25
Quantizations
none
Indexed by us
2026-10-08 17:58
Last updated on HF
2026-10-09 18:18

Files by quantization

Weights 8 files 17.1 GB
model-00002-of-00004.safetensors 5.00 GB 04b766e0 download
model-00001-of-00004.safetensors 4.99 GB bcf7ed6b download
model-00003-of-00004.safetensors 2.69 GB 07383a74 download
model-00004-of-00004.safetensors 2.37 GB 55a14ee7 download
model-embed-int8.safetensors 1.18 GB 1722f347 download
model-bake-int4.safetensors 841 MB 26d3fb4a download
compat_g_idx.safetensors 11.1 MB ca16bd7e download
model_extra_tensors.safetensors 51.7 KB 852b2283 download
Auxiliary files 17 files 19.3 MB
tokenizer.json 19.1 MB 06b95093 download
model.safetensors.index.json 223 KB e8ad7b4a download
LICENSE 11.3 KB f938136e download
README.md 9.47 KB c442ad07 download
chat_template.jinja 8.74 KB c0c686f9 download
chat_template_low.jinja 8.74 KB 3b904292 download
config.json 4.36 KB cdf48e89 download
BAKE.json 3.58 KB a5b7b057 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.19 KB 43c4343e download
tokenizer_config.json 1.14 KB 1d134cd2 download
B65-LICENSE 1.06 KB 62b94ee7 download
preprocessor_config.json 443 B 8ed39680 download
COMPATIBILITY.json 360 B 90e7765a download
quantization_config.json 215 B 184c2bc1 download
quantize_config.json 215 B 184c2bc1 download
generation_config.json 214 B 1f489fac download

README latest version on record, committed 2026-10-09


license: apache-2.0
library_name: transformers
pipeline_tag: image-text-to-text
base_model:

  • huihui-ai/Huihui-Qwen3.8-27B-abliterated
    tags:
  • qwen3.8
  • abliterated
  • uncensored
  • autoround
  • gptq
  • int4
  • int8-embedding
  • mtp
  • intel-arc
  • arc-pro-b70
  • xpu
  • vllm

Huihui-Qwen3.8-27B-abliterated — AutoRound INT4, baked head/MTP, INT8 embedding

A 4-bit build of huihui-ai/Huihui-Qwen3.8-27B-abliterated (an abliterated, i.e. refusal-removed, version of Qwen/Qwen3.8-27B) made for a single Intel Arc Pro B70 (32 GB) under vLLM XPU. It follows the recipe of ukisai/Swift-1.5-Qwen3.8-27b-W4A16-AutoRound for the body and of Wrapzii's Swift 1.5 GPTQ-Int4-baked-v1-embed-int8 for the head, MTP and embedding — applied to the uncensored Huihui weights.

Uncensored model. Abliteration removes most refusal behaviour. It will follow requests the original model refuses. You are responsible for how you use it.

What is in the files

part form how
400 text body linears INT4, symmetric, group 128 (GPTQ-compatible packing) AutoRound / SignRound from the bf16 Huihui weights
lm_head INT4 GPTQ, group 128 Hessian GPTQ on this model's own activations
MTP block (fc, q/k/v/o, gate/up/down) INT4 GPTQ, group 128 same
token embedding per-row symmetric INT8 + FP16 scales (model-embed-int8.safetensors) absmax/127
vision tower, MTP norms, GDN in_proj_a / in_proj_b, norms BF16 (unchanged) —

Weights resident on the GPU: 14.75 GiB (vs 18.28 GiB for a GPTQ build that keeps lm_head / MTP dense), which leaves room for the full 262,144-token context on one 32 GB card (vLLM reports a 319K-token KV pool with fp8 KV and 400K with the K8/V4 int8-K / int4-V KV cache).

The dense embedding is still in the shards, so stock loaders work; the INT8 embedding only takes effect in a runtime that reads embed_tokens_quant (the patched image below).

Quality

WikiText-2 test perplexity, 40 chunks x 2,048 tokens (81,880 scored tokens), the same token chunks for both, computed from vLLM prompt_logprobs on the B70 (fp8 KV; with the K8/V4 KV cache it measures 6.276):

build perplexity
this repo (AutoRound body from bf16 + baked head/MTP + INT8 embedding) 6.266
zrlu's GPTQ-Int4 Huihui export + the same head/MTP/embedding bake 6.346

Head / MTP bake on held-out activations (relative output L2 error; GPTQ vs round-to-nearest):

linear GPTQ round-to-nearest
lm_head 3.39% 7.61%
mtp.fc 5.67% 11.86%
MTP q / k / v / o 2.11% / 4.99% / 4.06% / 5.04% 4.42% / 10.46% / 8.33% / 12.12%
MTP gate / up / down 2.93% / 4.59% / 5.74% 6.46% / 9.75% / 11.30%
embedding (INT8, weight L2) 0.90% —

These are matrix and perplexity checks, not a full benchmark suite; upstream evaluation scores have not been re-established for this derivative. A quick functional check (arithmetic, thinking on/off, tool-call template, an uncensored prompt) passed.

Speed on one Arc Pro B70

Numbers are BetterBench median decode tokens/s (temperature 0.7, top-p 0.95, thinking on) and prefill tokens/s, all on one 32 GB card.

Recommended: K8/V4 KV cache + the built-in MTP head (3 speculative tokens), 262,144-token context. The KV cache is int8-K / int4-V (k8v4-xpu, ported to one GPU in davetha/k8v4-xpu tp1-k8v4); every attention layer, including MTP, uses the same cache. The KV pool holds 400,705 tokens (1.5 full-length requests); WikiText-2 perplexity 6.276 (6.266 with fp8 KV).

category K8/V4 + MTP3 @256K fp8 + MTP3 @256K K8/V4 + DFlash2 @256K fp8 + DFlash2 @192K
code 73.9 73.6 71.3 82.2
reasoning 67.8 62.8 54.6 61.6
prose 58.2 64.3 65.5 61.4
json 85.3 92.6 111.9 117.2
file_edit 87.1 86.5 97.1 109.0
summarization 86.5 88.6 110.4 112.0
math 88.3 88.9 100.9 111.5
chat 51.6 68.4 57.2 66.6
weighted combined 74.6 75.7 79.7 85.9

The K8/V4 + MTP3 column is a short run (5 passes per category, the others 20), so differences under ~5% are noise.

prompt length K8/V4 + MTP3 K8/V4 + DFlash2 fp8 + DFlash2 fp8 + MTP3
~2K 1,850 1,757 1,841 1,848
~8K 1,922 1,813 1,897 1,888
~16K 1,885 1,808 1,790 1,772
~32K 1,773 1,698 1,602 1,566
~64K 1,560 1,531 1,328 1,285 (47K)

Time to first token with K8/V4 + MTP3: 0.8 s at 2K, 6.3 s at 16K, 30 s at 64K. Greedy single runs: prose ~73, JSON ~99, code ~93 tok/s; 72K-token needle retrieval passes.

Why not the DFlash2 drafter? With the z-lab DFlash2 drafter decode is 7-15% faster, but at 256K it only fits next to K8/V4 by running the drafter's own layers on fp8 (a vLLM patch, vllm-patches/), i.e. two KV formats sharing one block pool. That setup produced one degenerate repetition loop in real use (a single token repeated from the first reasoning token; draft acceptance dropped to zero) that could not be reproduced in ~700 test requests, so it is not recommended. fp8 KV + DFlash2 has no such mixing and was fine, but tops out near 192K context.

Serving (vLLM XPU, one Arc Pro B70)

Build the image from davetha/k8v4-xpu tp1-k8v4 (TP1-B70.md: Dockerfile.tp1, then k8v4_v030/Dockerfile.tp1-kv; the vLLM skip patch is not needed). The single-library version of the same port is proposed upstream in Wrapzii/k8v4-xpu#1.

docker run -d --name qwen27-b70 \
  --device /dev/dri/card1 --device /dev/dri/renderD128 --group-add render \
  --ipc=host --shm-size=8g -p 8200:8000 \
  -v /path/to/this/repo:/model:ro \
  -e VLLM_TARGET_DEVICE=xpu -e VLLM_XPU_ENABLE_XPU_GRAPH=1 \
  -e XE2_KV_S2_NSG_DRAFT=32 -e XE2_KV_S2_NSG_VERIFY=8 -e K8V4_PREFILL_GATHER=triton -e K8V4_SDPA_ASYNC=0 \
  vllm-openai-xpu:v0.30.0-k8v4-tp1-kv /model \
  --host 0.0.0.0 --port 8000 --served-model-name qwen27-huihui-unc \
  --gpu-memory-utilization 0.92 --dtype bfloat16 \
  --max-model-len 262144 --kv-cache-dtype int8_k_int4_v --tensor-parallel-size 1 \
  --max-num-seqs 4 --max-num-batched-tokens 4224 \
  --enable-auto-tool-choice --tool-call-parser qwen3_xml --reasoning-parser qwen3 \
  --enable-prefix-caching --trust-remote-code \
  --limit-mm-per-prompt '{"image":4,"video":0}' --mm-processor-kwargs '{"max_pixels":1048576}' \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
  --compilation-config '{"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[4,8,12,16]}'

For fp8 KV instead, use the vllm-openai-xpu:v0.30.0-k8v4-tp1 image with --kv-cache-dtype fp8 (319K-token pool). A stock vLLM XPU image loads the checkpoint too, with the embedding dense.

Thinking: chat_template_kwargs: {"enable_thinking": false} turns it off; reasoning_effort takes low / medium / xhigh (the bundled chat_template_low.jinja defaults to low). Tool calls use the qwen3 XML format.

How it was made

  1. Body — AutoRound 0.16.0 on the bf16 checkpoint, on the B70 (2.5 h, 27.5 GB peak VRAM):
    auto-round --model huihui-ai/Huihui-Qwen3.8-27B-abliterated --scheme W4A16 --bits 4 --group_size 128 \
      --iters 200 --batch_size 8 --nsamples 256 --seqlen 2048 --seed 42 \
      --dataset HuggingFaceH4/ultrachat_200k \
      --ignore_layers "lm_head,.*visual.*,.*mtp.*,.*in_proj_a,.*in_proj_b" \
      --format auto_round --low_gpu_mem_usage
    
    AutoRound writes the 15 MTP tensors (dropped by the Transformers loader) back from the source into model_extra_tensors.safetensors.
  2. GPTQ compatibility — tools/prepare_swift_autoround.py from k8v4-xpu: verifies the 400 packed linears and zero points, adds deterministic g_idx, switches the config to gptq. No weight values change.
  3. Calibration — tools/calibrate_swift_bake.py (run at TP1 with fp8 KV on the single card): 128 WikiText-2 validation prompts of 384 tokens, 64 generated tokens each, MTP on; Hessians for lm_head and the MTP inputs, every 64th row held out.
  4. Bake — tools/bake_gptq_resume.py: symmetric GPTQ INT4, group 128, 1% damping, no activation ordering.
  5. Assemble — tools/assemble_swift_bake.py: rewritten shards without the dense replaced tensors, the 36 GPTQ arrays in model-bake-int4.safetensors, the INT8 embedding side file. Settings and per-linear errors are in BAKE.json.

Credits and licenses

README history 3 versions

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

  1. 2026-10-09 Card: recommend K8/V4 + MTP3 @256K; explain why DFlash2 is not recommended 341ffc2 9.5 KB
    Loading...
  2. 2026-10-09 Card: DFlash2 + K8/V4 256K setup, BetterBench 79.7 720e7c3 9.9 KB
    Loading...
  3. 2026-10-08 AutoRound INT4 body + baked lm_head/MTP + INT8 embedding e981a89 8 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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