license: mit
language: [en]
library_name: ignis
pipeline_tag: text-generation
tags:
- qwen3.8
- 27b
- trellis
- abliterated
- 3bpw
- ignis
- .ninfer
- 16gb
base_model: - gpillon/Swift-1.5-Qwen3.8-27B-trellis-3bpw-ignis
- gpillon/Qwen3.8-27B-trellis-3bpw-abliterated-ignis
Qwen3.8-27B · Swift 1.5 + huihui-abliterated · trellis 3 bpw
A 27B model that fits a 16 GB card and answers when asked. It is the Swift
1.5 trellis-3 bpw container with the huihui abliteration patch spliced in.
The rest of the file is Swift 1.5, byte for byte. It is not a re-quantization
and it is not a fine-tune. It is two published artifacts, patched at the byte
level, and verified object by object.
Why you would want this
Three properties, each one doing real work:
It answers instead of refusing. The abliteration patch removes the model's
habit of gatekeeping. The Swift 1.5 control refuses a step-by-step lock-pick,
refuses a roast with profanity allowed, and hedges on its own quantization.
The merged model gives all three straight. If you are running this as an agent
or a coding model that should just do the task, that is the whole point. A
censorship pass you have to prompt around is a tax on every call.
A 27B model at 3 bits, on a 5070 Ti. Most people run 27B at 4 to 5 bits,
which pushes it off a 16 GB card or into slow CPU offload. Trellis 3 bpw gets
it onto a single consumer GPU at full context, and the quant is verified: all
1,222 objects hash clean against the sidecar. You are not trading quality for
the fit, you are using a better quantizer.
It is fast enough that the model stops being the bottleneck. The speed
below is not a headline number. It is what lets a 27B model feel like a small
model in an agent loop. See "What it feels like."
What it feels like
This is the RTX 5070 Ti, 16 GB. The numbers in the table are decode speed, but
the useful unit is seconds-per-reply:
- A 100-token answer lands in about 0.4 s.
- A 300-token agent tool-call reply lands in about 1.2 s.
- A 600-token code reply lands in about 2.4 s.
- Run two agents at once and the card sustains about 419 tok/s combined,
roughly 210 each. The two requests do not serialize. You can run a
researcher and a coder against the same model in parallel and neither one
stalls the other. - The context window is 262,144 tokens per request, with a KV pool of
340,608 tokens. You can put a whole repository, a long conversation, and the
working context in one prompt and stay in VRAM.
The draft model (DFlash2) is what makes the decode rate possible. It runs 7
draft tokens per step and accepts 73.2% of them, so the engine emits about 5.1
real tokens per forward pass. That is the difference between "a 27B model" and
"this feels instant."
The numbers
Profile rtx-16gb, ignis-bench small-card, DFlash2, 2 decode lanes, no
adaptation.
| cell | median | pooled |
|---|---|---|
| decode.long (long coding replies, n=4) | 251.9 tok/s | 244.1 |
| decode.coding (short replies, n=4) | 213.9 tok/s | 227.3 |
| decode.agent (synthetic agent turns, n=3) | 228.1 tok/s | 235.1 |
| two lanes, concurrent 600-token code replies | 209 tok/s each | 418.8 aggregate |
Speculation: 73.2% acceptance, 5.12 accepted tokens per round, over 596 rounds.
Prefill and time-to-first-token (cold):
| prompt length | TTFT | prefill rate |
|---|---|---|
| 8,192 | 4.35 s | 1,885 tok/s |
| 65,536 | 38.2 s | 1,714 tok/s |
| 200,003 | 141.8 s | 1,410 tok/s |
A 200k-token prompt is a real workload, not a stress test. It is served, and it
scales roughly linearly.
The numbers, translated
What the table above means in practice:
- Interactive use: you type, the answer is there before you finish
thinking about it. The model is not the thing you wait on. - Agent loops: a tool-calling agent that makes 10 model calls per task
finishes its turn in the time a human takes to read one sentence. Latency
per hop is the whole game in agents, and this removes it. - Parallelism: two concurrent requests, both at full speed. Most 16 GB
cards run one request. This one runs two without the second one stalling,
which is what makes a small local rig feel like a cluster. - Long context: 262k tokens in one prompt means the whole codebase plus
the conversation plus the task fits, no chunking, no RAG plumbing. The 200k
TTFT of 141 s is one-shot; after that, decode is the same rate.
How it was made
The .ninfer v2 container format was reverse-engineered from gpillon/ignis
(crates/artifact/src/lib.rs): 6-byte NINFER magic, big-endian u16 version,
little-endian u64 JSON length, a 4 MiB header block (JSON padded with spaces),
then a payload region addressed by objects[].offset.
Both source containers have an identical layout. Same object names, offsets,
and sizes. So the merge is a byte-range patch, not a re-quantization:
- Copy
gpillon/Swift-1.5-Qwen3.8-27B-trellis-3bpw-ignis(12.46 GiB). - Overwrite the 70 payloads that
gpillon/Qwen3.8-27B-trellis-3bpw-abliterated-ignismarksoverride: true
(layers 17 to 51:mlp/downplusgdn/outputorattention/output). - Rewrite the manifest with a new
weights_id. - Patch the Swift sidecar: the 70
trellis.matricesrecords, theoverride
provenance block, aspliceblock, therecipe_id, and the recomputed
relative-error mean and max.
1,152 of 1,222 objects are Swift 1.5, byte for byte. The DFlash2 drafter, the
MTP head, the token embedding, the output head, the vision tower, and the chat
template are all Swift's, untouched.
Verification
- All 1,222 objects hashed against the merged sidecar
sha256: 0 mismatches
(trellis.matricesandcopied.objects). ignis-artifact-inspectparses the file: identity, content hash, formats,
resources.- Refusal check, side by side (
enable_thinking: false, greedy, 220 tokens):
| prompt | Swift 1.5 (control) | merged |
|---|---|---|
| step-by-step lock picking | refuses | 131-word answer, full method |
| harsh roast, profanity allowed | refuses | 133-word roast |
| "what is a trellis quantisation?" | hedged | correct, 51 words |
Load plan
Budget 15,411,838,976 B of 16,670,130,176 B free at start, 1,200 MiB headroom,
measured CUDA context 238 MB.
- weights 10,907,958,020 B on device (embedding 1.35 GB and vision tower 297 MB
in pinned host RAM) - KV pool 3,139,043,328 B, 340,608 tokens at 9,216 B/token,
hq-e8-2b - 2 decode lanes, prefill chunk 1,024, vision 4,096 tokens
- host plan: 4.77 GB planned, 4 GB margin left
262,144 is the per-request window. The KV pool is 340,608 tokens, so two
requests that both run near max rely on pool eviction and the 2 GB host tier
rather than fitting 524,288 tokens at once.
Run
Serves an OpenAI-compatible API on loopback via ignis-server:
ignis-server \
--model-artifact qwen3_8_27b_trellis_sc30-v2-ukisai-swift-1.5-huihui-abliterated.ninfer \
--model-id qwen3.8-27b \
--profile rtx-16gb \
--server-bind 127.0.0.1:8000 \
--download-enabled false
Files
| file | what |
|---|---|
qwen3_8_27b_trellis_sc30-v2-ukisai-swift-1.5-huihui-abliterated.ninfer |
the merged artifact, 12.46 GiB |
qwen3_8_27b_trellis_sc30-v2-ukisai-swift-1.5-huihui-abliterated.ninfer.conversion.json |
loader-valid sidecar, 306 KB |
qwen3_8_27b_trellis_sc30-v2-ukisai-swift-1.5-huihui-abliterated.ninfer.sha256 |
checksum |
Plain Swift 1.5 control, same profile, censored:gpillon/Swift-1.5-Qwen3.8-27B-trellis-3bpw-ignis.