Instructions to use CaptainArni/Swift-1.5-Qwen3.8-27B-Basalt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Basalt
How to use CaptainArni/Swift-1.5-Qwen3.8-27B-Basalt with Basalt:
# 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
Swift-1.5-Qwen3.8-27B β Basalt model file
A single Basalt model file (.basalt,
format version 2) of
ukisai/Swift-1.5-Qwen3.8-27b-NVFP4,
UkisAI's second reasoning-efficient fine-tune of Qwen3.8-27B, in NVIDIA
ModelOpt's NVFP4/FP8 quantization, with z-lab's DFlash 2 block drafter.
Built with Basalt's own converter; no weight is requantized.
The sibling of CaptainArni/Swift-1.5-Qwen3.8-27B-NInfer: the same weights, for the other engine.
| file | Swift-1.5-Qwen3.8-27B-NVFP4.basalt |
| size | 23,749,973,287 bytes (22.1 GiB) |
| sha256 | 57c9c11598f393bce013a6e4806c6d83c67dc8ce313629efb18f435235055d0e |
| inside | text model, MTP layer, DFlash 2 drafter, vision tower, tokenizer, chat template |
| on the card | 18.4 GiB, plus the 2.4 GiB BF16 embedding in page-locked RAM |
| built | 2026-11-23, Basalt 8667cc8a (0.5.6) |
What is inside: the 64 MLP layers and the output head at NVFP4 (Basalt's
NVFP4_PLANES), the 144 GDN and 64 full-attention projections at FP8 E4M3
with ModelOpt's per-tensor scale β all codes and scales as UkisAI shipped them.
The GDN a/b projections and the token embedding BF16, norms F32, the MTP
layer's and the drafter's BF16 projections Q8_0, the vision tower as a
llama.cpp clip GGUF. Everything except the two Q8_0 roundings is bit for bit.
Quick start
Basalt runs on Blackwell (sm_120) cards. With a build that has the qwen35
model (building):
hf download CaptainArni/Swift-1.5-Qwen3.8-27B-Basalt \
Swift-1.5-Qwen3.8-27B-NVFP4.basalt --local-dir models
basalt serve models/Swift-1.5-Qwen3.8-27B-NVFP4.basalt \
--max-context 224000 --kv int8 --vision dynamic
It serves OpenAI- and Anthropic-compatible APIs on port 8080 by default. Drafting is on by default with the DFlash 2 drafter.
Context on a 32 GB card. The FP8 attention and GDN layers make this file
2.4 GiB larger on the card than Basalt's own QUASAR pack. Basalt allocates the
KV cache at start and refuses what does not fit: on an RTX 5090 that also
drives a desktop (about 1.6 GB), one slot at 262,144 is refused by 216 MiB
with --kv int8 and a 1 GiB vram-reserve-mib; 245,760 and 224,000 start.
A headless card, or a smaller reserve, should hold the full 262,144.
Measured
RTX 5090, Windows, Basalt 0.5.6 (8667cc8a, built from source with CUDA
13.3), one slot, --kv int8, 245,760 context, drafting on, answer-room 0.
Set against the same weights on NInfer
(262,144, nvfp4 KV, DFlash 2 K=7), measured earlier with the same harness and
prompts.
| NInfer | Basalt | ||
|---|---|---|---|
| prefill 10.8k, tok/s | 9,860 | 13,078 | 1.33Γ |
| prefill 43.6k | 7,150 | 10,336 | 1.45Γ |
| prefill 172.3k | 2,910 | 5,926 | 2.04Γ |
| time to first token at 172k | 59.3 s | 29.1 s | |
| greedy decode, four prose topics, tok/s | 157β187 | 164β196 | |
| model steps/s | 57.7β63.5 | 64.8β65.9 | 1.03β1.12Γ |
| graded tasks | 12/12 | 12/12 | |
| open-ended prompts finished at 6,000 | 15/18 | 15/18 |
Efficiency β 14 tasks Γ 4 seeds, 32,768 cap, temperature 1.0 / top_p 0.95 / top_k 20, thinking at the template default:
| NInfer | Basalt | |
|---|---|---|
| graded | 43/44 | 43/44 |
| output tokens, 56 runs | 110,147 | 108,426 |
| per task vs NInfer, geometric mean / overall | 1.01Γ / 0.98Γ | |
| runs that hit the cap | 0 | 0 |
| sampled decode, token-weighted | 274 tok/s | 264 tok/s |
| phase wall clock | 406 s | 416 s |
- The weights behave the same on both engines. Same graded results, the same token spend to within 2%, no capped runs. That is what a conversion that moves codes unchanged should show.
- Basalt reads long prompts about twice as fast at 172k, and its decode step is 3β12% faster. Sampled decode lands within 4% of NInfer's, so a reasoning task takes about as long on either.
- Against Basalt's own QUASAR pack (base Qwen3.8-27B, same engine and settings), Swift 1.5 spends 0.56Γ the tokens on the efficiency set and finishes it in about half the wall clock (416 s against 804 s).
Agent loop β a real multi-turn tool workload (read a skill, pick at most three reference cards from an index, write a JSON answer), 12 runs per coding agent, thinking off, on the server's 224,000 config:
| agent A | agent B | ||
|---|---|---|---|
| Swift 1.5 on Basalt | 9/12, 3 over-read | 9/12, 3 over-read | 18/24 |
| Swift 1.5 on NInfer, the same day and harness | 11/12, 1 over-read | 7/12, 4 over-read, 1 runaway | 18/24 |
- The same score on both engines. Every failure on either is the same kind: the model opens a fourth reference card or more against the prompt's limit of three, now and then repeatedly. That is these weights on this workload, not the engine.
- Every Basalt run ended its tool loop by itself, 24 of 24, in 9β20 s at 1.3β3.5k output tokens, each with a full answer.
- An earlier NInfer run of the same harness, a week before with older agent versions, scored 24/24; the rerun on the day is the comparison that counts. Basalt with NInfer's non-thinking sampling defaults (temperature 0.7, top_p 0.8, presence penalty 1.5) also scored 9/12 and 9/12.
What this does not show. The quality suite is a smoke test, able to catch damage, not to rank models. Decode figures are one greedy pass per topic. The NInfer runs are from an earlier day.
How it was built
Basalt's converter reads ModelOpt checkpoints directly (tools/convert/checkpoint_qwen35.py),
so there is no recipe of our own:
hf download ukisai/Swift-1.5-Qwen3.8-27b-NVFP4 --revision 25482027debd5485e8108897ba9fed8d3ba16595 \
--local-dir Swift-1.5-Qwen3.8-27b-NVFP4
hf download z-lab/Qwen3.8-27B-DFlash2 --revision 50307d4c4cde6860d4eee73e2547cd786fe8e8a4 \
--local-dir Qwen3.8-27B-DFlash2
python tools/convert/convert.py --checkpoint Swift-1.5-Qwen3.8-27b-NVFP4 \
--drafter Qwen3.8-27B-DFlash2 --out Swift-1.5-Qwen3.8-27B-NVFP4.basalt \
--name "Swift 1.5 Qwen3.8-27B NVFP4"
54 s on 16 converter processes, Basalt at 8667cc8a. The sources were checked
against UkisAI's UPLOAD_MANIFEST.json and the Hugging Face LFS hashes (only
UkisAI's README differs from the manifest; it was edited after it was written).
Every section of the file was read back against the SHA-256 its header
records. The conversion is deterministic: the same command gives the same
gguf, tokenizer and vision sections byte for byte β only meta, which
records local paths, differs between builds.
License and credits
The weights are UkisAI's and this file inherits the Swift Open License
v1.0 from them (LICENSE): free for personal, research, educational,
evaluation and commercial use for individuals and organizations with annual
gross revenue up to US$1,000,000; above that, commercial use needs a Swift
Enterprise License. Qwen3.8-27B and the DFlash 2 drafter are under the Apache
License 2.0 (LICENSE-APACHE-2.0). NOTICE carries UkisAI's attribution and
the changes made in this conversion.
Thanks to UkisAI for Swift, to jesdga95 for Basalt and its converter, and to z-lab for the DFlash 2 drafter.
- Downloads last month
- -
Model tree for CaptainArni/Swift-1.5-Qwen3.8-27B-Basalt
Base model
Qwen/Qwen3.8-27B