license: other
license_name: swift-open-license-1.0
base_model: Qwen/Qwen3.8-27B
pipeline_tag: image-text-to-text
library_name: radiance
language:
- en
tags: - radiance
- qwen
- qwen35
- swift
- w4a16
- int4
- single-card
Swift Qwen3.8 27B, W4A16 (Radiance 2.5.0)
This repository contains a Radiance 2.5.0 container for
ukisai/Swift-1.5-Qwen3.8-27b-W4A16-AutoRound,
a 4-bit AutoRound release of Swift 1.5 Qwen3.8-27B. It is sized for one 32 GB
card at tp: 1.
The container is about 17.4 GiB. The 4-bit numbers are the release's own:
the converter imports its codes, zero points and scales instead of quantising
again.
Status: the uncensored build is blocked
The repository name is aspirational. There is no uncensored or abliterated
container here. The plan was to abliterate ukisai/Swift-1.5-Qwen3.8-27b with
Heretic and then quantise it to IQ4R-V4, and that step cannot run on the build
machine, which has one 16 GB card:
- The checkpoint is 27.78B parameters in bf16 (55.56 GB). In 4-bit it needs
about 12.3 GiB of packed weights plus a 2.37 GiB bf16 head, and with the head
quantised it overflows the 16 GB card by 1.2 to 1.5 GiB
(HIP out of memory. Tried to allocate 2.37 GiB ... 1.25 GiB free). - Heretic requires every parameter to be resident on a device it accepts, so a
CPU entry in the device map is rejected. Splitting the model across the
discrete card and the integrated GPU fails during load withExpected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1. - Host memory was not the limit after the loader patch: the fixed load needs
only 1.3 to 3.8 GB.
The only artifact published here is the W4A16 container described below, made
from the unmodified Swift source. A 32 GB card would let the same abliteration
run unchanged.
What is in the container
- Text trunk: Qwen3.8-27B, a hybrid gated-delta-net and full-attention
dense model with 64 layers. Hidden 5120, head_dim 256, 24 query heads and 4
KV heads, full attention every fourth layer, intermediate 17408, vocabulary - Vision tower: 27 layers, hidden 1152, 16 heads, head_dim 72, kept in bf16.
- MTP head: one embedded MTP layer. Its draft head is stored at 2 bits and
rescored against the int8 head. - Encodings: the linear layers keep the release's W4A16 group-128 weights
(u4 codes, u4 zero points, f16 scales). The head is int8. The delta-net a/b
projections, norms, embedding and vision tower stay bf16. - No drafter is pinned for this checkpoint.
Serving
models:
swift-qwen3.8-27b:
model: /models/swift-1.5-qwen3.8-27b-w4a16.rad
tp: 1
max-model-len: 262144
max-num-seqs: 4
kv-cache-dtype: i8
Validation
- The conversion plan has 1039 weights: 288 imported from the release's packed
codes, 749 kept as the checkpoint holds them, 2 quantised by the recipe. The
plan estimated 17.36 GiB. rad-info: 17.37 GiB, 1039 weights, 395 metadata keys, 248077 tokens,
247587 merges, chat template 8952 bytes, 333 vision tensors.- SHA-256:
2d166c4f475743267b165f04c0ea0d014f4d6518a3f69a2b1ef31b3b0baa8fc6 - Architecture:
qwen35(RAD2, little-endian). - Built with
docker.io/stilldeadcode/radiance:2.5.0, digestsha256:25cdef937223b303d6c8657c902da018179a4af2bc97e3ad2c20450027cb82d1. - Serving was not run on the R9700 in this build; the single-card claim rests on
the container size, not on a measured VRAM run.
Behavior
Swift 1.5 Qwen3.8-27B is a reasoning-efficient derivative of Qwen3.8-27B:
58.5% fewer thinking tokens while scoring 0.35% higher, for a 1.95x speed-up on
several tasks. It is not formally labeled uncensored by its source. The right
descriptor is reasoning-efficient and low over-refusal on benign lawful
content.
Licensing
UkisAI's contribution is licensed under the Swift Open License v1.0.
The model is a derivative of Qwen3.8-27B (Apache License 2.0, Copyright 2026
Alibaba Cloud); retain with LICENSE-APACHE-2.0. See NOTICE for the change
notice and attribution details. The license permits non-commercial
redistribution of the weights and derivative works.
Provenance
- Source repository:
ukisai/Swift-1.5-Qwen3.8-27b-W4A16-AutoRound(sha278de52d4252d0b7c0ea01833d1403cd386c65ef). - The release is a W4A16 AutoRound export: group 128, symmetric, 400 packed
linear layers, calibrated on 256 samples ofultrachat_200kat length 2048. - Recipe:
q38-27b-w4a16.recipe. - Build:
./scripts/rad-convert.sh models/hf/ukisai/Swift-1.5-Qwen3.8-27b-W4A16-AutoRound -o out/swift-1.5-qwen3.8-27b-w4a16.rad --recipe recipes/q38-27b-w4a16.recipe --cpu --max-spec 3 --kernels libr4d:libavx:libref --max-ctx 4096 --max-tok 128 --no-error - Workspace commit:
6fb3c73.
Limitations
- The plain bf16 build of this model is about 51 GiB and needs two cards. This
W4A16 build is the single-card profile. - The Quark FP8 release of the same model does not load under Radiance 2.5.0
(quantisation 'quark' cannot be imported). - Serving was not run on the R9700 in this workspace.