-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
relax two test tolerances on x86_64 #16002
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
flake8 errors:
|
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'm a bit uneasy relaxing tolerances just because "then it works". If it worked before and does not work now, we should at least have a rough idea what changed. Can you provide the diff image of the failed tests?
OTOH this was done already for aarch64, so relaxing is maybe not too bad?
I'm with you there. When running the tests locally I noticed those tests are failing with the same tolerance as the aarch64 exceptions, so I threw that curve ball at you. I would guess that the exceptions aren't related to the architecture but the version of some dependency, perhaps a few layers down. Might be hard to figure out. |
Can you provide the diff image of the failed tests? They should be in the folder |
Also, do you still observe the need for this after |
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 for the images! Both are subpixel positioning issues. I think it's ok to increase the tolerance in these cases without digging into the actual difference in the environment.
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.
These fail for me too, but I never had time to investigate. So if people are okay with bumping the tolerance, I'm happy to see two less failures.
When running the tests locally on
x86_64
, I had to relax two tolerances to the same value asaarch64
.This is on Ubuntu 20.04, so perhaps the reason why no one else has run into this before is an upgraded version in the dependency stack.