SketchSSM calibration: GLM 5.3 Flash (NVFP4 weights)

calibration.pt is a portable SketchSSM calibration file for GLM 5.3 Flash. It contains the group-shared sketch basis and the Full-Gram allocation scores from which the per-head rank table and the ordered frames for any mean rank are derived. It contains no model weights.

Calibration weights

Collected with NVFP4 weights: RedHatAI/GLM-5.3-Flash-NVFP4 at revision 36c184c6cda000a481711306df5adde42f63321a (an NVFP4 checkpoint quantized with llm-compressor). The basis and the allocation scores depend on the weights, so use this file with these weights; for another precision or checkpoint, calibrate with that checkpoint.

Contents

Field Value
Base model GLM 5.3 Flash (KDA)
Recurrent layers 34
State heads per layer 64
Key dim K / value dim V 128 / 128
Basis groups per layer 64
Window W 16
Erase factor yes
Allocation rank cap 60
Basis omega float32, shape (34, 64, 60, 128)
File size 67,912,389 bytes

layer_ids lists the original recurrent-layer identifiers. The file loads with torch.load(..., weights_only=True). The offline calibration guide documents its keys.

Verified mean ranks

For these mean ranks, the derived tables equal the published bundle tables and the exported frames equal those of the bundle export path:

Mean rank Dense heads Sketch heads
3 0 2176
4 0 2176
7 2 2174
12 16 2160
28 383 1793

Other mean ranks are allocated with the same rule but have no stored table to compare with. manifest.json lists the SHA-256 of calibration.pt and these results.

Usage

With the SketchSSM repository, export the frames for a mean rank:

hf download SketchSSM/GLM-5.3-Flash-NVFP4 calibration.pt --local-dir calibration
python -m offline_calibration export --calibration calibration/calibration.pt \
  --mean-rank 7 --out frames.pt

With vLLM (requires the SketchSSM vLLM fork with calibration-file support):

vllm serve RedHatAI/GLM-5.3-Flash-NVFP4 --sketchssm SketchSSM/GLM-5.3-Flash-NVFP4 --sketchssm-mean-rank 7

How it was produced

From the public calibration bundle offline_calibration/example/glm_flash in the SketchSSM repository:

python -m offline_calibration package --bundle offline_calibration/example/glm_flash --out calibration.pt

package re-allocates every configured mean rank from the packaged contents and fails unless each table equals the bundle table.

License

This calibration file is released under the Apache License 2.0, like the SketchSSM repository. It is derived from the base model's weights, so use it under the base model's license as well.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for SketchSSM/GLM-5.3-Flash-NVFP4

Finetuned
(3)
this model