Skip to content

Revert "[AMD] Disable block merging to avoid block argument explosion (#4176)"#4631

Merged
antiagainst merged 1 commit intotriton-lang:mainfrom
joviliast:enable-block-merging
Sep 6, 2024
Merged

Revert "[AMD] Disable block merging to avoid block argument explosion (#4176)"#4631
antiagainst merged 1 commit intotriton-lang:mainfrom
joviliast:enable-block-merging

Conversation

@joviliast
Copy link
Copy Markdown
Contributor

@joviliast joviliast commented Sep 2, 2024

Turn back aggressive strategy by default to enable block merging
given now we have upstream fixes for it brought in:
#4619.

This reverts commit cf2ad02.

@zhanglx13
Copy link
Copy Markdown
Collaborator

@joviliast I used to need this for some kernels that have compilation hanging issues. Did you check if the compilation hanging issues is gone with this PR?

@joviliast
Copy link
Copy Markdown
Contributor Author

This PR causes compile time regression for some cases. I did not catch a dead hang, but some cases slow down in 10 times, which quite critical.

@joviliast joviliast changed the title Revert "[AMD] Disable block merging to avoid block argument explosion (#4176)" [WIP] Revert "[AMD] Disable block merging to avoid block argument explosion (#4176)" Sep 3, 2024
@zhanglx13
Copy link
Copy Markdown
Collaborator

This PR causes compile time regression for some cases. I did not catch a dead hang, but some cases slow down in 10 times, which quite critical.

cc+ @giuseros

@joviliast joviliast force-pushed the enable-block-merging branch from 1dc3f63 to 24bfa51 Compare September 6, 2024 15:50
@joviliast joviliast changed the title [WIP] Revert "[AMD] Disable block merging to avoid block argument explosion (#4176)" Revert "[AMD] Disable block merging to avoid block argument explosion (#4176)" Sep 6, 2024
…triton-lang#4176)"

This reverts commit cf2ad02
and enables aggresive strategy to enable block merging.
@joviliast
Copy link
Copy Markdown
Contributor Author

This PR causes compile time regression for some cases. I did not catch a dead hang, but some cases slow down in 10 times, which quite critical.

Regression was fixed by #4655.
Now this PR ready too be merged

@antiagainst antiagainst marked this pull request as ready for review September 6, 2024 16:45
@antiagainst antiagainst merged commit 3104056 into triton-lang:main Sep 6, 2024
bertmaher pushed a commit to bertmaher/triton that referenced this pull request Dec 10, 2024
…triton-lang#4176)" (triton-lang#4631)

Turn back aggressive strategy by default to enable block merging
given now we have upstream fixes for it brought in:
triton-lang#4619.

This reverts commit cf2ad02.
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.

3 participants