-
Notifications
You must be signed in to change notification settings - Fork 2k
[TEST] Enable test-alignment.mlir checks & remove failing checks #6661
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
Conversation
Fix a typo that was preventing any checks from happening.
…move invalid remarks
cc @makslevental who added |
Definitely wasn't checking before... Currently you have
|
@makslevental These failures don't appear for me when I run locally - e.g. the one at regarding |
also cc @Mogball who introduced the verify-diagnostics testing (since I don't have permissions to request reviewers) |
so what's going on with the failing cases? Are those cases we regressed? Those use to all pass before moving to remarks? |
@ThomasRaoux I believe that:
|
interesting, thanks for the update |
Unless I'm doing something wrong when running
lit test
, I don't think test-alignment.mlir was actually checking any of the remarks.There were two issues:
-verify-diagnostics
is not added to the triton-opt run command, so theexpected-remark
comments were not executing.expected-remarks
was misspelled everywhere in this file, instead written asexpeted-remarks
.This PR fixes the typo and adds
-verify-diagnostics=only-expected
(so that it checks for expected remarks, doesn't require an expected remark for all the remarks that are actually emitted), and it also removes all the failing expected-remarks (replacing them with TODOs). For ease of review, the PR is split into two commits - one which renamesexpeted-remark -> expected-remark
, and one which replacesexpected-remark
with a TODO for the remarks that were previously failing.