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

Depracation: torch.norm is depracated #514

Closed
alongd opened this issue Sep 26, 2020 · 0 comments · Fixed by #515
Closed

Depracation: torch.norm is depracated #514

alongd opened this issue Sep 26, 2020 · 0 comments · Fixed by #515

Comments

@alongd
Copy link
Contributor

alongd commented Sep 26, 2020

I get the following deprecation warning by PyTorch when running the latest version of TorchANI:

/home/user/anaconda3/envs/env/lib/python3.7/site-packages/torch/functional.py:1277: UserWarning: torch.norm is deprecated and may be removed in a future PyTorch release. Use torch.linalg.norm instead.
  "torch.norm is deprecated and may be removed in a future PyTorch release. "

Looks like it's caused by this line.

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 a pull request may close this issue.

1 participant