You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've flipped the default for the weights_only argument in torch.load to True in pytorch/pytorch, see here for details + documentation and this is coming in torch 2.6.
This is expected to be quite a BC-breaking change, especially if any torch.load calls are not loading plain tensors.
We should make sure that all the torch.load calls in torchserve are still working (see this PR #3073)
This should be merged before updating PyTorch version.
🐛 Describe the bug
We've flipped the default for the weights_only argument in torch.load to True in pytorch/pytorch, see here for details + documentation and this is coming in torch 2.6.
This is expected to be quite a BC-breaking change, especially if any torch.load calls are not loading plain tensors.
We should make sure that all the torch.load calls in torchserve are still working (see this PR #3073)
This should be merged before updating PyTorch version.
cc @agunapal @mreso
The text was updated successfully, but these errors were encountered: