Skip to content

[triton] Avoid propagating slice layouts across broadcast. #97350

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

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jul 22, 2025

[triton] Avoid propagating slice layouts across broadcast.

This can cause massive register pressure, and it's better to convert to blocked before the broadcast. The current state of RemoveLayoutConversion relies on slice layouts being pushed up in the second (hoisting) phase on top of broadcasts again, but this fails for the softmax pattern.

@copybara-service copybara-service bot force-pushed the exported_pr_785802623 branch from b4668bd to 85f7f3e Compare July 22, 2025 20:38
@copybara-service copybara-service bot changed the title [triton] Avoid propagating slice layouts across broadcast/expand_dims [triton] Avoid propagating slice layouts across broadcast. Jul 22, 2025
@copybara-service copybara-service bot force-pushed the exported_pr_785802623 branch 2 times, most recently from 6af2f74 to ab3aca1 Compare July 23, 2025 08:01
This can cause massive register pressure, and it's better to convert to blocked before the broadcast. The current state of RemoveLayoutConversion relies on slice layouts being pushed up in the second (hoisting) phase on top of broadcasts again, but this fails for the softmax pattern.

PiperOrigin-RevId: 786179698
@copybara-service copybara-service bot force-pushed the exported_pr_785802623 branch from ab3aca1 to 94dba73 Compare July 23, 2025 08:45
@copybara-service copybara-service bot merged commit 94dba73 into master Jul 23, 2025
1 check passed
@copybara-service copybara-service bot deleted the exported_pr_785802623 branch July 23, 2025 08:45
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy