Skip to content

Make sharding and partitioning fixes for MaxText checkpoints. - #1786

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_955964815
Open

Make sharding and partitioning fixes for MaxText checkpoints.#1786
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_955964815

Conversation

@copybara-service

Copy link
Copy Markdown

Make sharding and partitioning fixes for MaxText checkpoints.

Resolve logical partition specs to physical mesh axes for optimizer and model states during sharding. Apply sharding constraints to gradients matching model partitioning, and replicate denominator. Add filter_spec utility to filter out axes from PartitionSpec that are not present in the mesh.

Resolve logical partition specs to physical mesh axes for optimizer and model states during sharding. Apply sharding constraints to gradients matching model partitioning, and replicate denominator. Add filter_spec utility to filter out axes from PartitionSpec that are not present in the mesh.

PiperOrigin-RevId: 955964815
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.

2 participants