-
Notifications
You must be signed in to change notification settings - Fork 633
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
Add strip assertions flag #19014
Add strip assertions flag #19014
Conversation
da92beb
to
aa1a755
Compare
dfe6e48
to
5da931f
Compare
Part 1 (this pr): add `iree-opt-strip-assertions` to CI. Part 2: remove flag usage and make this default. Issue: iree-org#1900 Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Could I get a review on this? This might also be affecting Llama performance, there were ~100 dispatches that could be CSEed if the asserts were removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we dont want to turn this on by default?
The idea was to to fix sdxl regressions first by just using the flag, then make it default after because there may be some side effects of stripping all assertions like this by default. But I can change this to be default if that seems better |
Makes sense. Lets keep to the original plan. |
This change _temporarily_ adds `iree-opt-strip-assertions` to SDXL CI which should fix the regression discussed in iree-org#19002. Assertions within `linalg.generic` ops can mess with dispatch creation and lead to poorly performing dispatches, despite the fact that they get stripped in later pipelines. --------- Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
This change _temporarily_ adds `iree-opt-strip-assertions` to SDXL CI which should fix the regression discussed in iree-org#19002. Assertions within `linalg.generic` ops can mess with dispatch creation and lead to poorly performing dispatches, despite the fact that they get stripped in later pipelines. --------- Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu> Signed-off-by: Giacomo Serafini <179146510+giacs-epic@users.noreply.github.com>
This change temporarily adds
iree-opt-strip-assertions
to SDXL CI which should fix the regression discussed in #19002. Assertions withinlinalg.generic
ops can mess with dispatch creation and lead to poorly performing dispatches, despite the fact that they get stripped in later pipelines.Part 2 (future PR or maybe this one): remove flag usage and make this default.