Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #11354: Passthrough sharding propagation for host offloading ops
Imported from GitHub PR openxla/xla#11354 To support host memory offloading we propagate sharding on the offloading operations (MoveToDevice and MoveToHost custom calls) so that spmd partitioner does not insert collectives at wrong places. Copybara import of the project: -- 6a4d73c56e618e921fa32e5e03756e40986a8ad3 by Jaroslav Sevcik <jsevcik@nvidia.com>: Passthrough sharding propagation for host offloading ops Merging this change closes #11354 PiperOrigin-RevId: 626948525
- Loading branch information
1 parent
e3f34e6
commit 109956f
Showing
3 changed files
with
40 additions
and
3 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