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
[jit] Warn when tracing legacy constructors #16770
Conversation
We should change the LSTM implementation before landing this. |
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.
@driazati has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@neerajprad We should also avoid legacy constructors in torch.distributions. |
@soumith Is there a chance we can revert this before the 1.1 release? There is still heavy usage of the cc @colesbury |
the 1.1 release is just about going live now. i think it's a bit too late, but let me check |
Hmm we introduced these in |
Summary: Stack from [ghstack](https://github.com/ezyang/ghstack): * **#20026 Remove warnings on new_* constructors** Revert of #16770, fixes #19995 Pull Request resolved: #20026 Pulled By: driazati Differential Revision: D15171691 fbshipit-source-id: 057c3b4a9fd6086ca240007e5404a286080f04b6
Summary: Stack from [ghstack](https://github.com/ezyang/ghstack): * **pytorch#20026 Remove warnings on new_* constructors** Revert of pytorch#16770, fixes pytorch#19995 Pull Request resolved: pytorch#20026 Pulled By: driazati Differential Revision: D15171691 fbshipit-source-id: 057c3b4a9fd6086ca240007e5404a286080f04b6
No description provided.