[go: nahoru, domu]

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

Change AllReduceSimplifier to handle trivial cross-partition all-reduces. #69983

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

copybara-service[bot]
Copy link
@copybara-service copybara-service bot commented Jun 18, 2024

Change AllReduceSimplifier to handle trivial cross-partition all-reduces.

This CL ensures that AllReduceSimplifier can simplify trivial all-reduces (an all-reduce where each subgroup is formed of a single participant) that are not necessarily cross replica (for example a cross partition all-reduce). We only simplify non cross replica all-reduce when the module is SPMD.

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#14073 from apivovarov:select_compare_algsimp 6fe68d7319b272ff041b67e038359540cddda489

@copybara-service copybara-service bot force-pushed the exported_pr_644267887 branch 3 times, most recently from 44d9a9f to b1939f1 Compare June 21, 2024 00:55
@copybara-service copybara-service bot changed the title Change AllReduceSimplifier to handle cross-partition all-reduces. Change AllReduceSimplifier to handle trivial cross-partition all-reduces. Jun 21, 2024
@copybara-service copybara-service bot force-pushed the exported_pr_644267887 branch 3 times, most recently from f9d3e7b to cde7a2e Compare June 26, 2024 01:05
…ces.

This CL ensures that AllReduceSimplifier can simplify trivial all-reduces (an all-reduce where each subgroup is formed of a single participant) that are not necessarily cross replica (for example a cross partition all-reduce). We only simplify non cross replica all-reduce when the module is SPMD.

PiperOrigin-RevId: 646679054
@copybara-service copybara-service bot closed this Jun 26, 2024
@copybara-service copybara-service bot merged commit 7817e4a into master Jun 26, 2024
@copybara-service copybara-service bot deleted the exported_pr_644267887 branch June 26, 2024 02:28
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.

None yet

1 participant