orcarouter/Qwen3.8-27B-Uncensored
— Qwen3.8-27B with its refusal direction abliterated — with an int8 trunk in the Hadamard domain, as
a single .rad container for the radiance inference
engine (AMD RDNA4, ROCm), with its vision tower and the
z-lab/Qwen3.8-27B-DFlash2 block-diffusion
drafter merged in for speculative decoding.
This model's safety alignment has been removed: it answers requests the original model refuses. The source model's card describes how it was made, how it was evaluated and what it is for.
It replaces StillDeadcode/qwen3.8-27b-uncensored-fp8, which was made from the FP8 release of the same model; this file is quantised from the bf16 one.
| File | qwen3.8-27b-uncensored-iq8r.rad — 28.76 GiB |
| Weights | every trunk linear int8 (codes −127..127) with a u8 scale per row and 256 of K under a bf16 scale a row, each 128 of K rotated by the unnormalised Hadamard, round to nearest; the lm_head int8 with a bf16 scale per row and 128 |
| Activations | int8 under the same rotation (W8A8) |
| Speculator | DFlash2, its linears on a 16-level integer codebook (four bits) in the same rotated domain; its vocabulary head as 2-bit codes, whose top 32 candidates the engine rescores against the model's own head. It was trained on the original model and drafts for this one too: drafts are verified, so they change the speed and never the output |
| Vision | the 27-block vision tower, bf16: images and video in chat requests |
| Context | 262,144 tokens trained |
| Needs | radiance built from main after 1.17.0: IQ8R at one scale a 256 of K and the int8 KV cache are not in 1.17.0 and come with the next release |
Not measured as KL divergence against this model's bf16 checkpoint. On the original Qwen3.8-27B, round to nearest in this format is at a mean KLD of 0.00049 from the bf16 model, where Qwen's FP8 checkpoint is at 0.00363 (two cards, 464,091 positions of the quantization challenge's public split).
Before upload it was served on one Radeon AI PRO R9700 (tp: 1, 40K context, int8 KV cache):
three checked answers were right, and over 24 chat prompts the drafter delivered 12.6 tokens a
speculative step, as on the original model.
# radiance.yaml
server:
host: 0.0.0.0
port: 8000
models:
qwen3.8-27b-uncensored:
model: qwen3.8-27b-uncensored-iq8r.rad
tp: 2
max-model-len: 200000
max-num-seqs: 8
kv-cache-dtype: i8
radiance --config radiance.yaml
kv-cache-dtype: i8 stores the attention cache as int8 with an f16 scale per token and head. The
server speaks the OpenAI API (/v1/chat/completions, /v1/completions), with tool calls and
structured output, and image_url / video_url parts in chat messages. The drafter's depth is
chosen automatically (num-speculative-tokens: N states one, 0 turns speculation off).
rad-convert orcarouter/Qwen3.8-27B-Uncensored --draft-model z-lab/Qwen3.8-27B-DFlash2 \
--recipe q38-27b-iq8r-rtn.recipe \
--set quantization_config.quant_method=w8a8 --set quantization_config.fmt=fwht128 \
-o qwen3.8-27b-uncensored-iq8r.rad
The recipe (q38-27b-iq8r-rtn.recipe in this repository); everything it does not name is the
checkpoint's own:
blk.*.attn_qg.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.attn_k.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.attn_v.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.attn_output.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.ssm_inz.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.ssm_out.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.ffn_gate_up.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
blk.*.ffn_down.weight rtn codes=i8 group=256 scale=u8 scale2=bf16 block2=1x* transform=fwht128 clamp=sym rule=search
output.weight rtn codes=i8 group=128 scale=bf16 clamp=sym rule=search
dflash.draft_head.weight rtn codes=u2 zero=u8 group=128 scale=f16 rule=search
dflash.fc.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
dflash.blk.*.attn_q.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
dflash.blk.*.attn_k.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
dflash.blk.*.attn_v.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
dflash.blk.*.attn_output.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
dflash.blk.*.ffn_gate_up.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
dflash.blk.*.ffn_down.weight rtn table=-127;-97;-75;-58;-43;-30;-18;-6;6;18;30;43;58;75;97;127 group=128 scale=bf16 transform=fwht128 rule=search
Apache 2.0, as the source model; its LICENSE is in this repository.
orcarouter/Qwen3.8-27B-Uncensored