Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/SK-1076 | FutureWarning torch.load #720

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Fix/SK-1076 | FutureWarning torch.load #720

merged 2 commits into from
Oct 4, 2024

Conversation

FrankJonasmoelle
Copy link
Contributor

FutureWarning occurs when torch.load() is called without specifying the 'weights_only' parameter.
To prevent this, the parameter 'weights_only' is set to 'True'. This is the default behavior and does not change any functionality.

Changed for the following examples:

  • mnist-pytorch
  • mnist-pytorch with DP
  • huggingface
  • FedSimSiam

@Wrede Wrede merged commit 932129d into master Oct 4, 2024
19 checks passed
@Wrede Wrede deleted the fix/SK-1076 branch October 4, 2024 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants