-
Notifications
You must be signed in to change notification settings - Fork 200
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
[FEA] Supporting cuDF Series in device_array_like #129
Comments
Hmm...the doc label here is a bit unexpected. Unfortunately I don't seem able to fix that. Should be flagged as an enhancement or possibly a bug depending. |
FWIW if I perform this operation with Numba's import numba
import numba.cuda
numba.cuda.to_device(s) cc @kkraus14 ( in response to this comment rapidsai/cuml#1086 (comment) ) |
I'm guessing numba is using EDIT: yup
|
Yeah that makes sense. Using |
Removing array functionality in RMM in future so closing this issue. |
For future readers, please see issue ( #180 ) for context. |
Is your feature request related to a problem? Please describe.
I'd like to run the following code.
Currently this fails with the following error.
Describe the solution you'd like
It would be great if
rmm.device_array_like
worked with Series objects. No strong feelings about how that is accomplished.Describe alternatives you've considered
We could special case handling of
Series
objects, but this shifts the burden to other libraries to solve this problem.Alternatively cuDF
Series
objects could gain astrides
attribute. This could be reasonable.Additional context
This came up when trying to better handle GPU array-like objects in cuML ( rapidsai/cuml#1086 ), which is part of the Grid Search effort.
Edit: More specifically, we tried to use
librmm_cffi.librmm.to_device
instead ofnumba.cuda.to_device
, but were unable to as Series are not supported.The text was updated successfully, but these errors were encountered: