Skip to content

Implement the conversion pattern for stablehlo.gather.#1068

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_885230212
Mar 27, 2026
Merged

Implement the conversion pattern for stablehlo.gather.#1068
copybara-service[bot] merged 1 commit intomainfrom
test_885230212

Conversation

@copybara-service
Copy link
Copy Markdown

Implement the conversion pattern for stablehlo.gather.

This pattern converts stablehlo.gather operations from global to local tensor types. It adjusts the start indices by subtracting the global offsets of sharded operand dimensions and updates the slice sizes for sharded non-batching dimensions in the operand.

@copybara-service copybara-service bot force-pushed the test_885230212 branch 4 times, most recently from 3973ee4 to 8ad86ad Compare March 27, 2026 18:18
This pattern converts stablehlo.gather operations from global to local tensor types. It adjusts the start indices by subtracting the global offsets of sharded operand dimensions and updates the slice sizes for sharded non-batching dimensions in the operand.

PiperOrigin-RevId: 890583152
@copybara-service copybara-service bot merged commit 75a3b74 into main Mar 27, 2026
@copybara-service copybara-service bot deleted the test_885230212 branch March 27, 2026 19:27
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