[BUG] The ndarray
wrapper in cudf.pandas
doesn't have __array_interface__
.
#15926
Labels
ndarray
wrapper in cudf.pandas
doesn't have __array_interface__
.
#15926
Describe the bug
The
ndarray
wrapper incudf.pandas
doesn't have__array_interface__
, but has__cuda_array_interface__
instead. I assume this is caused by it being backed by cupy. Discovered in #15906 (comment) .Steps/Code to reproduce bug
Run:
Expected behavior
I don't know what to expect in this case. This might actually help XGBoost to work with cuDF pandas wrapper since we can directly fetch the CUDA memory, albeit in a hacky way exploiting an unexpected difference between
cudf.pandas
andpandas
. It's still a bug instead of a defined behavior. I will leave it to cuDF devs to decide what to do with it.Environment overview (please complete the following information)
Environment details
The text was updated successfully, but these errors were encountered: