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

[xla:scatterExpander] Extend ScatterToLoop transformation to generate correct #18662

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 23, 2024

[xla:scatterExpander] Extend ScatterToLoop transformation to generate correct
code in the presence of explicit batch dimensions.

Explicit batch dimensions were recently added to scatter instructions in
openxla/stablehlo#2084.

This CL extends the pass to consider explicit operand batch dimensions when
computing the while-loop init-value shape and the operand indices.

@copybara-service copybara-service bot force-pushed the test_686266428 branch 2 times, most recently from 74c1600 to d4fbb67 Compare October 24, 2024 17:47
… correct

code in the presence of explicit batch dimensions.

Explicit batch dimensions were recently added to scatter instructions in
openxla/stablehlo#2084.

This CL extends the pass to consider explicit operand batch dimensions when
computing the while-loop init-value shape and the operand indices.

PiperOrigin-RevId: 689450009
@copybara-service copybara-service bot merged commit 212b383 into main Oct 24, 2024
@copybara-service copybara-service bot deleted the test_686266428 branch October 24, 2024 18:18
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