license: mit
base_model: dealignai/GLM-5.3-Flash-UNCENSORED-FP8
base_model_relation: quantized
library_name: exllamav3
pipeline_tag: text-generation
tags:
- exl3
- exllamav3
- tensorfold
- glm
- moe
- uncensored
- 4bpw
GLM-5.3-Flash-UNCENSORED-EXL3-4bpw (mcg)
A 4.0 bpw EXL3 quantization ofdealignai/GLM-5.3-Flash-UNCENSORED-FP8,
built for TensorFold
on two NVIDIA DGX Sparks (GB10, TP=2).
Only the routed experts are quantized, including the MTP layer's experts. Every other tensor is BF16.
The tensor layout matches the other 4-bit GLM-5.3-Flash TensorFold checkpoints, so the
Python and
Zig TensorFold kits load it unchanged.
Uncensored model. The source has had its refusal behaviour removed. It will comply with requests a
stock model declines, so you are responsible for how you use it. It was built for authorised security
testing and coding-agent work.
How it was made
| Source | dealignai/GLM-5.3-Flash-UNCENSORED-FP8 (dealignai "CRACK" abliteration of zai-org/GLM-5.3-Flash) |
| Quantizer | exllamav3 v1.6.0 convert.py, stock calibration set |
| Settings | -b 4.0 -cb mcg (4.0 bpw trellis, mcg codebook) |
| Quantized | routed experts (gate_proj / up_proj / down_proj) in every MoE layer and the MTP layer |
| Kept in BF16 | attention, shared experts, dense MLP, embeddings, lm_head, eh_proj, norms, vision tower. FP8 source tensors are dequantized with their block scales. |
| Tensors | 150,226 (21 safetensors shards, ~176 GB / 164 GiB) |
Calibration ran on the dealignai weights themselves. No scales were borrowed from a stock-model
calibration.
Checks done after conversion:
- Every MoE layer's experts are
mcg-coded at 4.0 bpw. - The grafted expert tensors are bit-identical to the converter's output.
- Non-expert tensors that the abliteration did not touch are bit-identical to an independent BF16
dequantization of the same FP8 source.
Chat template and generation config
chat_template.jinja is the GLM-5.3-Flash template that TensorFold's vision path expects.
dealignai's newer template is included as chat_template.dealign.jinja. TensorFold's Python kit rejects
it with vision on ("chat template has no media branch"), and in our tests it did not change capability
scores.
generation_config.json has no repetition_penalty. TensorFold ignores that field anyway. dealignai's
original is included as generation_config.dealign.json.
Quantization quality: KL divergence vs the FP8 source
Measured with exllamav3 eval/model_diff.py against dealignai/GLM-5.3-Flash-UNCENSORED-FP8
(25 rows × 2,048 tokens). Lower KL is better; top-1 is how often both models pick the same next token.
| Model | KL vs dealignai FP8 (nats) | Top-1 agreement |
|---|---|---|
| This quant | 0.054 | 92.6% |
Benchmarks (2× DGX Spark, TensorFold, TP=2, PARALLEL=8)
Decode speed in tok/s for three prompt types: structured / coding / prose. Speed depends on how often
the DFlash2 draft tokens are accepted, which varies with content type.
| Kit | c=1 (per stream) | c=4 (total) | c=8 (total) |
|---|---|---|---|
| TensorFold Python v0.6.0 | 107.1 / 76.9 / 57.9 | 303.8 / 223.0 / 177.4 | 430.6 / 331.7 / 272.5 |
| TensorFold Zig (recipe 1104) | 96.3 / 61.1 / 45.1 | 233.5 / 140.9 / 121.2 | 241.4 / 186.2 / 173.9 |
The two kits store the dense (non-expert) layers at different precision. The Python kit uses 4-bit
(DENSE=q4). The Zig kit uses 8-bit (DENSE=q8, HEAD=q8), which trades speed for quality.
On our pentest-agent suite the model scores 43 / 43 at reasoning_effort=high. The suite covers
code generation checked by running the code, tool calling, multi-step tool chaining and reasoning.
It completed 18 / 18 seeded multi-step tool chains. It invented 0 CVE ids on a fabrication trap,
and refused 0 authorised pentest prompts. The full score and the chain result need the first-step
tool-call guard described below.
Known issue: first-step tool calls
When tools are offered, the model sometimes writes its plan as text ("no tool needed") instead of making
the first tool call. The Python kit's no-call guard fixes this: with the settings below it completed 18/18
chains, and it added no tool calls to text-only prompts. Keep reasoning_effort at high.
# scripts/local.sh
export TF_GLM_NO_CALL_NUDGE='
(The offered tools act on the target for you: a request you would send, a command you would run, you can send or run yourself with them. If one of them can take the first step, call it now in this reply instead of describing the plan; answer in text only if none applies.)'
export TF_GLM_NO_CALL_MIN_REASONING_CHARS=60
Usage (TensorFold kits)
Setup is the same for both kits: change the model id in scripts/local.sh.
MODEL_ID=d3vilbug/GLM-5.3-Flash-UNCENSORED-EXL3-4bpw
The stock incoai/GLM-5.3-Flash-DFlash2 drafter works unchanged.
Credits
- zai-org/GLM-5.3-Flash: the base model (MIT).
- dealignai: the uncensored FP8 weights.
- turboderp / exllamav3: the EXL3 format and quantizer (MIT).
- MiaAI-Lab TensorFold: the DGX Spark inference kits.
- neko-legends: the reference layout and chat template used for
compatibility checks.
License
MIT, following the base model and the source weights.