-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA] Add debug option for detecting cycles in fixed-point loops.
Due to the way the "changed" signal is reported by passes within a fixed-point loop today, there are various scenarios in which a fixed-point loop that is "converged" may continue to run forever: * A composite pipeline is being run to fixed-point, and one pass exactly undoes the effect of another. * An individual pass falsely reports that it changed a module (perhaps because it undoes its own change). * The fixed-point loop sees the module go through a cycle of states. While this check is too expensive to enable by default, it presents as a useful debug option. If we have reason to suspect one of the above scenarios is occurring, this option will allow us to identify the passes involved and address the root cause on an individual basis. PiperOrigin-RevId: 726546024
- Loading branch information
1 parent
ee4c408
commit 95cd71a
Showing
4 changed files
with
28 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
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