-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Ensure remainder of advanced indexing backwards is contiguous. #36957
Conversation
This is attempt to make the current master behavior the same as on 1.4. I don't know if this is more performant than just making the linearIndex contiguous. Fixes: #36956 [ghstack-poisoned]
…guous." This is a more straightforward solution to the problem than #36957; I don't know about the relative performance. Fixes: #36956 Differential Revision: [D21144146](https://our.internmc.facebook.com/intern/diff/D21144146) [ghstack-poisoned]
…ous." This is attempt to make the current master behavior the same as on 1.4. I don't know if this is more performant than just making the linearIndex contiguous. Fixes: #36956 Differential Revision: [D21144107](https://our.internmc.facebook.com/intern/diff/D21144107) [ghstack-poisoned]
This is attempt to make the current master behavior the same as on 1.4. I don't know if this is more performant than just making the linearIndex contiguous. Fixes: pytorch#36956 ghstack-source-id: f5ac46a6e77dce2e82396079d2ec426953ac5966 Pull Request resolved: pytorch#36957
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.
This should be more performant than making linearIndex contiguous, so it's good.
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.
Looks good !
…guous." This is a more straightforward solution to the problem than #36957; I don't know about the relative performance. Fixes: #36956 Differential Revision: [D21144146](https://our.internmc.facebook.com/intern/diff/D21144146) [ghstack-poisoned]
…uous. This is a more straightforward solution to the problem than pytorch#36957; I don't know about the relative performance. Fixes: pytorch#36956 ghstack-source-id: 43c48eaee7232cd3ed2b108edbbee24c11e8321a Pull Request resolved: pytorch#36959
💊 Build failures summary and remediationsAs of commit 5821158 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following build failures do not appear to be due to upstream breakages: pytorch_macos_10_13_py3_test (1/1)Step: "Test" (full log | pattern match details | 🔁 rerun)
|
…guous." This is a more straightforward solution to the problem than #36957; I don't know about the relative performance. Fixes: #36956 Differential Revision: [D21144146](https://our.internmc.facebook.com/intern/diff/D21144146) [ghstack-poisoned]
…ous." This is attempt to make the current master behavior the same as on 1.4. I don't know if this is more performant than just making the linearIndex contiguous. Fixes: #36956 Differential Revision: [D21144107](https://our.internmc.facebook.com/intern/diff/D21144107) [ghstack-poisoned]
#36962) * [v.1.5.0] Ensure linearIndex of advanced indexing backwards is contiguous. This is a more straightforward solution to the problem than #36957; I don't know about the relative performance. Fixes: #36956 ghstack-source-id: 43c48eaee7232cd3ed2b108edbbee24c11e8321a Pull Request resolved: #36959 * Fix test.
) Summary: Pull Request resolved: #36959 This is a more straightforward solution to the problem than #36957; I don't know about the relative performance. Fixes: #36956 Test Plan: Imported from OSS Differential Revision: D21144146 Pulled By: gchanan fbshipit-source-id: a10ab905219a73157d5d7183492b52d7c8dd6072
Stack from ghstack:
This is attempt to make the current master behavior the same as on 1.4. I don't know if this is more performant than just making the linearIndex contiguous.
Fixes: #36956
Differential Revision: D21144107