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

[Dispatch] Enable fusing producers with scatter #19775

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Jan 22, 2025

These changes enable fusion of scatter with its producers.Ignore the first commit as it is from @jerryyin's PR.

Testing with 8b unsharded, these changes result in fused rope + index computation as well as fused index computation. In the second case, the updates operand was unable to fuse because work is needed to bubble reshapes through contractions (see first bullet in this issue #19752).

@IanWood1 IanWood1 force-pushed the enable_scatter_fusion branch 3 times, most recently from 1efaa5d to 9c12557 Compare January 23, 2025 03:36
@IanWood1 IanWood1 force-pushed the enable_scatter_fusion branch from 9c12557 to 17f51c1 Compare January 23, 2025 17:56
@IanWood1 IanWood1 marked this pull request as ready for review January 23, 2025 19:13
@IanWood1 IanWood1 changed the title [WIP] Enable fusing producers with scatter [Dispatch] Enable fusing producers with scatter Jan 23, 2025
@IanWood1
Copy link
Contributor Author

IanWood1 commented Jan 23, 2025

I marked this as ready for review since the dependent PR should be merged shortly. Also, I removed codeowners from said PR (I'll rebase after it lands)

@IanWood1 IanWood1 force-pushed the enable_scatter_fusion branch from 17f51c1 to 02a32d6 Compare January 24, 2025 17: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.

2 participants