-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
🚀 Feature
We currently provide CPU image decoding functions for PNG and JPEG. It could be interesting to consider using nvjpeg to perform decoding directly on the GPU, as it could benefit certain workloads.
Motivation
With CUDA 10.0, nvjpeg is part of the CUDA toolkit, which means that it would be easily accessible for us to use it.
The API for the decoding function is not yet clear to me, and would require some digging
Ideally, passing a CUDA tensor for decode_jpeg
should do the decoding on the GPU, although I'm not sure if that's how nvjpeg works internally.
vfdev-5, cceyda, sorenbouma, khursani8, kairos03 and 1 more