Instructions to use kaushikvira/Qwen3.8-27B-swift15-nvfp4full-dflash2-NInfer-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NInfer
How to use kaushikvira/Qwen3.8-27B-swift15-nvfp4full-dflash2-NInfer-v3 with NInfer:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download README.md from kaushikvira/Qwen3.8-27B-swift15-nvfp4full-dflash2-NInfer-v3: direct link, hf CLI and curl.
- Browser
- Download file 6.83 kB
-
https://huggingface.co/kaushikvira/Qwen3.8-27B-swift15-nvfp4full-dflash2-NInfer-v3/resolve/ff891a1130adfcf46bf745e06f0fa3dcde2e8c82/README.md
- Command line
-
hf download hf://kaushikvira/Qwen3.8-27B-swift15-nvfp4full-dflash2-NInfer-v3@ff891a1130adfcf46bf745e06f0fa3dcde2e8c82/README.md
-
curl -L -o README.md https://huggingface.co/kaushikvira/Qwen3.8-27B-swift15-nvfp4full-dflash2-NInfer-v3/resolve/ff891a1130adfcf46bf745e06f0fa3dcde2e8c82/README.md
library_name: ninfer
pipeline_tag: image-text-to-text
inference: false
license: apache-2.0
base_model:
- ukisai/Swift-1.5-Qwen3.8-27b
- Qwen/Qwen3.8-27B
- z-lab/Qwen3.8-27B-DFlash2
base_model_relation: quantized
tags:
- ninfer
- ninfer-v3
- qwen3.8
- qwen3_5
- swift
- swift-1.5
- nvfp4
- w4a4
- blackwell
- multimodal
- conversational
- cuda
- rtx-5090
- dflash2
- speculative-decoding
Swift-1.5 Qwen3.8-27B nvfp4full + DFlash2 for NInfer — v3 container
An all-NVFP4 artifact of ukisai/Swift-1.5-Qwen3.8-27b for the NInfer engine, with z-lab's DFlash2 speculative drafter and the indexed proposal head embedded. Native v3 container.
It replaces kaushikvira/Qwen3.8-27B-swift-abliterated-nvfp4full-dflash2-NInfer-v3 (Swift-1.0-based) as our production profile after a same-session A/B — see below.
Credits & provenance (full chain)
All credit for the model itself goes to the authors below — this artifact is a format conversion + quantization of their work, with no fine-tuning of our own:
| Role | Model | Author | SHA / commit |
|---|---|---|---|
| Source weights (BF16) | ukisai/Swift-1.5-Qwen3.8-27b | ukisai (UkisAI) | 18-shard BF16 safetensors, published 2026-09-24 |
| Upstream base | Qwen/Qwen3.8-27B | Qwen team | Swift-1.5 = RL + OPD post-training derivative of Qwen3.8-27B |
| DFlash2 drafter | z-lab/Qwen3.8-27B-DFlash2 | z-lab | 50307d4c4cde6860d4eee73e2547cd786fe8e8a4 |
| Engine | Neroued/ninfer | Neroued | v3 container, ≥ 98dada0e |
| Prior serving lineage | ukisai/Swift-Qwen3.8-27b / d0xin/Swift-Qwen3.8-27B-Uncensored-BF16 | ukisai / d0xin | our previous profile |
Swift 1.5 is UkisAI's reasoning-efficient derivative of Qwen3.8-27B: scaled-up RL + OPD post-training focused on long-horizon agentic and coding tasks (LiveCodeBench, Terminal-Bench improvements), with pathological overthinking penalized — "compressed" token usage while maintaining accuracy.
What we did (the technique)
Identical pipeline to our Swift-1.0 build (see the sibling model card):
- All-NVFP4 quantization with
llm-compressor(512 Ultrachat calibration samples, seq 2048, sequential pipeline): NVFP4 W4A4 group-16 on every text projection (MLP gate/up/down all 64 layers, attention Q/K/V/O, GDN in_proj_qkv/z/out_proj), W8G32 token embedding + output head, official q6/q8 vision allocation, MTP + DFlash2 in BF16. - Global-divisor normalization (our tool): llm-compressor emits per-module
weight_global_scale; the engine's native A4 route requires one contiguous fused parent per attention group (GDNqkvz16,384 rows, attnqkgv14,336 rows). We unify each packing group's divisor toD = min(dᵢ)and rescale the E4M3 block scales byD/dᵢ(RNE, shrink-only). For Swift-1.5 the rescale was exactly representable — 0.0000% re-encode error across all 272 groups. - v3 conversion with
tools/convert(--components text,vision,mtp,dflash2 --proposal).
Artifact
| Field | Value |
|---|---|
| Filename | qwen3_8_27b_swift15_nvfp4full-dflash2.ninfer |
| Size | 19,782,447,364 bytes (18.42 GiB) |
| SHA-256 | 16f313c043c06a19f7c27d74f8259ed9d86c8cb5beed631efbb96f392b373d96 |
| Container version | 3 (NINFER\0\x03) |
| NInfer model ID | qwen3.8-27b (serve as Qwen3.8-27B) |
| Stored objects | 1,590 (Text + Vision + MTP + DFlash2 + indexed proposal head) |
| Formats | nvfp4 ×256 (fused text parents), q8_g32 ×30, q4/q5/q6 (vision), bf16 remainder |
| Hash manifest | SHA256SUMS; full conversion contract in .conversion.json |
Serving (RTX 5090 32 GB, single GPU)
ninfer-serve qwen3_8_27b_swift15_nvfp4full-dflash2.ninfer \
--model-id Qwen3.8-27B --max-context 262144 --kv-capacity auto --kv-dtype k8v4 \
--max-concurrency 4 --default-max-tokens 32768 --prefill-chunk 4096 \
--temperature 0.9 --min-p 0.05 --spec dflash2 --draft-tokens 7 --lm-head-draft \
--host-kv-mib 49152 --host-state-slots 16 --vision \
--default-thinking-budget 16384 --preserve-thinking --image-token-budget 1280
Live capacity on one 5090: weights 18.0 GiB, device KV pool 308,736 tokens (auto), 48 GiB pinned host-KV arena, full 262,144-token context at concurrency 4.
Benchmarks — same-session A/B vs our Swift-1.0-based production
Both sides served by the same engine build, fresh generations, temp 0, no cache reuse, single RTX 5090.
| Benchmark | Swift-1.0-abliterated (prev. prod) | Swift-1.5 (this artifact) | Δ |
|---|---|---|---|
| IFBench prompt-strict (n=300) | 66.3 | 69.0 | +2.7 |
| IFBench prompt-loose | 70.3 | 72.7 | +2.4 |
| IFBench instr-strict | 67.7 | 70.4 | +3.2* |
| IFBench instr-loose | 71.2 | 73.6 | +4.3 |
| GSM8K-200 accuracy | 95.5% (191/200) | 95.0% (190/200) | −0.5 pp (n=200 noise) |
| Gate decode (256-tok samples) | 148.4–159.0 tok/s | 158.6 tok/s | faster |
| Perf decode (mean of 3) | 148.7 tok/s | 160.8 tok/s | +8.1% |
| Prefill @ 200k ctx | 3,260 tok/s | 3,269 tok/s | = |
| Weights in VRAM | 18.0 GiB | 18.0 GiB | = |
| Artifact size | 18.42 GiB | 18.42 GiB | = |
| Device KV pool (auto) | 308,736 tok | 308,736 tok | = |
| Long-context recall (needle) | 250,031 tok EXACT ×3 depths | 250,031 tok EXACT ×3 depths (23/24 overall, one transient empty response @135k) | = |
| Thinking-token efficiency | — | fewer (Swift-1.5 post-training penalizes overthinking) | faster agentic runs |
* per-mode deltas: prompt-strict +2.7, prompt-loose +2.4, instr-strict +3.2, instr-loose +4.3 (in absolute points).
Notes
- This build is not abliterated — Swift-1.5 carries the base Qwen3.8 refusal behavior. Our Swift-1.0-based production was uncensored (huihui-style via d0xin). If you need uncensored, use our Swift-1.0 artifact, or apply a refusal-direction edit to Swift-1.5 (no community abliterated Swift-1.5 exists yet at publication time).
- Same-session methodology, response caches keyed per-model to avoid reuse.
License
Apache-2.0 (inherited via the artifact chain); Swift-1.5 weights under swift-open-license-1.0. All model credit to ukisai (UkisAI) for Swift-1.5, Qwen team for the base, z-lab for DFlash2, Neroued for the engine.