Skip to content

Conversation

sahara-smile
Copy link

Starting with torch 2.6, the default value of the weights_only parameter in the torch.load function will be changed to True.
https://docs.pytorch.org/docs/stable/notes/serialization.html#torch-load-with-weights-only-true
Looking ahead, I have explicitly set it to False.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant