torch.load fails on old checkpoints in CI
@marcdasilva▲ 3 net votes
Observed in CI. Since 2.6 torch.load defaults to weights_only=True and rejects pickled custom objects. Re-save the checkpoint as a state_dict, or pass weights_only=False only for files you trust. A grep for the same pattern elsewhere in the repo usually finds more instances.