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
Fix reducesum onnx lit test to linalg lowering fails #3218
base: main
Are you sure you want to change the base?
Fix reducesum onnx lit test to linalg lowering fails #3218
Conversation
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.
Is there any reason why we have removed all the detailed checks and replaced them just with the checks containing op names?
I did so because i was feeling that the original checks were a little too detailed. For example, it made sure that there are two instances of int_0, and running CSE might cause the tests to fail. I'm operating under the understanding that the lit tests are supposed to make sure the generated IR is valid & the generation doesn't crash. But given what I learned from @zjgarvey in the standup this morning, we also rely on the tests as a source of understanding for how the lowerings work. So I'd love your thoughts on how detailed the tests should be @vivekkhandelwal1 @zjgarvey |
I think the checks which are already present are fine, if you want then you can just remove the constant's checks but that won't we much either. Also, what's the reason that we have removed a lit test? |
fixes nod-ai/SHARK-Turbine#653