[jit] Warn when tracing legacy constructors#16770
Conversation
|
We should change the LSTM implementation before landing this. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@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
Summary: Pull Request resolved: pytorch#16770 Differential Revision: D13963581 Pulled By: driazati fbshipit-source-id: 8f8cdfc455ba65be370fd952fc5e5c233525d002
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
…#19979) Summary: This removes the deprecated `tensor.new_*` constructors (see pytorch#16770) from `torch.distributions` module. Pull Request resolved: pytorch#19979 Differential Revision: D15195618 Pulled By: soumith fbshipit-source-id: 46b519bfd32017265e90bd5c53f12cfe4a138021
No description provided.