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

Pipe tiled through all_to_all primitive #19854

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 16, 2024

Pipe tiled through all_to_all primitive

The _all_to_all_transpose_rule calls all_to_all which can accept a tiled
argument. Thus, for the transpose to know the right value of tiled to pass, we
need to plumb the tiled argument through the primitive and various
interpreters, even though it's a no-op because the tiled argument is handled
outside the primitive. It would be cleaner to handle tiled inside the
primitive, but I will leave that for followup work.

Fixes #15982.

@copybara-service copybara-service bot force-pushed the test_607775078 branch 7 times, most recently from 0837072 to ab1e1c8 Compare February 23, 2024 17:22
@copybara-service copybara-service bot force-pushed the test_607775078 branch 6 times, most recently from 5b3257d to dbb422f Compare March 4, 2024 15:58
@copybara-service copybara-service bot force-pushed the test_607775078 branch 2 times, most recently from 981ca06 to 5c87844 Compare March 5, 2024 00:19
The `_all_to_all_transpose_rule` calls `all_to_all` which can accept a `tiled`
argument. Thus, for the transpose to know the right value of `tiled` to pass, we
need to plumb the `tiled` argument through the primitive and various
interpreters, even though it's a no-op because the `tiled` argument is handled
outside the primitive. It would be cleaner to handle `tiled` inside the
primitive, but I will leave that for followup work.

Fixes #15982.

PiperOrigin-RevId: 612628600
@copybara-service copybara-service bot merged commit 3fe65e2 into main Mar 5, 2024
1 of 2 checks passed
@copybara-service copybara-service bot deleted the test_607775078 branch March 5, 2024 00:34
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.

grad of shard_map of lax.all_to_all crashes
1 participant