-
Notifications
You must be signed in to change notification settings - Fork 56
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
Bugfix: _like
factories now default to same device as input DNDarray
#1443
Conversation
First bug fix for v1.4 (unfortunately we need to release this as it makes problems in one of our benchmarks) background: this can't be found in our tests as |
Thank you for the PR! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1443 +/- ##
==========================================
- Coverage 91.58% 91.58% -0.01%
==========================================
Files 80 80
Lines 11647 11652 +5
==========================================
+ Hits 10667 10671 +4
- Misses 980 981 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thank you for the PR! |
Thank you for the PR! |
Error in |
Thank you for the PR! |
@mrfh92 it should work now. I don't know why pre-commit fails. |
_like
factories now default to same device as input DNDarray
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
2 similar comments
Thank you for the PR! |
Thank you for the PR! |
Successfully created backport PR for |
Due Diligence
Description
Issue/s resolved: #1464
Changes proposed:
Edited by @ClaudiaComito on Apr 30
factories.__factory_like(a)
, now device defaults toa.device
unless explicitly setnumpy()
calls fromtest_random
to facilitate testing on AMD runnerType of change
Memory requirements
NA
Performance
test_random
now takes a bit longer as it's running statistical functions on distributed DNDarrays instead of on the gathered numpy arraysDoes this change modify the behaviour of other functions? If so, which?
no