serialization
1 trace
- _pickle.UnpicklingError: Weights only load failed — torch.load defaults to weights_only=True since PyTorch 2.6Loading a checkpoint that worked on PyTorch <= 2.5 now fails: Typical when the file contains a whole nn.Module, an optimizer/config object, a tensor subclass, argparse.Namespace, or NumPy scalars/dtypes. Fix: Best:…