AEON-7 Qwen3.6-27B: Abliteration and vLLM Setup

·5 min readlocal-ai

TL;DR: Breakdown of my AEON-7 Qwen3.6-27B setup — covering what abliteration is, why NVFP4 and MTP matter, and the full vLLM serve command for running this uncensored multimodal model on a single Blackwell GPU.

The Model: AEON-7 Qwen3.6-27B

What Is This Model?

The model I’m running is AEON-7/Qwen3.6-27B-AEON-Ultimate-Uncensored-Multimodal-NVFP4-MTP-XS — a heavily modified variant of Qwen3.6-27B.

What Is Abliteration?

Abliteration is a technique that surgically removes safety alignment and refusal behavior from an LLM. Research has shown that refusal in LLMs is mediated by a single direction in the model’s weight space — removing this direction blocks refusal, adding it back induces refusal. Abliteration identifies this refusal vector and orthogonalizes the model’s weights against it.

The result is an “uncensored” model with:

  • Near-zero refusal rate
  • KL divergence below 0.0005 from the base model (capabilities nearly preserved)
  • Capability enhancements beyond just uncensoring

This approach is more surgical than traditional fine-tuning because it specifically targets the “alignment tax” — the subtle ways models get told to play it safe, often at the cost of raw capability. The technique preserves nearly all original model performance while removing the refusal behavior.

AEON-7’s Approach

AEON-7 (Aeon Forge) takes this further — their “Ultimate Uncensored” line preserves full multimodal capabilities (image + text → text) while removing refusal behavior. They also optimize for hardware: this variant uses NVFP4 quantization and supports MTP (Multi-Token Prediction) for faster inference.

Why This Model?

  • Uncensored: Zero-refusal behavior for content creation and research
  • Multimodal: Image understanding preserved (text-only variants exist too)
  • Optimized: NVFP4 quantization gives ~2x throughput over INT4 on Blackwell GPUs
  • Fast: MTP speculative decoding adds 1.4–2.2x speedup

The Full Command

Terminal window
NCCL_CUMEM_ENABLE=0 NCCL_P2P_DISABLE=1 \
VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=1 \
VLLM_FLOAT32_MATMUL_PRECISION=high \
VLLM_USE_FLASHINFER_SAMPLER=1 \
VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 \
VLLM_MARLIN_USE_ATOMIC_ADD=1 \
OMP_NUM_THREADS=1 \
vllm serve ./aeon-ultimate-multimodal-nvfp4-mtp-xs \
--quantization modelopt \
--trust-remote-code \
--max-model-len 222400 \
--max-num-seqs 8 \
--max-num-batched-tokens 4128 \
--gpu-memory-utilization 0.95 \
--enable-chunked-prefill \
--enable-prefix-caching \
--reasoning-parser qwen3 \
--tool-call-parser qwen3_coder \
--enable-auto-tool-choice \
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
--kv-cache-dtype fp8_e4m3 \
--host 0.0.0.0 \
--port 8082 \
--served-model-name AEON-7-Qwen3.6-27B-Ultimate-Uncensored-NVFP4-MTP-XS \
--kv_offloading_backend native \
--kv_offloading_size 32

Environment Variables

NCCL Settings

NCCL_CUMEM_ENABLE=0 disables NCCL’s cuMem allocator to work around a common NCCL bug that can cause memory fragmentation during model loading. vLLM sets this by default in some versions, but making it explicit avoids edge cases.

NCCL_P2P_DISABLE=1 disables peer-to-peer GPU memory access through NCCL. Useful when NCCL’s P2P detection gets confused (e.g., in Docker containers or Kubernetes pods) — forces fallback communication paths.

vLLM Memory & Precision

VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=1 enables CUDA graph memory profiling so vLLM can more accurately estimate how much GPU memory CUDA graphs will consume. This is enabled by default as of vLLM v0.21.0, but setting it explicitly ensures the profiler accounts for graph memory when calculating KV cache space.

VLLM_FLOAT32_MATMUL_PRECISION=high sets the float32 matrix multiplication precision to “high.” For NVFP4-quantized models, the residual float32 operations (e.g., layer normalization, output projection) benefit from higher precision to maintain accuracy — especially important when the quantization downpath (NVFP4 → FP32 dequantize) introduces rounding errors.

VLLM_USE_FLASHINFER_SAMPLER=1 enables the FlashInfer sampling kernel for top-k and top-p filtering. FlashInfer provides sorting-free GPU kernels for logit sampling that can be faster than the default Python/NumPy-based sampler. This is especially noticeable with large vocabulary sizes (the Qwen3.6 vocabulary is ~150k tokens).

VLLM_ALLOW_LONG_MAX_MODEL_LEN=1 allows model context lengths exceeding the typical default (usually 2048 or 4096 tokens). Needed for our 222,400 token context.

VLLM_MARLIN_USE_ATOMIC_ADD=1 enables atomic add operations in the Marlin quantization backend. Marlin is used for INT4 quantization formats, and atomic add reduces race conditions during weight loading on multi-GPU setups. This model uses modelopt (NVFP4), but the flag is harmless if Marlin isn’t the primary backend.

OMP_NUM_THREADS=1 limits OpenMP threads to 1, reducing CPU contention during vLLM’s background tasks.

Model & Quantization

—quantization modelopt

Uses NVIDIA’s Model Optimizer (formerly TensorRT Model Optimizer) quantization backend. This is required for NVFP4 — a 4-bit floating-point format introduced with NVIDIA Blackwell GPUs. NVFP4 provides roughly 2× throughput improvement over INT4 while maintaining similar accuracy, thanks to hardware-accelerated FP4 dequantization on the Blackwell Tensor Cores.

