-
Notifications
You must be signed in to change notification settings - Fork 916
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
Use cupy.ndarray
(without core
)
#8114
Conversation
@gpucibot merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to change in these files too:
https://github.com/rapidsai/cudf/blob/branch-0.20/python/cudf/cudf/core/algorithms.py#L56
and all the 6 occurences of cp.core.core.ndarray
in : https://github.com/rapidsai/cudf/blob/branch-0.20/python/cudf/cudf/tests/test_factorize.py
`core` is internal to `cupy` and renamed to reflect that in CuPy 9. However that shouldn't be needed to access `ndarray` as it is `import`ed at the top-level. So just use `cupy.ndarray`.
Good catch Prem! 😄 Should be fixed above. Can you please take another look? 🙂 |
@gpucibot merge |
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #8114 +/- ##
===============================================
+ Coverage 82.88% 82.91% +0.02%
===============================================
Files 103 103
Lines 17668 17868 +200
===============================================
+ Hits 14645 14816 +171
- Misses 3023 3052 +29
Continue to review full report at Codecov.
|
core
is internal tocupy
and renamed to reflect that in CuPy 9. However that shouldn't be needed to accessndarray
as it isimport
ed at the top-level. So just usecupy.ndarray
.cc @kkraus14 @rjzamora