-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
Move threshold up for flaky test with Electra #6622
Conversation
@@ -312,7 +312,7 @@ def test_pt_tf_model_equivalence(self): | |||
print(config) | |||
print(inputs_dict) | |||
print(pt_inputs_dict) | |||
self.assertLessEqual(max_diff, 2e-2) | |||
self.assertLessEqual(max_diff, 4e-2) |
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.
think we should update the if max_diff >= 2e-2:
to 4-e2
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.
Didn't see it, thanks for catching that mistake!
Codecov Report
@@ Coverage Diff @@
## master #6622 +/- ##
==========================================
+ Coverage 79.01% 79.69% +0.68%
==========================================
Files 156 156
Lines 28217 28217
==========================================
+ Hits 22295 22487 +192
+ Misses 5922 5730 -192
Continue to review full report at Codecov.
|
Great, thanks for taking care of it! |
* Move threshold up for flaky test with Electra * Update above as well
* Move threshold up for flaky test with Electra * Update above as well
…)" This reverts commit f16ebea.
As discussed on slack, this should take care of the Electra flaky test with PT/TF equivalence.
@LysandreJik just a ping for when you're back so you're aware.