license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen4-35B-A3B/blob/main/LICENSE
base_model:
- OpenUncensored/Qwen4-35B-A3B-Uncensored
- Qwen/Qwen4-35B-A3B
pipeline_tag: image-text-to-text
library_name: transformers
tags: - qwen4
- qwen4_moe
- moe
- fp8
- w8a8
- uncensored
- abliterated
- vision-language
Qwen4-35B-A3B-Uncensored-FP8
FP8 W8A8 quantization of OpenUncensored/Qwen4-35B-A3B-Uncensored, following the exact quantization format and scope of official Qwen/Qwen4-35B-A3B-FP8.
Quantization Scope
- Format: FP8 E4M3FN W8A8 (
quant_method: "fp8",activation_scheme: "dynamic",weight_block_size: [128, 128]). - Quantized to FP8:
- MoE Routed Experts (
model.language_model.layers.{0..39}.mlp.experts.{0..255}.{gate_proj,up_proj,down_proj}): 128×128 block-wise FP8 weights + FP32weight_scale_inv. - PLE Lookup Table (
model.language_model.layers.1.ple.ple_embedding.ngram_embedding.shard_{0..127}.weight): FP8 weights + BF16 globalweight_scale. - MTP Routed Experts (
mtp.layers.0.mlp.experts.{0..255}.{gate_proj,up_proj,down_proj}): 128×128 block-wise FP8 weights + FP32weight_scale_inv.
- MoE Routed Experts (
- Preserved in Original Precision (BF16/FP32):
- All other weights including full/linear attention, shared experts, routers/gates, hyper-connection mixers, PLE projections/conv/norms, MTP attention/shared_expert/fc, vision tower,
embed_tokens, andlm_head.
- All other weights including full/linear attention, shared experts, routers/gates, hyper-connection mixers, PLE projections/conv/norms, MTP attention/shared_expert/fc, vision tower,
Serving with vLLM
vllm serve inkOrCloud/Qwen4-35B-A3B-Uncensored-FP8 \
--trust-remote-code \
--enable-prefix-caching \
--reasoning-parser qwen4 \
--speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'