Skip to content

Conversation

copybara-service[bot]
Copy link

Update pathways.experimental.reshard so that PyTrees with arrays that have different device sets can be resharded.

We group arrays in the pytree by device sets and issue a reshard call for each group. This is needed because plugin executable arguments must be on the same set of devices.

… have different device sets can be resharded.

We group arrays in the pytree by device sets and issue a reshard call for each group. This is needed because plugin executable arguments must be on the same set of devices.

PiperOrigin-RevId: 811374861
@copybara-service copybara-service bot merged commit 8e7ab45 into main Sep 25, 2025
@copybara-service copybara-service bot deleted the test_811039183 branch September 25, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant