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

NVIDIA DALI pipelines to facilitate direct loading of data into GPU memory. #54

Open
negin513 opened this issue Jul 15, 2024 · 1 comment

Comments

@negin513
Copy link
Contributor

I have recently learned about NVIDIA DALI (Data Loading Library) that can be used for streaming data directly.

This can be potentially used for data streaming of our files directly to GPUs to avoid any CPU-GPU data transfer latency.

This discussion in Xarray Repository is relevant: pydata/xarray#9249

@weiji14 suggested that this can be integrated as a dedicated BackendEntrypoint as an alternative to the kvikio engine and I like this idea.

@weiji14
Copy link
Member

weiji14 commented Feb 25, 2025

A group of us are hacking on this together over at https://github.com/pangeo-data/ncar-hackathon-xarray-on-gpus. As mentioned at pangeo-data/ncar-hackathon-xarray-on-gpus#4 (comment), we know that DALI's ExternalSource operator works with zarr-python (no xarray) at least. Currently trying to see if this works with DALI's python_function operator too over at pangeo-data/ncar-hackathon-xarray-on-gpus#11. The developer/user experience isn't very ergonomic yet, but just mentioning that there are ideas floating around on what needs to be done upstream in various libraries to make this happen.

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

No branches or pull requests

2 participants