forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[inductor] Fix pattern replacements with multiple users (pytorch#129689)
Fixes pytorch#129685 After matching a pattern, we currently try to remove all the nodes of that pattern, which doesn't work if any intermediate node has users outside of the pattern. In which case we can't delete those particular nodes. Pull Request resolved: pytorch#129689 Approved by: https://github.com/shunting314
- Loading branch information
1 parent
7854d84
commit b019f38
Showing
2 changed files
with
15 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