forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid decomposing
_unsafe_index
in Inductor (pytorch#107882)
`_unsafe_index` was previously added to the core ATen decomp table in pytorch#106814, but this has performance ramifications for Inductor. Therefore, this diff removes it from the decomposition table used by Inductor. Differential Revision: [D48649210](https://our.internmc.facebook.com/intern/diff/D48649210/) Pull Request resolved: pytorch#107882 Approved by: https://github.com/SherlockNoMad
- Loading branch information
1 parent
e00bd83
commit 86f9fec
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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