Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim axes to use the largest prefix that does not overlap with the best, instead of erasing. #225

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Nov 19, 2024

Trim axes to use the largest prefix that does not overlap with the best, instead of erasing.

It avoids unnecessary full replications when a prefix of axes is not conflicting with the picked one. For example, if factor i is assigned to {"y":(4)2 }, then some other factor with a sharding {"x", "y", "z"} can now be assigned to {"x", "y":(1)4}.

@copybara-service copybara-service bot force-pushed the test_696936481 branch 2 times, most recently from 486093f to b02a28f Compare November 25, 2024 15:18
@copybara-service copybara-service bot changed the title Trim axes to use the largest prefix that does not overlap with best instead of erasing. Trim axes to use the largest prefix that does not overlap with the best, instead of erasing. Nov 25, 2024
@copybara-service copybara-service bot force-pushed the test_696936481 branch 4 times, most recently from c67c405 to 7ae679b Compare November 27, 2024 16:01
…st, instead of erasing.

It avoids unnecessary full replications when a prefix of axes is not conflicting with the picked one. For example, if factor i is assigned to {"y":(4)2 }, then some other factor with a sharding {"x", "y", "z"} can now be assigned to {"x", "y":(1)4}.

PiperOrigin-RevId: 700705590
@copybara-service copybara-service bot merged commit f718b01 into main Nov 27, 2024
@copybara-service copybara-service bot deleted the test_696936481 branch November 27, 2024 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