pyvips
pyvips copied to clipboard
How to take advantage of the GPU while using pyvips/libvips?
Hi,
I know libvips is mainly CPU based library, but there is any way I can use GPU to perform some of the tasks? I used CUDA in python but it didn't really help. What will be than the best practice to reduce the CPU usage (ideally move it to GPU)?
Regards,
Hi @euzada,
We've talked about adding GPU path to libvips, but no one's done the work yet.
Improving efficiency is all about having good benchmarks. Make a small thing that's a good representation of what you need to do, then start digging in with a profiler and a log tool.