RedHatAI/GLM-5.3-Flash-NVFP4 (a NVFP4 quantization of zai-org/GLM-5.3-Flash) with 25% of its MoE experts structurally pruned with REAP (PRUNE method), produced with llmcompressor.
e_score_correction_bias
were sliced to matchconfig.json records the new expert count (n_routed_experts: 216); expert
indices are remapped contiguouslylayers.45) is left untouched, keeping
its original 288 FP8-quantized experts (Transformers ignores layers.45 when
loading, so this matches the source model's serving behavior)REAP scores each expert by the router-weighted mean of its output activation
norms over the calibration tokens routed to it,
S_j = mean(g_j * ||f_j||_2), using forward computation only (no gradients or
recovery training). This model was calibrated on all 2,048 samples of the
RazorCal
multi-domain calibration corpus; see the
REAP expert pruning example
for the calibration and pruning scripts.
from transformers import AutoProcessor, Glm5NextForConditionalGeneration
model = Glm5NextForConditionalGeneration.from_pretrained(
"inference-optimization/GLM-5.3-Flash-NVFP4-REAP25"
)
processor = AutoProcessor.from_pretrained(
"inference-optimization/GLM-5.3-Flash-NVFP4-REAP25"
)
model-00001-of-00010.safetensors 16 GBmodel-00002-of-00010.safetensors 15 GBmodel-00006-of-00010.safetensors 15 GBmodel-00004-of-00010.safetensors 15 GBmodel-00009-of-00010.safetensors 15 GBmodel-00008-of-00010.safetensors 15 GBmodel-00005-of-00010.safetensors 15 GBmodel-00003-of-00010.safetensors 15 GBmodel-00007-of-00010.safetensors 15 GBmodel-00010-of-00010.safetensors 8.1 GBmodel_mtp.safetensors 7.6 GBRedHatAI/GLM-5.3-Flash-NVFP4