library_name: ninfer
pipeline_tag: image-text-to-text
license: apache-2.0
base_model: ukisai/Swift-Qwen3.8-27b
tags:
- ninfer
- nvfp4
- qwen3.8
- qwen3_5
- abliterated
- uncensored
- multimodal
- mtp
- speculative-decoding
- blackwell
- cuda
- sm_120a
Swift-Qwen3.8-27B · huihui-style abliterated · NVFP4 · NInfer
A 27.78B-parameter multimodal derivative of
ukisai/Swift-Qwen3.8-27b, abliterated in the
huihui-ai style, quantized to
NVFP4 + FP8 for the NInfer engine
on Blackwell (sm_120a).
| Base | ukisai/Swift-Qwen3.8-27b @ 1b30aaaf753f |
| Abliteration | huihui-style refusal-direction removal, layers 18–51, transferred by weight-difference from the Qwen/Qwen3.8-27B ↔ huihui pair |
| Quantization | NVFP4 (MLP gate/up/down) + FP8 (attention, GDN, lm_head) — allocation copied verbatim from unsloth/Qwen3.8-27B-NVFP4, 32 calibration samples |
| Engine | Neroued/ninfer @ a140e7ae82a1, built for sm_120a |
| Artifact | qwen3_8_27b_swift_abliterated_nvfp4.ninfer — 1124 objects, 21,492,695,040 bytes |
| Published | 2026-09-16 |
Why this exists
Swift-Qwen3.8-27b is a strong multimodal Qwen3.8-27B checkpoint, but it still carries the
refusal direction of the base model. The huihui abliteration removes that direction
(Arditi et al. 2024, refusal-projection family), and the NInfer NVFP4 build makes the result
runnable on a single Blackwell card at ~20 GB. This repository is the end-to-end product of
that chain: Swift → huihui-style abliteration → NVFP4 → NInfer, built and
verified on one GPU box, with every step recorded in NOTICE.
Quickstart
The artifact runs with the NInfer CLI or ninfer-serve (requires the
ninfer runtime at revision ≥ 52320554b5e7,
CUDA ≥ 13.1, an sm_120a build):
# one-shot
ninfer qwen3_8_27b_swift_abliterated_nvfp4.ninfer \
--prompt "Tell me something interesting about the universe." \
--max-context 16384 --max-new 512 --no-thinking
# with MTP speculative decoding
ninfer qwen3_8_27b_swift_abliterated_nvfp4.ninfer \
--prompt "Write a haiku about a GPU cluster at 3am." \
--max-context 16384 --max-new 256 \
--spec mtp --draft-tokens 5 --lm-head-draft --no-thinking
# serving
ninfer-serve qwen3_8_27b_swift_abliterated_nvfp4.ninfer --port 8088
It is a multimodal model (image-text-to-text); the full Qwen3.8-27B vision tower and MTP
head are included in the artifact.
Measured on this artifact
| Check | Result |
|---|---|
| Artifact inventory (contract) | 1124 objects — VERDICT: OK |
| MTP acceptance (smoke, 256 new tokens) | 46.3%, 0 fallback steps |
| AdvBench refusal probe (20 harmful prompts, greedy) | 0.0% refusal |
Refusal probe: standard refusal-prefix heuristic over the first 400 characters of greedy
completions on the first 20 AdvBench harmful_behaviors prompts (no content is stored, only
verdicts).
Provenance
| Component | Source |
|---|---|
| Base weights | ukisai/Swift-Qwen3.8-27b @ 1b30aaaf753fe5c1cb51ada2ea0367a53445359c |
| Abliteration transform reference | Qwen/Qwen3.8-27B @ 1d4bf0f2ff60 and huihui-ai/Huihui-Qwen3.8-27B-abliterated @ 739e3c5b8984 |
| Quantization recipe | unsloth/Qwen3.8-27B-NVFP4 quantization_config (verbatim, recipe/unsloth_qconfig.json) |
| Converter | Neroued/ninfer @ a140e7ae82a11ed2f370a4d8f2cc16268a3790b8 + patches/0001-nvfp4-provenance.patch (provenance-only) |
| Conversion report | qwen3_8_27b_swift_abliterated_nvfp4.ninfer.conversion.json |
| Inventory contract | artifact-manifest.json, checksums in SHA256SUMS |
Reproduction
scripts/fetch_source.sh(in the build log) downloaded the three BF16 checkpoints (Xet-free,
size-verified, resumable).- The abliteration step applied
W_swift + (W_huihui - W_base)to exactly the tensors the
reference abliteration modified; all other tensors are byte-identical to Swift. recipe/quantize_nvfp4.pyran llm-compressoroneshot(CPU-resident, ~8 GB VRAM peak).- The NInfer engine was built for
sm_120aandconvert_nvfp4.pyproduced the artifact;verify_artifact.pyconfirmed the 1124-object contract before anything was published.
Frontend disclosure
Frontend gate was satisfied without substitution (all six files already canonical).
License
Apache-2.0, matching the base checkpoint. See LICENSE and NOTICE.