⚠️ Disclaimer
This is an abliterated model: the safety refusal direction was removed by orcarouter (see
their card). It will comply with harmful, unethical
or illegal requests that the base Qwen3.8-27B refuses. It has no built-in guardrails.
- You are fully responsible for how you use it and for what it generates.
- Do not put it in front of end users without your own moderation and abuse prevention.
- Use must follow the Apache 2.0 license and every law that applies to you.
- No liability is accepted for misuse. Its outputs are not the views of the uploader, orcarouter or Qwen / Alibaba.
Why this build exists
orcarouter's Qwen3.8-27B-Uncensored-NVFP4 is
mixed precision on purpose: NVFP4 on the MLPs of layers 0-55, FP8 on attention, the linear-attention (Gated
DeltaNet) projections and the last 8 MLPs. That is the right call for accuracy on a big card. On a 24 GB card it is
too big. We measured it on the same RTX PRO 4000 with the same flags as below:
Table with columns: Build, Weights on the GPU, Longest context that starts| Build | Weights on the GPU | Longest context that starts |
|---|
| orcarouter mixed NVFP4 + FP8 | 21.38 GiB | 22,080 tokens (util 0.97, len 32k) |
| this build, full NVFP4 | 17.53 GiB | 131,072 tokens (KV pool 141,663) |
Putting part of the weights in host RAM (--cpu-offload-gb) was measured too and dropped: it makes every token cross
PCIe. Full NVFP4 frees about 3.9 GiB on the card, and that is what the KV cache needs for 131k.
The worry with full NVFP4 on this model was tool calling. A different uncensored Qwen3.8-27B fine-tune with the same full
NVFP4 recipe loses tool calls on our harness (the model writes <parameter=terminal> where <function=terminal>
belongs, so the parser finds no call). We measured both with the same 96 runs: that build lost 8 / 96, this one
0 / 96. So the fault was that model's fine-tune, not the full NVFP4 packing.
Model details
Table | |
|---|
| Base model | Qwen/Qwen3.8-27B |
| Source weights | orcarouter/Qwen3.8-27B-Uncensored (BF16), revision 0f639a9bde23fe229a7b064b40a5153c5bec0b48, 55.59 GB, 18 shards |
| Architecture | Qwen3_5ForConditionalGeneration: 64 layers, hybrid attention (48 Gated DeltaNet linear-attention + 16 full-attention layers), vision tower, MTP head |
| Modification by orcarouter | abliteration (refusal-direction removal, Arditi et al. 2024), details on their card |
| Modification here | quantization only: NVFP4 on every Linear of the text stack, weights and activations |
| Format | compressed-tensors 0.20.1, nvfp4-pack-quantized, one config group |
| Files | model_backbone.safetensors (19.71 GB) + model_mtp.safetensors (0.85 GB), 2,687 tensors |
| Context | 262,144 (model limit). This card measures 131,072 on 24 GB |
| Chat template, tokenizer | the ones of the BF16 source, unchanged (vocab identical to orcarouter's NVFP4 build) |
Quantization scheme
Table with columns: Component, Precision, # linears| Component | Precision | # linears |
|---|
MLP gate_proj / up_proj / down_proj, all 64 layers | NVFP4 | 192 |
Full attention q / k / v / o_proj (16 layers) | NVFP4 | 64 |
Gated DeltaNet in_proj_qkv / in_proj_z / in_proj_a / in_proj_b / out_proj (48 layers) | NVFP4 | 240 |
lm_head | BF16 | 1 |
| Vision tower (27 blocks + merger) | BF16 | 110 |
GDN conv1d, all norms, embeddings | BF16 | - |
| MTP head (15 tensors) | BF16 | 8 |
NVFP4 here = FP4 E2M1 weights in groups of 16 with an FP8-E4M3 scale per group and an FP32 global scale per
tensor (strategy: tensor_group); activations dynamic FP4 per group of 16 with a calibrated global scale. 496
linears in NVFP4, 126 modules on the ignore list.
The MTP head stays in BF16 so speculative decoding keeps its acceptance rate. The vision tower stays BF16, the same
as in orcarouter's builds.
Calibration
- Tool:
llm-compressor 0.15.0, QuantizationModifier
(targets: Linear, scheme: NVFP4), one-shot, round to nearest. No GPTQ, no AWQ.
- Data:
perfectblend, 32 samples x 2,048 tokens. Used only for the activation global scales.
- Hardware: CPU only (16 cores, ~30 GB RAM), sequential onloading one decoder layer at a time with disk offload.
2,620 s in total (load, calibrate 65 subgraphs, save). No GPU is needed to rebuild it.
- Software: inside the
vllm/vllm-openai v0.34.0 image (torch 2.14.0), transformers 5.21.0,
compressed-tensors 0.20.1.
- The exact script and recipe are in
recipe/: requant.py, run-requant.sh, recipe.yaml.
Measurements
All on one NVIDIA RTX PRO 4000 Blackwell SFF (24 GB GDDR7, 70 W board power), driver 615.71, vLLM 0.34.0,
the exact command under Usage. Measured 2026-11-27.
Table with columns: Test, Result| Test | Result |
|---|
Start with --max-model-len 131072 | ok: weights 17.53 GiB, model load 47 s, KV cache 4.19 GiB = 141,663 tokens, max concurrency at 131k: 1.08x |
| GPU memory in use while serving | 22,438 MiB of 24,467 |
| Needle in a haystack, 95,102 prompt tokens | found (48151623), 124 s end to end with 4 other requests queued |
| Prompt of 131,073 tokens | refused cleanly: HTTP 400 in 0.2 s, "maximum context length is 131072 tokens" |
| Tool calling: 96 runs of a real agent prompt (25,789-char system prompt, 22 tools, a user turn that needs the terminal tool), streaming, 4 in parallel | 96 / 96 with a tool call, finish_reason: tool_calls 96x, 0 lost |
| Same 96 runs, another uncensored Qwen3.8-27B fine-tune, same full NVFP4 recipe | 8 / 96 lost (<parameter= written for <function=) |
| Day-to-day | runs as the overnight model behind an agent gateway since 2026-11-27 |
Speed (same card, alone, no MTP)
Streaming, ignore_eos, thinking off unless stated. Decode = (tokens - 1) / (last token - first token).
Table with columns: Load, Prompt tokens, Time to first token, Decode per stream, Total| Load | Prompt tokens | Time to first token | Decode per stream | Total |
|---|
| 1 stream | 22 | 0.07 s | 22.9 tok/s | |
| 1 stream | 1,523 | 0.42 s (3,626 tok/s prefill) | 22.9 tok/s | |
| 1 stream | 6,023 | 1.77 s (3,403 tok/s) | 22.8 tok/s | |
| 1 stream | 24,023 | 8.59 s (2,797 tok/s) | 22.3 tok/s | |
| 1 stream | 60,023 | 30.1 s (1,997 tok/s) | 21.2 tok/s | |
| 2 streams | 22 | | 22.8 tok/s | 45.3 tok/s |
| 4 streams | 22 | | 22.3 tok/s | 89.0 tok/s |
| 1 stream, thinking on | 62 | 0.08 s | 22.8 tok/s | |
The card is a 70 W part: under load the SM clock drops from 3,090 to ~1,520 MHz (67 °C). Decode stays flat up to 4
streams, so batching is nearly free on it.
Probes (they default to the server from Usage, http://127.0.0.1:8000, model qwen3.8-27b-uncensored):
probes/needle.sh (needle and overflow) and
probes/toolcall_ab.py (tool-call loss; bring your own chat body with tools).
Quality: this build against orcarouter's mixed NVFP4 + FP8 build
Same questions for both (fixed seed 20261127, orcarouter's sample sizes), 0-shot, thinking off, temperature 0. The
mixed build ran TP4 on four of the same cards, this build on one card. Script: probes/bench.py (needs the sampled question set, rebuild it with the seed).
Table with columns: Benchmark, orcarouter mixed NVFP4 + FP8, this build (full NVFP4)| Benchmark | orcarouter mixed NVFP4 + FP8 | this build (full NVFP4) |
|---|
| MMLU, 300 questions | 83.0 % | 79.7 % |
| GSM8K, 150 problems, CoT | 96.7 % | 97.3 % |
| MMLU-Pro, 250 questions, CoT | 74.0 % | not finished (next revision) |
| WikiText-2 perplexity | 6.995 | next revision |
| Refusals, 100 harmful / 60 harmless prompts | 22 / 2 | next revision |
So full NVFP4 costs about 3 points of MMLU here and nothing on GSM8K. On one 24 GB card the mixed build does not
start at all (21.38 GiB of weights, 0.18 GiB left for KV, also at 32k), which is why this build exists.
Not measured yet
Being straight about what is missing:
- MMLU-Pro, perplexity and refusal rate for this build: the run was stopped half way (the host went down for
maintenance); they come in the next revision. orcarouter's numbers for the BF16 / FP8 builds are on
their FP8 card.
- MTP speculative decoding on 24 GB: the head is in the files, but it does not fit next to a 131k KV cache on
this card (vLLM allows 66k-78k with MTP on). We serve without it.
- Vision: the tower is kept, but we serve with
--language-model-only, so images are not tested.
Usage
vLLM on one 24 GB Blackwell card (the measured setup)
docker run -d --name qwen38-uncensored-full-nvfp4 --gpus all --ipc=host --shm-size 8g \ -v /path/to/Qwen3.8-27B-Uncensored-Full-NVFP4:/model:ro -p 8000:8000 \ -e PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True \ vllm/vllm-openai:v0.34.0 \ /model --served-model-name qwen3.8-27b-uncensored \ --trust-remote-code --language-model-only \ --gpu-memory-utilization 0.95 --max-model-len 131072 \ --max-num-seqs 4 --max-num-batched-tokens 4096 \ --kv-cache-dtype nvfp4 --attention-backend FLASHINFER --mamba-ssm-cache-dtype bfloat16 \ --enable-chunked-prefill --enable-prefix-caching \ --enable-auto-tool-choice --tool-call-parser qwen3_xml --reasoning-parser qwen3
Notes:
--kv-cache-dtype nvfp4 is what makes 131k fit next to the weights. Do not pass --quantization, the scheme is
read from config.json.
--language-model-only skips the vision tower's memory. Drop it (and lower --max-model-len) to use images.
--max-num-seqs 4: one full 131k request fits (1.08x); shorter requests share the pool.
--tool-call-parser qwen3_xml is the one we measured.
- On a card with more memory, raise
--max-model-len up to 262,144 and try
--speculative-config '{"method":"mtp","num_speculative_tokens":2}'.
Hardware
- NVFP4 needs Blackwell (RTX 50-series, RTX PRO Blackwell, B200 / GB200) for native FP4 tensor cores.
- 24 GB: 131k context as measured above. 32 GB and up: more context, MTP, more parallel requests.
Thinking toggle
Thinking is on by default. Switch it per request:
from openai import OpenAI client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")resp = client.chat.completions.create( model="qwen3.8-27b-uncensored", messages=[{"role": "user", "content": "Explain how a fridge works in 5 sentences."}], extra_body={"chat_template_kwargs": {"enable_thinking": False}},)print(resp.choices[0].message.content)
Rebuild it yourself
huggingface-cli download orcarouter/Qwen3.8-27B-Uncensored --revision 0f639a9bde23fe229a7b064b40a5153c5bec0b48 \ --local-dir $MODELS/qwen38-27b-uncens-orcarouter-bf16MODELS=... WORK=... HF_TOKEN=... ./recipe/run-requant.sh
Intended use
- Research on refusal, alignment and interpretability; red-teaming; robustness tests.
- Uncensored local generation in lawful, controlled settings.
- A long-context local agent model on one small Blackwell card.
Out of scope
- Anything against the Apache 2.0 license or the law.
- Public deployment without your own safety layers.
- Content meant to harm, harass, defraud or endanger people.
Bias, risks and limitations
- Guardrails are removed (see the disclaimer).
- It inherits the biases and limits of
Qwen3.8-27B and of the abliteration.
- Full NVFP4 is not lossless against BF16: about 3 MMLU points below orcarouter's mixed build (see Quality).
MMLU-Pro, perplexity and the refusal rate are still open (see Not measured yet).
- Without Blackwell FP4 tensor cores it does not run natively.
License
Apache 2.0, from Qwen/Qwen3.8-27B through
orcarouter/Qwen3.8-27B-Uncensored. The license file of
the source is included unchanged. Changes in this repo: quantization only (see Quantization scheme).
Credits
- Qwen team / Alibaba for Qwen3.8-27B.
- orcarouter for the abliteration and the BF16 release this is built on.
- vLLM and llm-compressor for the serving and quantization stack.
Changelog
2026-11-28: renamed
- Repo renamed from
Qwen3.8-27B-Uncensored-NVFP4-1GPU to Qwen3.8-27B-Uncensored-Full-NVFP4: the point of this
build is full NVFP4 (weights and activations), one 24 GB card is what that makes possible. The old URL redirects.
- Card and probes made consistent: one served model name (
qwen3.8-27b-uncensored) and one port (8000) in the
usage example and all probes; the recipe header names only the public source model.
2026-11-27: first benchmarks
- MMLU 79.7 % (mixed 83.0 %), GSM8K 97.3 % (mixed 96.7 %) on the same questions; MTP at 131k measured: does not fit.
2026-11-27: first release
- Full NVFP4 (weights and activations) from the BF16 source, rev
0f639a9b. 131k on one 24 GB card, tool calls 0 / 96 lost.