Accimage vs. Pillow-SIMD

Hi,

I see that torchvision supports 3 backends: Pillow, Pillow-SIMD and accimage. The benchmarks tell me that Pillow-SIMD is a lot faster than Pillow, but I can’t find any sources comparing accimage and Pillow-SIMD. I have both installed, which should I use?

Thanks!

4 Likes

For installation of pillow-simd please follow their github installation section.
https://github.com/uploadcare/pillow-simd

At the current state it is nicely summarized by this gist

Note that Pillow-SIMD is a drop in replacement and you will have to remove Pillow before.

After installation there should be a new suffix to
$ python -c "from PIL import Image; print(Image.__version__)"