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

ultimaterex/Swift-1.5-Qwen3.8-27B-Uncensored-W4A16-AutoRound

ultimaterex 27B multimodal second-order
curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/ultimaterex%2FSwift-1.5-Qwen3.8-27B-Uncensored-W4A16-AutoRound"
Response includes
  • classification m-uncensored
  • files 23
  • 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-26

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
other
Tags
safetensors qwen3_5 qwen3.8 swift autoround w4a16 compressed-tensors uncensored abliterated mtp vllm image-text-to-text

Related

Total size
14.7 GB
Files
23
Quantizations
1
Registered
2026-09-27 00:57
Last updated on HF
2026-09-27 00:44

Files by quantization

Auxiliary files 23 files 14.7 GB
model-00001-of-00004.safetensors 4.64 GB 93bdecef download
model-00002-of-00004.safetensors 4.63 GB 72ae0108 download
model-00003-of-00004.safetensors 4.53 GB ff199f85 download
model-00004-of-00004.safetensors 625 MB 8f6beeda download
model_extra_tensors.safetensors 312 MB c7e6648e download
mtp_draft_vocab_ids.pt 322 KB 8af90286 download
tokenizer.json 19.1 MB 06b95093 download
vocab.json 6.41 MB 0aa0ce06 download
merges.txt 3.20 MB a494e019 download
model.safetensors.index.json 195 KB 117bbca0 download
config.json 21.7 KB 1f62a670 download
quantization_config.json 15.8 KB 263f7f84 download
LICENSE 13.0 KB 209a5720 download
LICENSE-APACHE-2.0 11.3 KB f938136e download
chat_template.jinja 9.05 KB 2644b845 download
README.md 8.73 KB 0d3e4acc download
NOTICE 1.96 KB 7f4bbfa3 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.19 KB 43c4343e download
tokenizer_config.json 1.14 KB 1d134cd2 download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
generation_config.json 214 B 1f489fac download

README current version from Hugging Face


license: other
license_name: swift-open-license-1.0
license_link: LICENSE
pipeline_tag: image-text-to-text
tags:

  • qwen3_5
  • qwen3.8
  • swift
  • autoround
  • w4a16
  • compressed-tensors
  • uncensored
  • abliterated
  • mtp
  • vllm
    base_model: ajgazin/Swift-1.5-Qwen3.8-27B-Uncensored-MTP
    base_model_relation: quantized

Swift-1.5-Qwen3.8-27B-Uncensored-W4A16-AutoRound

A W4A16 quantization of ajgazin/Swift-1.5-Qwen3.8-27B-Uncensored-MTP
(an abliterated Swift 1.5, UkisAI's reasoning-efficient
fine-tune of Qwen3.8-27B). It is built to serve on one 24 GB GPU (RTX 3090) with vLLM, MTP speculative decoding
and long context. It succeeds our Swift 1.0 build,
ultimaterex/Swift-Qwen3.8-27B-Uncensored-W4A16-AutoRound,
and was compared head-to-head against it on the same hardware and serving stack (below).

Built for syv-ai/HyperQwen on a single RTX 3090. The recipe was
chosen for that target: int8 embeddings, int4 lm_head and MTP head, and int4 linear-attention projections keep
the weights at 15.8 GB, so HyperQwen can hold a ~200k-token KV pool with MTP speculative decoding on 24 GB. On a
bigger GPU you would likely keep more of the model in bf16; see Why the heads are quantized
for what these choices cost.

Needs a patched vLLM (two small patches, see Serving). Stock vLLM fails to load it with
There is no module or parameter named 'embed_tokens.weight_packed'.

What's in the checkpoint (verified from the tensors)

Part Precision Notes
Transformer body (attention, MLP, linear-attention in_proj_qkv / in_proj_z / out_proj) int4, g128, symmetric (AutoRound) compressed-tensors pack-quantized
Linear-attention in_proj_a / in_proj_b, conv, norms bf16 recurrence-control projections kept full precision
lm_head int4, g128, GPTQ-calibrated on this model's own hidden states; KL vs bf16 head 0.0027 (round-to-nearest int4: 0.0059)
embed_tokens int8, g128 round-trip error 0.56%
MTP draft head int4, g128, GPTQ Hessians from this model's own outputs; plus a 40,960-row draft vocabulary (mtp_draft_vocab_ids.pt)
Vision tower bf16

Weights total 15.8 GB. The int8 embeddings and int4 heads save ~3.1 GB over the stock AutoRound layout (bf16 heads),
which goes back into KV cache on a 24 GB card. See Why the heads are quantized.

