-
Notifications
You must be signed in to change notification settings - Fork 97
[TorchFix] Add torch.solve as a removed function #4705
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
c0ed87d
to
a25c3b1
Compare
a25c3b1
to
83da406
Compare
83da406
to
342314e
Compare
342314e
to
5c1d68b
Compare
|
||
### TOR001 Use of removed function | ||
|
||
#### torch.solve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a doc/page that calls out this function as deprecated? If so, what do you think of linking to it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's removed from the docs.
The YAML in the PR has links to deprecate and remove PRs, I plan later to use these links to generate some docs.
|
||
This function was deprecated since PyTorch version 1.9 and is now removed. | ||
|
||
`torch.solve` is deprecated in favor of `torch.linalg.solve`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we still mention torch.solve
in our docs. Could you update that ref too please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good find! I'll update that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add torch.solve as a removed function (I somehow missed it before and noticed after pytorch/tutorials#2642).
Also added a mechanism to show reference links in the error messages.