Conversation
|
You're gonna need to kill the deprecated sites too. |
b9f0da6 to
a7edebc
Compare
|
I've killed all of the call sites extant in the codebase except for the one I described in my comment on the issue tracking this: #29161 (comment). Any suggestions for how to resolve the issues highlighted there with This ended up being a biggish PR. I tried to keep things atomic so it might be easier to review commit-by-commit rather than looking at the whole pull request diff. I'm also happy to upstream this as separate pull requests if that would be easier to review. |
38ff838 to
f092422
Compare
|
Hmm, looks like this still needs some work before it's ready for review, seeing test failures locally.... |
…the scalar_type is checked
… failure on one of the test setups
ac8d28e to
9296bda
Compare
|
As an operational matter, it's probably better if we merge this as is, even though you haven't handled the one case you mentioned in your issue. Do you still need to do anything else on this PR before it lands? I see the WIP is still on the PR. |
|
I was still trying to get the tests to pass last night, but it looks like the last commit fixed the remaining test failures. This is probably fine to merge as-is. Should we leave in the deprecation message since there's still the sites in |
We can leave it in if it doesn't break anything. One instance of deprecated spew is OK to me for getting the deprecation in earlier. |
|
Nope, shouldn't break anything :) |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Fixes pytorch#29161. I looked a bit at the code changes related to this and think I have all of the use cases of `DeprecatedTypeProperties` covered in the message, but suggestions from someone with more context on this would be very much appreciated :) Pull Request resolved: pytorch#30281 Differential Revision: D18830818 Pulled By: ezyang fbshipit-source-id: 1a7fcee15354ae09e6644577e7fa33bd26acfe20
Fixes #29161.
I looked a bit at the code changes related to this and think I have all of the use cases of
DeprecatedTypePropertiescovered in the message, but suggestions from someone with more context on this would be very much appreciated :)