Expand description
2026-09-25: The Kimi K3 ModelWeightLoader: binds BF16 or FP32 checkpoints, and packed
MXFP4 experts only when K3_ALLOW_MXFP4=1.
Owner: model-engine Kimi K3 loader. Invariants:
- Every
load_*method exceptload_mtp_weights(which returnsOk(None)) callsrefuse_mxfp4before it binds anything.
Structs§
- Kimi
K3Dry Run - 2026-09-25: Result of walking a K3
weight_map. In a returned reportmissing_text_classesandunknown_keysare always empty: either one being non-empty is an error instead. - Kimi
K3Weight Loader
Functions§
- dry_
run_ index_ json - 2026-09-25: Parse a safetensors
index.jsonand dry-run itsweight_map. - dry_
run_ weight_ map - refuse_
mxfp4 - 2026-09-25: Fail when a tensor name in
storecontainsweight_packedandK3_ALLOW_MXFP4is not1.