data icon indicating copy to clipboard operation
data copied to clipboard

Would TorchData provide GPU support for loading and preprocessing images?

Open songyuc opened this issue 3 years ago • 3 comments

🚀 The feature

Would TorchData provide GPU support for loading and preprocessing images?

Motivation, pitch

When I am learning PyTorch, I find, currently, it do not support using GPU to load images or any other transforms of preprocessing and encoding data. I want to know whether this would be taken into consideration into the design of TorchData.

Alternatives

Currently, NVIDIA-DALI is an impressive alternative for loading and preprocessing images with GPU.

Additional context

No response

songyuc avatar Sep 03 '22 09:09 songyuc

Hi @songyuc this is something I'm working on and will keep you posted on plans

msaroufim avatar Sep 06 '22 10:09 msaroufim

Hi @songyuc this is something I'm working on and will keep you posted on plans

I am looking forward to your contribution sincerely🥳

songyuc avatar Sep 06 '22 11:09 songyuc

@msaroufim I am interested to help you out if its possible. Seems pretty useful :). Let me know if I can do anything here.

Atharva-Phatak avatar Oct 13 '22 03:10 Atharva-Phatak

Just for discussion, would torch.cuda.Stream facilitate GPU data loading?

songyuc avatar Nov 17 '22 16:11 songyuc

cc @dracifer

wenleix avatar Nov 21 '22 20:11 wenleix