Make dim, numel, element_size into prim ops#36551
Closed
smessmer wants to merge 2 commits intogh/smessmer/195/basefrom
Closed
Make dim, numel, element_size into prim ops#36551smessmer wants to merge 2 commits intogh/smessmer/195/basefrom
smessmer wants to merge 2 commits intogh/smessmer/195/basefrom
Conversation
Before, those ops were special cased in the jit codegen but that blocks our unboxing refactoring. Instead, make those regular prim ops. Differential Revision: [D21009196](https://our.internmc.facebook.com/intern/diff/D21009196/) [ghstack-poisoned]
💊 Build failures summary and remediationsAs of commit c87b561 (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:
|
Before, those ops were special cased in the jit codegen but that blocks our unboxing refactoring. Instead, make those regular prim ops. Differential Revision: [D21009196](https://our.internmc.facebook.com/intern/diff/D21009196/) [ghstack-poisoned]
smessmer
added a commit
that referenced
this pull request
Apr 14, 2020
Pull Request resolved: #36551 Before, those ops were special cased in the jit codegen but that blocks our unboxing refactoring. Instead, make those regular prim ops. ghstack-source-id: 102081858 Differential Revision: [D21009196](https://our.internmc.facebook.com/intern/diff/D21009196/)
ezyang
approved these changes
Apr 14, 2020
bhosmer
approved these changes
Apr 14, 2020
Contributor
|
This pull request has been merged in 018c342. |
1 similar comment
Contributor
|
This pull request has been merged in 018c342. |
Contributor
|
Oy, the BC failing test is real!! |
houseroad
reviewed
Apr 14, 2020
Member
houseroad
left a comment
There was a problem hiding this comment.
we deleted 5, and only add three back. We don't need sizes, strides?
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 24, 2026
Summary: Pull Request resolved: pytorch#36551 Before, those ops were special cased in the jit codegen but that blocks our unboxing refactoring. Instead, make those regular prim ops. ghstack-source-id: 102081858 Test Plan: waitforsandcastle Differential Revision: D21009196 fbshipit-source-id: b90320fce589fc0553f17582b66a5a05d0fd32d1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Before, those ops were special cased in the jit codegen but that blocks our unboxing refactoring.
Instead, make those regular prim ops.
Differential Revision: D21009196