-
Notifications
You must be signed in to change notification settings - Fork 96
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
Gds support? #2
Comments
Yes gds it would be nice, because only direct storage(https://docs.nvidia.com/gpudirect-storage/overview-guide/index.html) it is working with GPU-DALI(https://github.com/NVIDIA/DALI) |
I don't know much about this, but the same idea should work. Would merge clean working GDS. |
gpu-dali is for all gpu cards, but nvidia gds(direct storage, the name now is Magnum IO) is only for professional gpus... NVIDIA DALI: DALI is a library that accelerates data loading and preprocessing in deep learning applications. It is designed to improve input/output and data processing efficiency by shifting these tasks to the GPU, thereby freeing CPU resources for other operations. GPUDirect Storage is part of NVIDIA's Magnum IO suite of technologies designed to optimize and accelerate data transfer between storage and GPUs. |
Hm, at first I was confused with this NVIDIA marketing stuff, but it seems to be outdated and now GPUDirect Storage should work on alll cards and any NVMe drive. The only thing you need is cufile for Linux and Windows. By the way Microsoft have their own implementation compatible with NV GDS, they call it something like DirectStorage (without GPU) and it is aimed at games as well. So right now I look at Windows 11 settings with RTX 4090 and Windows 11 reports I have GPU Direct enabled out of the box and it is fully supported. Regarding NV, I guess they update GPUDirect Storage implementation in drivers and it is enabled without their Magnum NVMe. Also what if we do it like Windows 95 style from old era PCs and create a RAM disk out of RAM and present it as SSD or NVMe storage (Microsoft DirectStorage supports also SSD, not only NVMe),,,,but with ramdisk we should have even faster beast because ram is faster than nvme, right? But it would use DirectStorage API and work with it like with NVMe directly, so it shouldf not use CPU. Currently I'm looking for cufile for Windows because I cannot find it and on Github you have several GDS and GPUDirect implementations and the only dependency is cufile - Cuda kernel that is able to leverage file storage - that is also how DALI, TRITON, DeepSpeed and GPUDirect Storage works internally. DALI only has some pool of buffers for streaming on top of cufile and they claim it is faster than just cufile. But it can be just NV marketing toy because no one else on the market do it this way and nobody showed any kind of benchmark. |
NVIDIA Open GPU Kernel Modules Version
NONE
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
Operating System and Version
None
Kernel Release
None
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
Hardware: GPU
None
Describe the bug
Howdy! Thank you so much for this work!
Kinda stupid question, could we use same hack for gds support, for weights offloading?
Thanks!
To Reproduce
None
Bug Incidence
Once
nvidia-bug-report.log.gz
None
More Info
No response
The text was updated successfully, but these errors were encountered: