Skip to content

[Shardy MPMD] Add support for unreduced axes to NamedSpmdShardingSpec.#1062

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_884711086
Mar 20, 2026
Merged

[Shardy MPMD] Add support for unreduced axes to NamedSpmdShardingSpec.#1062
copybara-service[bot] merged 1 commit intomainfrom
test_884711086

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service bot commented Mar 17, 2026

[Shardy MPMD] Add support for unreduced axes to NamedSpmdShardingSpec.

This change is needed in order to pass information about unreduced axes after MPMD partitioning to the backend compiler. The MPMD partitioner returns NamedSpmdShardingSpec for inputs/outputs of the module's main function as part of PartitioningResult, and these specs are used to create the input/output NamedShardings passed to the backend compiler.

This change also includes updates to the Shardy MLIR utilities to extract unreduced axes from MeshTensorTypes as well as updates to the Python bindings in Shardy and jaxlib

@copybara-service copybara-service bot force-pushed the test_884711086 branch 5 times, most recently from 959dfca to e3ecf11 Compare March 19, 2026 20:00
@copybara-service copybara-service bot changed the title [Shardy MPMD] Add support for unreduced axes in MPMD sharding. [Shardy MPMD] Add support for unreduced axes to NamedSpmdShardingSpec. Mar 19, 2026
This change is needed in order to pass information about unreduced axes after MPMD partitioning to the backend compiler. The MPMD partitioner returns NamedSpmdShardingSpec for inputs/outputs of the module's main function as part of PartitioningResult, and these specs are used to create the input/output NamedShardings passed to the backend compiler.

This change also includes updates to the Shardy MLIR utilities to extract unreduced axes from MeshTensorTypes as well as updates to the Python bindings in Shardy and jaxlib

PiperOrigin-RevId: 886852988
@copybara-service copybara-service bot merged commit 548e319 into main Mar 20, 2026
@copybara-service copybara-service bot deleted the test_884711086 branch March 20, 2026 17: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