← back to catalog · registered 2026-09-27 04:57

legion666/Huihui-Qwen3.8-27B-abliterated-Quark-AWQ-MXFP4

legion666 27B multimodal second-order
curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/legion666%2FHuihui-Qwen3.8-27B-abliterated-Quark-AWQ-MXFP4"
Response includes
  • classification m-uncensored
  • files 14
  • author_summary 2 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 · 30-day
0
Likes
0
Model age
today
created 2026-09-27

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 quark quantized mxfp4 awq abliterated uncensored rocm rdna4

Related

Total size
18.4 GB
Files
14
Quantizations
1
Registered
2026-09-27 04:57
Last updated on HF
2026-09-27 04:24

Files by quantization

Auxiliary files 14 files 18.5 GB
model.safetensors 18.4 GB 13518d53 download
tokenizer.json 12.2 MB 0997f410 download
vocab.json 6.41 MB 0aa0ce06 download
merges.txt 3.20 MB a494e019 download
tokenizer_config.json 17.5 KB 5de744b3 download
LICENSE 11.3 KB f938136e download
config.json 10.7 KB 4392d38b download
config.json.orig_with_algo_config 10.6 KB 24b199a5 download
chat_template.jinja 8.74 KB c0c686f9 download
README.md 4.68 KB b7afd500 download
.gitattributes 1.53 KB 52373fe2 download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
generation_config.json 214 B 8b9f95da download

README current version from Hugging Face


base_model:

  • huihui-ai/Huihui-Qwen3.8-27B-abliterated
    base_model_relation: quantized
    license: apache-2.0
    license_link: https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/LICENSE
    library_name: transformers
    pipeline_tag: image-text-to-text
    tags:
  • quark
  • quantized
  • mxfp4
  • awq
  • qwen3_5
  • abliterated
  • uncensored
  • rocm
  • rdna4
  • vllm

Huihui-Qwen3.8-27B-abliterated-Quark-AWQ-MXFP4

AMD Quark AWQ + MXFP4 (OCP, group 32, E8M0) quantization
of huihui-ai/Huihui-Qwen3.8-27B-abliterated, produced to run on
AMD RDNA4 (gfx1201) under vllm-radiance.

Vision tower, lm_head and the MTP head are left BF16, so this is still a working
vision-language model — not a text-only quant.

Why this exists

MXFP4 checkpoints that actually land on RDNA4's qualified W4A8/MXFP4 kernels are scarce.
AMD publishes amd/Qwen3.8-27B-Quark-AWQ-MXFP4
for the stock model; this repo is the same recipe applied to the abliterated variant, so
you can have the uncensored weights and the fast kernels. Run on 2x Radeon AI PRO R9700.

Recipe

Replays AMD's exact configuration, read back from their checkpoint's
config.json.orig_with_algo_config, so the result lands on the same kernels:

Weights MXFP4 static, per-group 32, scale format e8m0, round half-even
Activations MXFP4 dynamic
AWQ scaling MLP-only (post_attention_layernorm -> gate/up, up -> down)
Calibration mit-han-lab/pile-val-backup, 128 samples, seq_len 512
Left BF16 lm_head, model.visual.*, mtp.* — 127 tensors total
Output 18.44 GiB, single model.safetensors

Layers: 48 decoder layers, hidden 5120. Conversion took 1 h 52 min on one
R9700 (whole model in host RAM, one decoder layer on GPU at a time; peak ~20 GiB VRAM).

The architecture is hybrid: full_attention_interval=4, so only 1 layer in 4 holds a KV
cache and the rest keep a fixed-size recurrent (gated delta net) state. KV is therefore
much cheaper than a dense model of the same size, and --max-num-seqs barely moves VRAM.

Serving

--attention-backend=R4D works on this model: Radiance's R4D attention kernel
requires a GQA ratio of exactly 6, and this checkpoint is 24 q / 4 kv = 6.

Known-good vLLM arguments:

vllm serve <this-repo> \
  --tensor-parallel-size 1 \
  --max-model-len 262144 \
  --max-num-seqs 8 \
  --gpu-memory-utilization 0.90 \
  --max-num-batched-tokens 4096 \
  --kv-cache-dtype fp8 \
  --attention-backend R4D \
  --enable-prefix-caching \
  --mamba-cache-mode align \
  --reasoning-parser qwen3 \
  --trust-remote-code

--mamba-cache-mode align is needed for prefix caching to work with the hybrid layers.

Gotchas

  • quantization_config.algo_config is stripped to null in config.json, matching
    AMD's published checkpoint. The pre-strip version is kept as
    config.json.orig_with_algo_config for anyone reproducing the recipe.
  • Quark 0.12's preprocess_for_quantization raises on qwen3_5, and the image's Quark
    has no dense qwen3_5 LLMTemplate, so the QConfig is built directly and preprocessing
    is skipped. There is nothing to unfuse in a dense model, so this is safe.
  • Cold start under Radiance is ~3 minutes (imports, weight load, torch.compile, HIP
    graph capture). Size your health-check timeouts accordingly; the compile result is
    cached per config, so subsequent starts are much faster.
  • vLLM 0.30 returns reasoning in a field named reasoning, not reasoning_content.

Provenance and intent

This is a format conversion only. The abliteration is
huihui-ai's work, not mine, and no additional
guardrail modification was performed — dequantized weights land within a few percent of
the BF16 source. The upstream weights are Apache-2.0 and already public; this repo adds a
quantization that runs on AMD consumer/prosumer hardware.

Because these are abliterated weights they will not refuse much. That is the point of the
upstream model, and it is your responsibility to use them lawfully and to add your own
safeguards if you expose them to other people.

Credits

README history 1 version

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

  1. 2026-09-27Add model card50745f84.7 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.