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
[MLIR] Removes use of ValueRange after using sanitizers. #310
Conversation
Hello. You may have forgotten to update the changelog!
|
a23f726
to
087f8ff
Compare
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.
Thanks Erick! 🎉
I'll leave this to @dime10 to decide how he wants to merge for the release. Merge with release candidate or merge with main and then with release candidate. |
3599242
to
26e2a71
Compare
Just a note here for future reference. On the other hand, a common error I've made in the past is constructing a |
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.
What about CustomOp
? Is that safe because it already returns a range for getParams()
?
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
When I run all the lit tests with sanitizers there are no more errors. |
I guess that must be explanation then 😅 Sounds good 👍 |
It's very curious that we already used the correct form here:
I can't mark it in the code, but could you update that line as well with |
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.
🦝
Oh and update the existing changelog entry with this PR link :) |
9130055
to
ac34938
Compare
Context: Wheels did not pass because of memory issues. After looking into it with address sanitizers, ValueRange is the culprit.
Description of the Change: Do not use ValueRange.
https://github.com/PennyLaneAI/catalyst/actions/runs/6495027163