Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a
SameDeviceAssignmentTuple
type to cache the op shardings a…
…nd device assignment. But the device_assignment is only cached once because `pjit` checks if all device assignments are equal or not right at the start. PiperOrigin-RevId: 467051286
- Loading branch information
Showing
4 changed files
with
127 additions
and
40 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