Based on JonathanColetti/Qwen3.8-27B-Uncensored-GGUF, converted to be NPU compatible. These are the same uncensored weights, repackaged in the FastFlowLM Q4NX (NPU2) format so they run on the AMD Ryzen AI NPU (XDNA2, e.g. Ryzen AI 300 series) with FastFlowLM instead of the CPU/GPU. All credit for the uncensoring goes to the source model. This repo only does the format conversion.
This repo uses the same layout as the official FastFlowLM/Qwen3.8-27B-NPU2. It runs on the official qwen3.8-mtp engine and kernels, and keeps the built-in MTP head for speculative decoding.
Summarized from the source model card, which has the full details:
attn.o_proj and mlp.down_proj of the main stack were modified; the MTP head was copied verbatim from the base.mlabonne/harmful_behaviors, non-thinking mode): base 98/100, uncensored 12/100.| File | Origin |
|---|---|
model.q4nx |
converted from the source's Q8_0 GGUF (MTP block included) |
config.json, tokenizer.json, tokenizer_config.json, chat_template.jinja |
from FastFlowLM/Qwen3.8-27B-NPU2; the chat template is identical to the source GGUF's |
vision_weight.q4nx |
from FastFlowLM/Qwen3.8-27B-NPU2; the source edit leaves the vision tower unchanged |
Converted with the Qwen3.8-27B converter added to the community FLM_Q4NX_Converter in PR #11:
python convert.py -i Qwen3.8-27B-Uncensored-Q8_0.gguf -o Qwen3.8-27B-Uncensored-NPU2
Checked against the official Qwen3.8-27B-NPU2/model.q4nx with tools/compare_q4nx.py:
o_proj/down_proj layers the abliteration edits. Every other tensor is 0.996–1.0000.Measured on a Ryzen AI 9 HX 370 with FLM 1.0.12, 4K context, reasoning off:
| Setup | Decode tok/s |
|---|---|
| This model | 1.9 – 2.8 |
| Official Qwen3.8-27B-NPU2 (same prompts) | 1.8 – 2.8 |
| This model + official DFlash2 drafter | 2.1 – 4.5 (code benefits most) |
The official Qwen3.8-27B-DFlash2-NPU2 drafter works with this base: acceptance length 3.49, against 3.61 with the official base.
Qwen3.8-27B-Uncensored-NPU2.
On Windows that is %USERPROFILE%\.flm\models\.hf download jgt87/Qwen3.8-27B-Uncensored-NPU2 --local-dir "%USERPROFILE%\.flm\models\Qwen3.8-27B-Uncensored-NPU2"
qwen3.8-mtp:27b first (flm pull qwen3.8-mtp:27b), or at least its kernels: this model reuses its xclbins/Qwen3.8-27B-NPU2 folder.model_list.json (in the FLM install folder) to a folder of your own. Add this entry under "models", cloned from the official qwen3.8-mtp → 27b entry:"qwen3.8-mtp-uncensored": {
"27b": {
"...": "everything from the official qwen3.8-mtp 27b entry, then:",
"name": "Qwen3.8-27B-Uncensored-NPU2",
"xclbin_folder": "Qwen3.8-27B-NPU2",
"url": "https://huggingface.co/jgt87/Qwen3.8-27B-Uncensored-NPU2",
"file_url": "https://huggingface.co/api/models/jgt87/Qwen3.8-27B-Uncensored-NPU2/tree/main"
}
}
For DFlash2 speculation, also add a clone of the qwen3.8-dflash2 → 27b entry under the key qwen3.8-dflash2-uncensored, with "base_model": "qwen3.8-mtp-uncensored:27b".set FLM_CONFIG_PATH=<your folder>\model_list.json
flm run qwen3.8-mtp-uncensored:27b
flm serve qwen3.8-dflash2-uncensored:27b
Don't add this model to
model_info.jsonwith the official file hashes, and don't runflm checkagainst such an entry. FLM treats a hash mismatch as corruption and deletes the file.