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

DM-45545: Change autocast to handle numpy types #115

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

timj
Copy link
Member

@timj timj commented Jan 30, 2025

In numpy 2 numpy ints and floats stringify to np.int64/float64 and they can not be read back in again. This change forces numeric types to be converted to standard python types.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

In numpy 2 numpy ints and floats stringify to np.int64/float64
and they can not be read back in again. This change forces
numeric types to be converted to standard python types.
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.01%. Comparing base (8534526) to head (310599b).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
+ Coverage   86.00%   86.01%   +0.01%     
==========================================
  Files          46       46              
  Lines        3645     3648       +3     
==========================================
+ Hits         3135     3138       +3     
  Misses        510      510              

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

@timj timj requested a review from andy-slac January 31, 2025 21:33
@timj timj merged commit 384b627 into main Jan 31, 2025
14 checks passed
@timj timj deleted the tickets/DM-45545 branch January 31, 2025 22:17
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.

2 participants