Quantization Summary
Rather than applying round-to-nearest (RTN) directly to the MoE experts, all 42 MoE layers (layers 3 through 44) were quantized sequentially with calibration data:
- Calibration set: 640 sequences of 2,048 tokens (1,310,720 tokens total) mixed across four domains: 55% agentic coding, 20% chat and reasoning, 15% uncensored roleplay and creative writing, and 10% multilingual technical text.
- Expert quantization: A4-aware Block-32 GPTQ (
hessian_desc block order, 2 intra-block coordinate descent iterations, damping 0.01) combined with down_proj cross-covariance error compensation (down_qep_beta = 0.55, chosen via a controlled held-out sweep on layers 3 to 5).
- Precision map:
- MXFP4 (
W4A4, per-32 E8M0 scales, scale_calculation_mode: even): All 288 routed experts and the shared expert across MoE layers 3 to 44 (36,414 packed uint8 weight tensors + 36,414 E8M0 scale tensors).
- Block-128 FP8 (
fp8_e4m3): Dense MLP layers 0 to 2, sparse attention projections, and layer 45 MTP (924 weight tensors + 924 scale tensors).
- BF16 / FP32: Embeddings,
lm_head, vision tower, linear attention blocks, MoE routers, mHC parameters, and layer norms (1,432 tensors).
Held-Out Evaluation
All numbers below come from a strictly held-out evaluation split (zero overlap with the calibration set):
- LM & Logit Fidelity Split: 48 sequences of 2,048 tokens (98,304 tokens) across the same four domains.
- DFlash2 Speculative Decoding Split: 11 sequences of 768 tokens (950 draft blocks) evaluated with
incoai/GLM-5.3-Flash-DFlash2.
We compare three checkpoints derived from the same abliterated source weights: the FP8 reference, a naive Quark RTN MXFP4 quantization (no calibration), and this calibrated MXFP4 release.
Logit Fidelity and Perplexity
Table with columns: Metric, FP8 Reference, Naive Quark RTN MXFP4, Calibrated MXFP4 (This Release), Delta vs Naive RTN| Metric | FP8 Reference | Naive Quark RTN MXFP4 | Calibrated MXFP4 (This Release) | Delta vs Naive RTN |
|---|
| Mean KL vs FP8 | 0.00000 | 0.19589 | 0.16964 | -13.4% |
| p95 KL vs FP8 | 0.00000 | 0.63656 | 0.53532 | -15.9% |
| p99 KL vs FP8 | 0.00000 | 3.23295 | 2.81662 | -12.9% |
| Top-1 Agreement with FP8 | 100.00% | 87.19% | 88.52% | +1.33 pp |
| Top-1 in FP8 Top-8 | 100.00% | 98.92% | 99.07% | +0.15 pp |
| Held-out PPL (Overall) | 3.6892 | 3.7881 | 3.8087 | +0.0206 |
| PPL: Agentic Coding | 2.9964 | 3.0138 | 3.0253 | +0.0115 |
| PPL: Chat & Reasoning | 3.0024 | 3.0438 | 3.0573 | +0.0135 |
| PPL: Roleplay / Uncensored | 6.2409 | 6.4659 | 6.5623 | +0.0964 |
| PPL: Multilingual Tech | 4.1611 | 4.5203 | 4.5161 | -0.0042 |
Note on PPL vs KL: Mean KL drops 13.4%, tail KL (p95/p99) drops 13% to 16%, and greedy Top-1 token agreement with FP8 rises by 1.33 percentage points. Raw perplexity ticks up slightly relative to RTN because GPTQ with down_proj error compensation prioritizes matching the FP8 hidden-state trajectory and argmax distribution rather than smoothing low-probability tail logits on rare tokens.
Hidden-State Drift on DFlash2 Tap Layers (vs FP8)
Because DFlash2 conditions its draft tokens on target hidden states tapped at layers 5, 14, 24, 33, and 42, keeping hidden-state drift tight across depth matters for speculative acceptance:
Table with columns: Layer, Naive RTN Rel L2, Calibrated Rel L2, L2 Reduction, Naive RTN Cosine, Calibrated Cosine| Layer | Naive RTN Rel L2 | Calibrated Rel L2 | L2 Reduction | Naive RTN Cosine | Calibrated Cosine |
|---|
| Layer 05 | 0.11301 | 0.08036 | -28.9% | 0.99553 | 0.99693 |
| Layer 14 | 0.32451 | 0.30865 | -4.9% | 0.98664 | 0.98980 |
| Layer 24 | 0.23749 | 0.14079 | -40.7% | 0.90771 | 0.92360 |
| Layer 33 | 0.24902 | 0.16384 | -34.2% | 0.90234 | 0.91855 |
| Layer 42 | 0.26995 | 0.17617 | -34.7% | 0.92620 | 0.93965 |
| Layer 44 (Final) | 0.28111 | 0.19147 | -31.9% | 0.92346 | 0.94193 |
DFlash2 Acceptance Length (tau, 950 blocks)
Table with columns: Metric, FP8 Reference, Naive Quark RTN MXFP4, Calibrated MXFP4 (This Release)| Metric | FP8 Reference | Naive Quark RTN MXFP4 | Calibrated MXFP4 (This Release) |
|---|
Overall tau (self argmax) | 3.214 | 3.198 | 3.200 (99.6% of FP8) |
Overall tau (FP8 on-policy) | 3.171 | 3.209 | 3.200 |
Chat & Reasoning tau | 3.807 | 3.768 | 3.865 |
Agentic Coding tau | 3.122 | 3.191 | 3.126 |
Multilingual Tech tau | 3.260 | 3.249 | 3.225 |
Roleplay / Uncensored tau | 2.676 | 2.594 | 2.586 |
Deployment Notes
This checkpoint follows the exact Quark MXFP4 schema expected by recent ROCm vLLM and SGLang builds for GLM-5.3-Flash:
- Hardware target: Fits comfortably across 2x AMD MI355X (TP=2) with headroom for large KV caches and optional DFlash2 drafting.
- vLLM example (TP=2):
vllm serve AstoriasResearchInc/GLM-5.3-Flash-Abliterated-MXFP4 \ --tensor-parallel-size 2 \ --trust-remote-code
python3 -m sglang.launch_server \ --model-path AstoriasResearchInc/GLM-5.3-Flash-Abliterated-MXFP4 \ --tp 2 \ --trust-remote-code
Refer to the zai-org/GLM-5.3-Flash model card for recommended sampling parameters, chat template details, and multimodal input formatting.
Responsible and Fair Use Terms
This release is an abliterated version of GLM-5.3-Flash. Refusal behavior present in the original model has been substantially reduced, which means the model can respond to prompts that standard aligned models refuse, including sensitive, controversial, or potentially harmful topics.
By requesting access to, downloading, or using these weights, you agree to the following terms:
- No Warranty and No Liability: Astorias Research Inc. provides these model weights "as is", without warranties of any kind. Astorias Research Inc. takes no responsibility and assumes no liability for any outputs generated by the model, any decisions made using those outputs, or any downstream applications, services, or derivatives built with these weights.
- User Responsibility: You are solely responsible for how you deploy, fine-tune, prompt, and moderate this model. If you expose it to end users or external systems, you are responsible for implementing your own safety filters, guardrails, and content policies appropriate for your environment.
- Responsible and Fair Use: You agree not to use this model for unlawful activity, harm to minors, non-consensual intimate content, cyberattacks, biological/chemical/radiological weapons development, fraud, or harassment. Intended uses include alignment and refusal research, red-teaming, creative writing, private local assistants, and domain-specific evaluations where false-positive refusals interfere with legitimate work.
- Access Control: Access is manually reviewed. Astorias Research Inc. reserves the right to decline or revoke access requests that lack a clear legitimate use case or violate these terms.
Attribution and License
- Base Model: zai-org/GLM-5.3-Flash by Z.ai.
- Quantization & Release: Astorias Research Inc.
- License: Released under the MIT License, matching the upstream license of
zai-org/GLM-5.3-Flash.