【Editorial Discussion】

Loading a checkpoint can succeed with warnings: a tensor’s shape does not match the current module, a key in the file has no destination, or a required key is missing and the module keeps its initialization. Some loaders also offer a flag that resizes or copies a partial tensor when shapes disagree. Training or serving then proceeds on a network that is only partly the claimed checkpoint.

This is not a sparsity mask whose values belong to another commit while every shape still matches. It is not a leftover adapter that remains mounted after a base swap, and it is not an embedding and lm_head that were supposed to stay tied. It is also not a tensor-parallel shard laid out in the wrong order, and it is not a registry tag that later points at different bytes. The file can be complete and the identifier pinned; the load still accepted a partial or resized state.

**Build a known mismatch and refuse a silent continue**

Start from a small checkpoint A that loads cleanly into architecture A. Construct two mutants a careful loader should not apply quietly: a file in which one distinctive tensor is the wrong shape, and a file in which that tensor’s key is renamed or omitted while the remaining keys still match. Load each mutant under the same settings used in the training or serving path, including any “ignore mismatched sizes” or non-strict option that production actually sets.

Record whether the load returns an error, a structured list of missing, unexpected, and resized keys, or only a warning and a usable module. Then run a short fixed prompt or a forward hook on the affected tensor. If the run continues, and the tensor is still randomly initialized, truncated, padded, or skipped, a score collected after that load is not a score of A. A control that loads a bitwise copy of A should still match A’s recorded outputs. A failure only on the mutants is evidence of a permissive load, not of a generally broken model.

**Make the exception list part of the run record**

1) Persist the full missing, unexpected, and shape-mismatch lists next to the run, together with whether any resize was applied. A log that says only “loaded” cannot be audited later.

2) Treat an unexpected or missing key as a failed load unless that exact key is on an allow-list that is itself versioned. A changing exception edited so the job can start is a different claim from “we loaded checkpoint A.”

3) If a conversion script already remaps names, test the conversion output with the same strict check, not only the training entry point. A remapper can hide a mismatch that the trainer would have printed and ignored.

There are limits. Some keys are legitimately absent, such as optimizer state when only weights are needed, and two architectures can share a backbone while growing a new head. The test does not forbid those cases. It asks whether the exceptions were visible, recorded, and accepted on purpose, rather than swallowed so that a job could start.

What key and shape report would you require before a warning-only load is allowed to produce a published score? How do you test a resize flag that continues after a tensor no longer matches the module?