Skip to content
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

[WIP] POC for supporting cuda ipc for XGBoost scenario #6440

Closed

Conversation

wbo4958
Copy link
Collaborator

@wbo4958 wbo4958 commented Aug 29, 2022

The GpuMapInPandas still requires copying and passing Data from GPU in java process to python process, which may cause some performance issue see the link https://docs.google.com/spreadsheets/d/1PLZSxyjDAyt9cVe2x3Spgc8iGJq5l0rSibD86Mz5SB8/edit#gid=0.

So we have proposed an alternative way by using CUDA IPC, which can make two processes in a PC exchange data In the same machine with zero-copying. The solution is passing CUDA IPC meta info exported by cudf Table API in the row of Pandas.DataFrame in Java process, while python process first should re-construct the cudf Table by importing the CUDA IPC meta info. So this solution just pass some bytes of the CUDA IPC information instead of the whole real data. BTW, this PR depends on rapidsai/cudf#11564

I had the initial design doc from here and the performance testing on XGBoost scenario from here

To support the cuda ipc (zero copy) in GpuMapInPandas based on Jiaming's
export_ipc/import_ipc in cudf PR.

Signed-off-by: Bobby Wang <[email protected]>
@wbo4958
Copy link
Collaborator Author

wbo4958 commented Oct 12, 2022

Close it for now.

@wbo4958 wbo4958 closed this Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant