Lurker News
Hi everyone, I'm kinda involved in some retrogaming and with some experiments I ran into the following question: "It would be possible to run transformer models bypassing the cpu/ram, connecting the gpu to the nvme?"

This is the result of that question itself and some weekend vibecoding (it has the linked library repository in the readme as well), it seems to work, even on consumer gpus, it should work better on professional ones tho

Comments (101) 23 threads

Show all comments

Showing thread 8 of 23

throwaway20271 reply#
Didn't DirectX add an API for loading assets directly to GPU memory? Would that work?
xaskasdf1 reply#
Actually this idea was fueled by those since I went to check if there was anything near to what I wanted to achieve, pretty useful tho
jonassm#
nvmlib/ssd-gpu-dma and BaM (based on the same code base) are pretty cool as they allow you to initiate disk reads/writes directly from a CUDA kernel (so not only reading/writing directly to GPU memory but also allowing the GPU to initiate IO on its own). Sometimes called GPU-initiated I/O or accelerator-initiated I/O.