Skip to content

Add a custom_partitioning helper to support batch partitioning #27067

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dfm
Copy link
Contributor

@dfm dfm commented Mar 11, 2025

This PR adds a batch_partitionable helper function to experimental.custom_partitioning to support the common use case where a JAX traceable function supports trivial partitioning along some number of leading batch dimensions.

@dfm dfm self-assigned this Mar 11, 2025
@dfm dfm added the pull ready Ready for copybara import and testing label Mar 11, 2025
@dfm dfm force-pushed the custom-partitioning-helper branch from 6e576ae to d152ea5 Compare March 11, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant