forked from tensorflow/tensorflow
-
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.
[xla-auto-sharding] Add SolveGreedy() heuristic to make local greedy …
…choices. Notes: - Only represent a sharding strategy by the node sharding configs (not the induced edge sharding indices, since they're redundant) - Add `GetEdgeStrategy()` method for recovering the induced edge sharding strategies - Factor out logic for computing objective value of a given sharding strategy as `ComputeShardingStrategyCost()` - Add `SolveGreedy()` heuristic that outputs a sharding based on local greedy decisions for each node PiperOrigin-RevId: 703566314
- Loading branch information
1 parent
2da8686
commit bcd2b16
Showing
2 changed files
with
81 additions
and
51 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