-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix][Dlight] Fix GeneralReduction for log-sum-exp
This PR fixes the GeneralReduction dlight rule so that it can support scheduling log-sum-exp function. Prior to this issue, the rule makes a strong assumption on the pattern of the given function, which allows scheduling softmax, but fails to schedule log-sum-exp due to pattern mismatch. This PR enhances the rule and makes it able to match the pattern of log-sum-exp and apply subsequent scheduling. A regression test is added.
- Loading branch information
1 parent
4f8c03f
commit 1580ab5
Showing
2 changed files
with
176 additions
and
8 deletions.
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