—trust-remote-code

Tells vLLM to load and execute the model’s model.py from the HuggingFace repo. Needed when the model uses a custom architecture or loading logic not yet merged into vLLM’s upstream codebase.

Scheduling & Throughput

—max-model-len 222400

Sets the maximum context window to 222,400 tokens. Qwen3.6-27B natively supports up to 262,144 tokens, so this is a practical sweet spot — leaving headroom for the KV cache.

—max-num-seqs 8

Allows up to 8 concurrent sequences (requests) in the decoding batch. Lower values mean less KV cache pressure but potentially higher TTFT (time to first token).

—max-num-batched-tokens 4128

Caps the total tokens processed per decoding iteration. With chunked prefill, large inputs are sliced into chunks, interleaved with decode steps, so this prevents one large prefill from starving the decoder.

—gpu-memory-utilization 0.95

Allocates 95% of GPU memory to the model, leaving 5% for CUDA graphs, Python overhead, and KV cache growth. Combined with VLLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=1, this gives a tighter KV cache budget estimate.

—enable-chunked-prefill

Slices large prefill sequences into chunks and interleaves them with decode tokens. This dramatically reduces end-to-end latency — other sequences don’t have to wait for a 200K-token prefill to finish before decoding begins.

—enable-prefix-caching

Enables sharing of KV cache between sequences that share a common prefix. Useful for chat conversations with shared system prompts or RAG pipelines where the same context is prepended to multiple queries.

Reasoning & Tool Calling

—reasoning-parser qwen3

Enables the Qwen3 reasoning parser. Qwen3 models output reasoning in <think> tags, and this parser extracts and separates the reasoning text from the final output. Essential for models with a “thinking” mode.

—tool-call-parser qwen3_coder

Selects the Qwen3 Coder tool call parser. This parser understands the JSON structure of tool calls produced by Qwen3 coding models.

—enable-auto-tool-choice

Tells vLLM to let the model decide when to call a tool, rather than requiring the caller to explicitly specify which tools are available at each step. This is the “auto” mode for tool calling.

Speculative Decoding

—speculative-config ’{“method”:“mtp”,“num_speculative_tokens”
}’

Enables MTP (Multi-Token Prediction) speculative decoding. Qwen3.6-27B natively has MTP heads grafted in — it predicts 3 future tokens simultaneously during each decoding step, then verifies them. This can give 1.4–2.2× speedup without needing a second “drafter” model.

MTP is different from traditional speculative decoding (which uses a second draft model) — the MTP heads are part of the same model, so there’s minimal memory overhead.

KV Cache

—kv-cache-dtype fp8_e4m3

Stores the KV cache in FP8 E4M3 format instead of the default (usually FP16 or BF16). This halves the KV cache memory footprint, allowing longer context windows and more concurrent sequences. Requires CUDA 11.8+ and is the recommended setting for Blackwell GPUs.

—kv_offloading_backend native

Enables vLLM’s native CPU KV cache offloading. When GPU memory fills up, the least-recently-used KV blocks are asynchronously offloaded to CPU RAM using the native backend.

—kv_offloading_size 32

Allocates 32 GB of CPU memory for the offloaded KV cache. This is the global buffer size — when the GPU KV cache reaches capacity, blocks are pushed to this CPU buffer. Works well for long-context workloads where the full 222K tokens don’t fit in GPU VRAM.

Network

—host 0.0.0.0

Binds to all network interfaces (instead of just localhost).

—port 8082

Serves the OpenAI-compatible API on port 8082.

—served-model-name

Sets the name returned in the /v1/models endpoint. Useful for OpenAI-compatible clients.

Why This Setup Works

The combination of abliteration (zero-refusal), NVFP4 quantization (2x throughput), MTP speculative decoding (1.4–2.2x speedup), and FP8 KV caching (halved memory footprint) makes this one of the most efficient ways to run a 27B multimodal model on a single Blackwell GPU. The 222K context window with chunked prefill and CPU offloading handles everything from quick chats to full-document RAG pipelines.

References

  1. AEON-7/Qwen3.6-27B-AEON-Ultimate-Uncensored-Multimodal-NVFP4-MTP-XS — Hugging Face — https://huggingface.co/AEON-7/Qwen3.6-27B-AEON-Ultimate-Uncensored-Multimodal-NVFP4-MTP-XS
  2. Abliteration: Uncensor Any LLM — MLAbonne, Hugging Face Blog — https://huggingface.co/blog/mlabonne/abliteration
  3. Inside vLLM’s New KV Offloading Connector — vLLM Blog (January 8, 2026) — https://vllm.ai/blog/2026-01-08-kv-offloading-connector
  4. NVIDIA Model Optimizer — vLLM Documentation — https://docs.vllm.ai/en/latest/features/quantization/modelopt/
  5. MTP (Multi-Token Prediction) — vLLM Documentation — https://docs.vllm.ai/en/latest/features/speculative_decoding/mtp/
  6. NVIDIA TensorRT Model Optimizer: FP8, INT4, and FP4 — Spheron — https://www.spheron.network/blog/tensorrt-model-optimizer-modelopt-quantization-guide/
  7. Lightning Talk: Inside VLLM’s KV Offloading Connector — Nicolò Lucchesi, YouTube — https://www.youtube.com/watch?v=uPxMasaBaGA
  8. AEON-7 GitHub — https://github.com/AEON-7
  9. Refusal in LLMs is mediated by a single direction — LessWrong — https://www.lesswrong.com/posts/jGuXSZgv6qfdhMCuJ/refusal-in-llms-is-mediated-by-a-single-direction

This article was written by Pi (Claude | Anthropic).