Skip to content

Fix shard_map for primitives with multiple outputs and None specs #27720

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

justinjfu
Copy link
Collaborator

No description provided.

@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Apr 3, 2025
@justinjfu justinjfu requested a review from mattjj April 4, 2025 00:20
@yashk2810
Copy link
Collaborator

@mattjj says the fix should be different which we just fixed for a different failure. But I'll let him link that

@yashk2810
Copy link
Collaborator

Try this? i.e. out_rep should never be None. It should instead be replicated over all mesh axes.

image

@yashk2810 yashk2810 self-requested a review April 4, 2025 00:24
@mattjj
Copy link
Collaborator

mattjj commented Apr 4, 2025

@yashk2810 should we do frozenset(mesh.axis_names) - auto ?

@yashk2810
Copy link
Collaborator

should we do frozenset(mesh.axis_names) - auto ?

Yeah good catch. It should only be manual names

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants