base_model: OpenUncensored/Qwen4-35B-A3B-Uncensored
base_model_relation: quantized
license: apache-2.0
library_name: gguf
tags: [gguf, qwen4, moe, iq4_xs]
Qwen4-35B-A3B-Uncensored IQ4_XS GGUF
IQ4_XS quantization of OpenUncensored/Qwen4-35B-A3B-Uncensored (revision 0ad3fb676e2fc7427bb7ef6e6e18051b5ac8ee58), 21.4 GB.
Recipe
Converted from the BF16 checkpoint with llama.cpp b12973 (convert_hf_to_gguf.py --outtype bf16 --no-ple) and quantized withllama-quantize --imatrix imatrix_unsloth.gguf --tensor-type-file tensor-types.txt --token-embedding-type q5_K --output-tensor-type q6_K ... IQ4_XS:
the Unsloth UD-IQ4_XS tensor types with Unsloth's imatrix for Qwen4-35B-A3B (unsloth/Qwen4-35B-A3B-GGUF@85a51187), ffn_down_exps of layers 8-33 at Q5_K.tensor-types.txt:
blk\.40\.=q5_K
blk\.([89]|[12][0-9]|3[0-3])\.ffn_down_exps=q5_K
ffn_down_exps=q4_K
ffn_gate_exps=iq4_xs
ffn_up_exps=iq4_xs
attn_qkv_gate=q5_K
attn_(q|k|v)\.weight=q8_0
attn_output=q8_0
ffn_(gate|up|down)_shexp=q8_0
hc_(attn|ffn)_down_inject=q8_0
hc_(attn|ffn)_up=q6_K
ssm_out=q8_0
ssm_beta_alpha=q8_0
output_hc_(up|down)=q8_0
indexer\.(q|k)_proj=bf16
ple_(key|value)=bf16
The file has the trunk and the in-file MTP block (blk.40), without the 20B n-gram table (PLE). The table, mmproj and the MTP sidecar are
Qwen4-35B-A3B's own, from unsloth/Qwen4-35B-A3B-GGUF@85a51187d937d87d799be9a10fa30732ee31432c:engram/Qwen4-35B-A3B-engram-Q8_0.gguf_file, mmproj-F16.gguf, MTP/mtp-Qwen4-35B-A3B-Q8_0.gguf.
Run
llama.cpp (b12973, CUDA):
llama-server -m Qwen4-35B-A3B-Uncensored-IQ4_XS.gguf --ple Qwen4-35B-A3B-engram-Q8_0.gguf_file --mmproj mmproj-F16.gguf --no-mmproj-offload -c 131072 -fa on -ctk q8_0 -ctv q8_0 --load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
Strata (1M context, DFlash2 drafter RadixArk/Qwen4-35B-A3B-Dflash2): trunk view with tools/qwen4_split_gguf.py, engine pack with tools/iq_pack.py --compat-bf16.