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

Bugs/1627 bug test vmap fails on multi node runs on hardware accelerators #1738

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

mrfh92
Copy link
Collaborator

@mrfh92 mrfh92 commented Dec 4, 2024

Due Diligence

  • General:
  • Implementation:
    • unit tests: all split configurations tested
    • unit tests: multiple dtypes tested
    • benchmarks: created for new functionality
    • benchmarks: performance improved or maintained
    • documentation updated where needed

Description

Issue/s resolved: #1627

Changes proposed:

default accuracy in allclose is to high for one test on GPUs and some CPUs

Type of change

decrease accuracy (to tolerance 1e-4, which is still small enough to exclude passing of the test by lucky chance)

@mrfh92 mrfh92 marked this pull request as ready for review December 4, 2024 15:30
Copy link
Contributor

github-actions bot commented Dec 5, 2024

Thank you for the PR!

@mrfh92
Copy link
Collaborator Author

mrfh92 commented Dec 5, 2024

seems to be even more strange: the GitHub runner also only achieves tol=1e-4 on CPU for the respective test
also, the CPU runners for the first check requires lower tol as well

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.26%. Comparing base (ba56ef3) to head (9cee7e4).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1738   +/-   ##
=======================================
  Coverage   92.26%   92.26%           
=======================================
  Files          84       84           
  Lines       12445    12445           
=======================================
  Hits        11482    11482           
  Misses        963      963           
Flag Coverage Δ
unit 92.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Dec 9, 2024

Thank you for the PR!

1 similar comment
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Thank you for the PR!

@mrfh92 mrfh92 self-assigned this Dec 9, 2024
@mrfh92 mrfh92 added bug Something isn't working testing Implementation of tests, or test-related issues manipulations labels Dec 9, 2024
@mrfh92 mrfh92 requested a review from JuanPedroGHM December 9, 2024 16:43
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Thank you for the PR!

@mrfh92 mrfh92 added the PR talk label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working manipulations PR talk testing Implementation of tests, or test-related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: test_vmap fails on multi-node runs on hardware accelerators
1 participant