-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Construct
FusionExecutorCache
s with a ready-to-run fusion (#3969)
As requested by myself at #3923 (comment) This PR tries to fix the Python frontend to construct `FusionExecutorCache`s with a ready-to-run fusion. Previously, the code constructs FusionExecutorCache with an empty fusion and populates it later. This is not how we normally use and test FusionExecutorCache and is indeed problematic in some situations. For example, `FusionExecutorCache::exact_map_` was always empty because the constructor thought it was going to run an empty fusion. See one of the tests fixed by this PR. cc @samnordmann
- Loading branch information
Showing
5 changed files
with
112 additions
and
23 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
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
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