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

Rewrote tests for scalars and dtypes. Wrote tests for ranks. #168

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

kmitrovicTT
Copy link
Contributor

Fixed #135.

@kmitrovicTT kmitrovicTT force-pushed the kmitrovic/fix_tests_for_dtypes_and_scalars branch 2 times, most recently from 83b2cb5 to bacd7b4 Compare January 17, 2025 12:44
@kmitrovicTT
Copy link
Contributor Author

Opened a couple of issues: #169, #170, #171, #172, #173

@kmitrovicTT kmitrovicTT marked this pull request as ready for review January 17, 2025 13:19
@kmitrovicTT kmitrovicTT force-pushed the kmitrovic/fix_tests_for_dtypes_and_scalars branch from bacd7b4 to fa98957 Compare January 30, 2025 08:56
Copy link

github-actions bot commented Jan 30, 2025

TestsPassed ✅Skipped ⚠️Failed
TT-XLA Tests629 ran436 passed193 skipped0 failed
TestResult
No test annotations available

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.24%. Comparing base (35cce74) to head (41e0130).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
+ Coverage   77.46%   78.24%   +0.78%     
==========================================
  Files          21       21              
  Lines        1025     1025              
==========================================
+ Hits          794      802       +8     
+ Misses        231      223       -8     

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

@kmitrovicTT kmitrovicTT force-pushed the kmitrovic/fix_tests_for_dtypes_and_scalars branch 4 times, most recently from 2d7cc50 to 9050fab Compare February 5, 2025 11:58
@kmitrovicTT kmitrovicTT force-pushed the kmitrovic/fix_tests_for_dtypes_and_scalars branch from 9050fab to 41e0130 Compare February 5, 2025 11:59
Comment on lines -15 to -17
@pytest.mark.xfail(
reason="AssertionError: Atol comparison failed. Calculated: atol=0.804124116897583. Required: atol=0.16"
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test unexpectedly passes now. @mrakitaTT
Same happened with test_simple_regression in #174

Copy link
Contributor

Choose a reason for hiding this comment

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

The most reasonable explanation is what @sgligorijevicTT suggested that metal might have some non-determinism issues, but we should keep this on our radar and monitor if it happens again in the future.

@kmitrovicTT kmitrovicTT merged commit 9935147 into main Feb 5, 2025
6 checks passed
@kmitrovicTT kmitrovicTT deleted the kmitrovic/fix_tests_for_dtypes_and_scalars branch February 5, 2025 14:06
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.

Add tests for ranks
3 participants