Skip to content
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

Deflakes and refactors torchscript tests #2109

Merged
merged 1 commit into from
Jun 8, 2022
Merged

Conversation

geoffreyangus
Copy link
Collaborator

@geoffreyangus geoffreyangus commented Jun 7, 2022

This PR refactors the torchscript tests in a manner similar to test_ray.py::test_ray_{tabular|text|sequence|audio|image|timeseries} in order to surface output parity issues in a faster and more isolated manner. This should also reduce the time taken by each individual test.

This PR deflakes the torchscript tests by increasing the tolerance when comparing ludwig models and torchscript models trained on audio features. Audio features introduce some numerical mismatch (#2110), likely due to the complex preprocessing. Next steps include investigating this issue further.

@github-actions
Copy link

github-actions bot commented Jun 7, 2022

Unit Test Results

       6 files  ±  0         6 suites  ±0   2h 25m 15s ⏱️ - 2m 34s
2 810 tests +  5  2 778 ✔️ +  5    32 💤 ±0  0 ±0 
8 430 runs  +15  8 330 ✔️ +15  100 💤 ±0  0 ±0 

Results for commit 6bbf1b0. ± Comparison against base commit ec902e2.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@justinxzhao justinxzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new structure works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants