Downloads · 30 days
221
23% of all-time downloads
Dragoy/Swift-Qwen3.8-27B-abliterated-NVFP4-DFlash2
Swift-Qwen3.8-27B-abliterated-NVFP4-DFlash2 is a image-text-to-text model from Dragoy. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
NVFP4 + FP8 quantized checkpoint of the abliterated Swift model, published in standard Hugging Face safetensors format, with the DFlash 2 draft model bundled in this repository. The drafter lives in dflash2/ and confi…
Downloads · 30 days
221
23% of all-time downloads
All-time downloads
977
Public
Parameters
19.4B
25.5 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors25.5 GB · 100%
How the weights are stored.
F8_E4M310.6B · 55%
From the Hugging Face model README
NVFP4 + FP8 quantized checkpoint of the abliterated Swift model, published in
standard Hugging Face safetensors format, with the DFlash 2 draft model
bundled in this repository. The drafter lives in dflash2/ and
config.json carries the matching speculative_config block (relative
dflash2 path): engines that auto-read that key activate the drafter out of
the box, while vLLM currently needs the explicit flag from the Usage section.
The target weights, tokenizer and behaviour are the standard-HF NVFP4 checkpoint — the full provenance chain (abliteration → quantization → config repair) is documented in the base repository.
| Path | What | Size |
|---|---|---|
model-00001-of-00002.safetensors | target NVFP4+FP8 weights (shard 1) | 19.93 GB |
model-00002-of-00002.safetensors | target weights (shard 2) | 1.72 GB |
config.json | target config + speculative_config (method: dflash, model: dflash2, 7 draft tokens) | 17.0 KB |
dflash2/model.safetensors | DFlash 2 drafter, BF16, 1.92B params (Inco AI / Z Lab) | 3.85 GB |
dflash2/config.json | drafter config (DFlash2DraftModel, 5 layers, block size 8) | 1.2 KB |
tokenizer.json, chat_template.jinja, preprocessor_config.json, … | standard HF artifacts of the target | — |
recipe/recipe.yaml | llm-compressor NVFP4/FP8 recipe (unsloth allocation) | 16.8 KB |
50307d4c4cde6860d4eee73e2547cd786fe8e8a4 (Apache-2.0)dflash2/model.safetensors sha256 67fc76d68dc5a9415511a4f394ef744d67510cd20e93b37cc2cc7d28e4bab65cdflash2/config.json sha256 873e3556509b0da06e29654ba00d4944888d4b5e8a33afde25f7eb27d321e980The draft proposes up to 7 tokens per step; the target verifies the whole block in one forward pass, so the sampling distribution is exactly the target's — lossless.
pip install "vllm>=0.29" # dflash2 drafter needs >= 0.29 (0.27.1 has no DFlash2DraftModel)
export VLLM_USE_FLASHINFER_SAMPLER=0
huggingface-cli download dragoy/Swift-Qwen3.8-27B-abliterated-NVFP4-DFlash2 --local-dir ./model # target + dflash2/ drafter in one folder
vllm serve ./model --max-model-len 32768 --gpu-memory-utilization 0.9 --speculative-config '{"method": "dflash", "model": "./model/dflash2", "num_speculative_tokens": 7}'
config.json also carries the same speculative_config block (with the
relative dflash2 path) so that engines which auto-load it activate the
drafter out of the box; vLLM 0.29.0 currently resolves model against the
working directory / HF repo ID, hence the explicit flag above.
SGLang:
python -m sglang.launch_server --model-path ./model --speculative-algorithm DFLASH --speculative-draft-model-path ./model/dflash2 --speculative-num-draft-tokens 8
| Setting | Throughput (tok/s) | vs baseline |
|---|---|---|
| Baseline (autoregressive) | 260.3 | — |
| DFlash 2 (7 draft tokens) | 538.4 | 2.07× |
Measured on one RTX PRO 6000 (sm_120a), vLLM 0.27.1, 8 concurrent prompts × 512 max tokens, temp 1.0 / top_p 0.95 / top_k 20, thinking xhigh; draft acceptance rate n/a. Throughput is inference-only (engine startup excluded). Greedy/sampled output is lossless vs the target.
1b30aaaf753fe5c1cb51ada2ea0367a53445359cquantization_config grafted (llm-compressor flattens it)50307d4c (byte-identical, sha256 above); speculative_config added to config.jsonThe target is a derivative of the Swift checkpoint — Swift Open License v1.0
(LICENSE), not Apache. The bundled DFlash 2 draft is
Apache-2.0 (z-lab); the Qwen base model underneath is
also Apache-2.0. Practical terms of the Swift Open License (free use,
commercial included, under $1,000,000 FY gross-revenue threshold; see the
base repository for the full breakdown):
| Component | Licence |
|---|---|
| Qwen/Qwen3.8-27B (base model) | Apache-2.0 |
| ukisai/Swift-Qwen3.8-27b (Swift Contribution) | Swift Open License v1.0 |
| Target checkpoint in this repo (abliteration + quantization of Swift) | derivative work — Swift Open License v1.0 |
dflash2/ draft (z-lab) | Apache-2.0 |
This is a description of what the licences say, not legal advice.