-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA] Optimize HloModule::RemoveUnusedComputations.
This function previously worked by cloning the entire module and looking for computations not cloned in the cloning context. But cloning things is expensive, and it's faster to just do a DFS over the module to find computations that are used. PiperOrigin-RevId: 689866041
- Loading branch information
1 parent
79142a8
commit 0b9ce37
Showing
1 changed file
with
16 additions
and
11 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