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

Usage of deprecated torch.norm #16751

Closed
kit1980 opened this issue Jul 18, 2023 · 1 comment
Closed

Usage of deprecated torch.norm #16751

kit1980 opened this issue Jul 18, 2023 · 1 comment
Labels
training issues related to ONNX Runtime training; typically submitted using template

Comments

@kit1980
Copy link
Contributor

kit1980 commented Jul 18, 2023

torch.norm is deprecated and may be removed in a future PyTorch release. Its documentation and behavior may be incorrect, and it is no longer actively maintained.

Please follow https://pytorch.org/docs/stable/generated/torch.norm.html to update.

orttraining/orttraining/python/training/optim/_modifier.py:140

@xadupre xadupre added the training issues related to ONNX Runtime training; typically submitted using template label Jul 19, 2023
@xadupre
Copy link
Member

xadupre commented Jul 20, 2023

PR #16758 should fix it.

justinchuby pushed a commit that referenced this issue Jul 21, 2023
### Description
torch.norm is deprecated as mentioned in issue #16751. This PR replaces
the call to torch.norm by the options suggested by torch documentation.
jchen351 pushed a commit that referenced this issue Aug 12, 2023
### Description
torch.norm is deprecated as mentioned in issue #16751. This PR replaces
the call to torch.norm by the options suggested by torch documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training issues related to ONNX Runtime training; typically submitted using template
Projects
None yet
Development

No branches or pull requests

3 participants