-
Notifications
You must be signed in to change notification settings - Fork 25k
fix bug in assertNotEqual for int tensors #25412
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
@@ -235,7 +235,8 @@ def test_qtensor_view(self): | |||
self.assertEqual(b.size(), c.size()) | |||
self.assertEqual(b.q_scale(), c.q_scale()) | |||
self.assertEqual(b.q_zero_point(), c.q_zero_point()) | |||
self.assertNotEqual(b.int_repr(), c.int_repr()) | |||
# TODO: fix flaky test |
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.
was an issue filed for this?
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.
discussed with @jerryzh168 who I believe is currently fixing. I'm anticipating that I may be merging his fix before landing this, depending how quick he is.
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.
do you need to comment the asserts in test_qtensor_reshape as well?
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.
maybe? I couldn't get it to fail on my dev server so was waiting to see again in this CI build.
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.
I checked again and these should be correct.
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.
ugh, unfortunately reshape did fail
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.
I see, then please rebase on my pr #25429
reshape also failed, from ci log:
|
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.
@nairbv is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
re-apply: #25199
but without a failing quantized test