koloved/Qwen3.8-27B-Heretic-NVFP4-NInfer
1508
Qwen3.5-27B Heretic NVFP4 (NInfer artifact)
Mixed-precision NVFP4 .ninfer artifact of the Heretic (Uncensored) variant of Qwen3.5-27B, optimized for single-GPU inference on NVIDIA RTX 5090.
What this is
This is a quantized inference artifact (.ninfer format) — not safetensors, not GGUF. It is produced by the NInfer converter and runs exclusively with the NInfer inference engine.
Source model
Based on llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Native-MTP-Preserved — a BF16 Heretic fine-tune of Qwen3.5-27B with native MTP (Multi-Token Prediction) support preserved.
Quantization recipe
Mixed-precision quantization applied via custom converter:
Artifact structure
ninfer-serve qwen3_8_27b_nvfp4-heretic.ninfer \
--max-context 262144 \
--kv-capacity auto \
--kv-dtype int8 \
--max-concurrency 3 \
--spec mtp --draft-tokens 3 --lm-head-draft \
--vision \
--preserve-thinkingPerformance
- Artifact size: 18.0 GB
- VRAM usage: ~17 GB (weights) + ~13 GB KV cache headroom
- Decode speed: ~150–190 tok/s (MTP speculative decoding, ~80% acceptance)
- Prefill speed: ~2000–4000 tok/s
- Max context: 262,144 tokens
How this was made
- Downloaded BF16 Heretic source (52 GB, 13 shards) from HuggingFace
- Quantized with custom Python quantizer (RTN — Round-To-Nearest):
- FP8:
amax / 448divisor convention - NVFP4:
2688 / amaxglobal divisor, block-scale per 128×4 tile, swizzled encoding - Gate/Up projection pairs share global scale from concatenated amax
- Converted to
.ninferformat using NInfer converter - Verified against reference artifact (Ostfralla/Qwen3.8-27B-NVFP4-NInfer) — 0 alignment mismatches
Requirements
- GPU: NVIDIA RTX 5090 (Blackwell sm_120a)
- CUDA: 13.1+
- Engine: NInfer (build from source)
- OS: Linux (64-bit)
Quick start
# Build NInfer
git clone https://github.com/Neroued/ninfer.git
cd ninfer
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
# Download this artifact
hf download koloved/Qwen3.8-27B-Heretic-NVFP4-NInfer \
qwen3_8_27b_nvfp4-heretic.ninfer \
--local-dir models
# Run server
./build/apps/ninfer-serve models/qwen3_8_27b_nvfp4-heretic.ninfer \
--max-context 262144 \
--kv-capacity auto \
--kv-dtype int8 \
--max-concurrency 3 \
--spec mtp --draft-tokens 3 --lm-head-draft \
--vision \
--preserve-thinkingCredits
- Base model: Qwen/Qwen3.5-27B (Apache-2.0)
- Heretic fine-tune: llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Native-MTP-Preserved
- Inference engine: Neroued/ninfer (Apache-2.0)
- FP8/NVFP4 reference: unsloth/Qwen3.8-27B-NVFP4
License
Apache-2.0 (inherited from base model and NInfer engine).