Quantization recipe

  • Body: AutoRound 0.15 W4A16 g128 sym, 300 iterations (SignRound, best-iteration selection), seed 42.
  • Calibration: 128 samples × 4,096 tokens. 96 samples are this model family's own chat-templated generations
    (UltraChat chat, Magicoder code, GSM8K math, mostly with thinking traces), packed; 32 are NeelNanda/pile-10k.
    The Swift 1.0 build used 128 × 2,048 tokens of pile-10k at 200 iterations. With the longer, in-distribution data,
    59 of 64 blocks found their best result after iteration 200 (the 1.0 run's blocks stopped improving between
    67 and 197).
  • Heads: embed_tokens → int8 RTN; lm_head → int4 GPTQ (Hessian from 300k captured final hidden states);
    MTP → int4 GPTQ (Hessians from the MTP layers' own inputs). Hidden states were captured over 6.7M tokens that this
    checkpoint generated itself: 6,761 prompts and this checkpoint's own responses to them (thinking on/off per prompt,
    the model's default sampling), 6.7M tokens in total.
  • Tooling: syv-ai/HyperQwen's prepare/ and drafter/ pipeline.

Serving

Tested with HyperQwen (vLLM 0.29.0 + its patch series) on one RTX 3090.
With plain vLLM, apply at least:

  • patches/qwen3_5-embed-quant.patch: passes quant_config to the embedding (int8 embed_tokens)
  • patches/qwen3_5-mtp-draft-vocab.patch: the MTP drafter scores the 40,960-row draft vocabulary
patch -p1 -d <venv>/lib/python3.12/site-packages/vllm < qwen3_5-embed-quant.patch
patch -p1 -d <venv>/lib/python3.12/site-packages/vllm < qwen3_5-mtp-draft-vocab.patch

The vLLM issue for the embedding bug is vllm-project/vllm#54304.

The config we run as our main model is HyperQwen single-user mode with SPEC=mtp CTX=long MAX_LEN=196608 PREFIX_CACHE=1 INT8_ACT=int8 (fp8 KV, a 207,530-token KV pool on a 3090, two concurrent streams).

Evaluation: Swift 1.5 build vs our Swift 1.0 build

Same RTX 3090, same serving stack (HyperQwen / vLLM 0.29.0), same settings, run back to back. "v1" is
ultimaterex/Swift-Qwen3.8-27B-Uncensored-W4A16-AutoRound.

Test v1 (Swift 1.0) This model (Swift 1.5)
Perplexity, ~33k tokens en/da/code (SPEC=off) 8.323 8.352
GSM8K, 200 questions, greedy, thinking off 96.5% 97.0%
MATH-500 level 5, 40 problems, behind a ~40k-token context, thinking on 38 correct, 0 wrong, 2 unfinished (hit 16k tokens) 38 correct, 2 wrong, 0 unfinished
Mean tokens per MATH answer 3,094 2,737 (−12%)
Reasoning loops (repeated-span detector) 0 0
State tracking across compaction cycles (6 × 16k-token chunks) 12/12 12/12
Same, harder (10 × 24k-token chunks, 160 operations): episodes / per-cycle accuracy 9/12 / 0.850 10/12 / 0.833
Teacher-forced loss at 48-64k context depth 1.809 1.815
Refusals, 100 mlabonne/harmful_behaviors prompts, Heretic keyword detector 23 20
Genuine refusals among those (checked by hand) 0 1

The two models are different fine-tunes, so the perplexity and loss rows compare models, not quantization quality.
Refusal counts use a keyword detector that also fires on answers that merely mention words like "illegal" while
complying; the hand-checked row is the meaningful one. The remaining strict hits are "as an AI I can't physically …,
but here is …" deflections.

Speed (one RTX 3090, the config above)

v1 This model
Short chat decode, 1 stream 101-109 tok/s 101-105 tok/s
2 concurrent short chats, aggregate 147 tok/s 151 tok/s
Time to first token, cold 32k / 96k / 180k-token prompt 20.7 / 82.8 / 197.5 s 20.8 / 82.5 / 197.3 s
Same, cached follow-up turn 1.5 / 3.1 / 4.3 s 1.5 / 3.1 / 4.2 s
Decode at 32k / 96k / 180k context 87.9 / 75.6 / 62.9 tok/s 91.6 / 76.0 / 64.7 tok/s
MTP mean acceptance length (vLLM, whole run) 2.73

Single runs of each test. Decode speed with speculative decoding depends on the text generated.

Why the heads are quantized

On a 24 GB card every GB of weights is KV cache. We measured the cost of the head quantization on the Swift 1.0
build (same recipe) against the same checkpoint with bf16 heads:

  • int8 embed_tokens: no measurable effect (perplexity 8.2710 vs 8.2712).
  • int4 GPTQ lm_head: ~0.45% perplexity, flat with context depth up to 64k (no compounding), with no extra
    unfinished runs and no reasoning loops in long-context math and compaction tests. A bf16 lm_head would cut the
    maximum context on a 3090 from 196,608 to 153,920 tokens.

On a larger GPU, bf16 heads (and bf16 linear attention) are a reasonable choice; quantizing the linear-attention
projections cost ~0.1-0.2% perplexity in the same test, growing slightly with depth.

Known limitations

  • Needs the two vLLM patches above; there is no GGUF / llama.cpp version of this file.
  • The generation tests reach ~40k tokens of context and up to 10 compaction cycles; sample sizes (12 episodes,
    40 problems) resolve large differences, not 1-2%.
  • The abliteration is ajgazin's single-direction ablation; see their card for its method and their own refusal / KL
    measurements.

License

Swift Open License v1.0 (see LICENSE), including its commercial-use threshold (Section 5). Includes the Apache 2.0
license of the Qwen3.8-27B base model (LICENSE-APACHE-2.0) and the upstream NOTICE.

Copyright 2026 UkisAI. Swift Contribution licensed under the Swift Open License v1.0
(https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-27b/blob/main/LICENSE). Derivative of Qwen3.8-27B, Copyright 2026
Alibaba Cloud, Apache License 2.0.

Changes in this repository: the model weights of ajgazin/Swift-1.5-Qwen3.8-27B-Uncensored-MTP were quantized as
described above (AutoRound W4A16 body, int8 embeddings, GPTQ int4 lm_head and MTP head, a draft-vocabulary slice
for the MTP head), and chat_template.jinja was modified to accept OpenAI-style reasoning_effort values
(minimal → low, high / max → xhigh) instead of raising an error.

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.