pytorch-direct_dgl icon indicating copy to clipboard operation
pytorch-direct_dgl copied to clipboard

Does the input tensor have to be from CPU?

Open srikanthmalla opened this issue 2 years ago • 2 comments

Hi, Thank you for the interesting work.

In your readme examples you mentioned this: input_tensor: A given input 2D tensor in CPU

But in the paper, you have also mentioned very large GNN models can give OOM. In this case what if we store the node features on NVMe? Do you have a simple example then? Does the library avoid CPU and go to GPU in that case, like the GPUDirect or DALI? Please let me know.

srikanthmalla avatar Mar 29 '23 18:03 srikanthmalla

Hi there, thank you for your interest. Sorry that we didn't look into and evaluate the direct access to NVMe in this project.

K-Wu avatar Apr 04 '23 07:04 K-Wu

Usually, we assume CPU memory is big enough. You can refer to https://marius-project.org/publications/ to find some papers which store the node in the disk.

LukeLIN-web avatar Jul 01 '23 07:07 LukeLIN-web