-
Notifications
You must be signed in to change notification settings - Fork 915
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] Don't copy data in to/from_dlpack when unnecessary #10874
Comments
This wouldn't be possible with the existing That said, we could add a I think a non-copying |
I don't think this would work for Python since we never own any column objects ourselves. |
This issue has been labeled |
This issue has been labeled |
This work is adjacent to #10849 |
To
.to_dlpack()
and.from_dlpack()
methods in cuDF currently always perform a copy to/from the DLTensor. This is reasonable for DataFrames, as the columns of a dataframe in cuDF are not contiguous in memory, nor are they always of the same data type.For a Series however, I believe we should be able to zero-copy to and from DLPack. That is not the case today:
The text was updated successfully, but these errors were encountered: