-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
add numerical test to CI #19260
add numerical test to CI #19260
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19260 +/- ##
===========================================
- Coverage 80.14% 54.02% -26.13%
===========================================
Files 341 363 +22
Lines 36163 39422 +3259
Branches 7116 7630 +514
===========================================
- Hits 28982 21296 -7686
- Misses 5578 16575 +10997
+ Partials 1603 1551 -52
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks for the PR!
We can add this step to the GitHub action (no need to add it to requirements.txt) |
@@ -41,7 +44,8 @@ def build_keras_model(keras_module, num_classes): | |||
keras_module.layers.Conv2D( | |||
64, kernel_size=(3, 3), activation="relu" | |||
), | |||
keras_module.layers.BatchNormalization(scale=False, center=True), | |||
# TODO: Renable the following line. |
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 is the issue? Numerical difference across backends?
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.
Yes, if I add this layer, TF and JAX tests would fail due to numerical differences.
Resolves #19216.
Add numerical test to the CI to catch more bugs.