-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for PmapSharding and other integer device index maps.
Allows sharding device index maps to contain integer values, corresponding to axes along which the arrays should be stacked instead of concatenated. This is required to support showing arrays with PmapSharding, including those built using jax.device_put_sharded and jax.device_put_replicated. PiperOrigin-RevId: 671571309
- Loading branch information
1 parent
fd287df
commit 77b10d7
Showing
2 changed files
with
44 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