conda-forge / pillow-feedstock

A conda-smithy repository for pillow.
BSD 3-Clause "New" or "Revised" License
2 stars 29 forks source link

v9.0.0 broke pytorch #108

Closed h-vetinari closed 2 years ago

h-vetinari commented 2 years ago

CC @conda-forge/pillow

Thanks to @bollwyvl, I got made aware of https://github.com/pytorch/pytorch/issues/72293, where import torch fails ever since we merged #104.

C:\Miniconda\envs\ads_venv\lib\site-packages\ivadomed\inference.py:4: in <module>
    import torch
C:\Miniconda\envs\ads_venv\lib\site-packages\torch\__init__.py:123: in <module>
    raise err
E   OSError: [WinError 182] The operating system cannot run %1. Error loading "C:\Miniconda\envs\ads_venv\lib\site-packages\torch\lib\caffe2_detectron_ops.dll" or one of its dependencies.

(Sample CI run here.)

My comment:

[...] I added a bunch of bindings for 9.0.0 that pillow offers support for (like libimagequant), but that weren't previously built-in for the conda-forge packages.

I'm surprised that these relatively minor changes seem to have broken pytorch. Do we know what caffe2_detectron_ops.dll depends on?

h-vetinari commented 2 years ago

Fixed in #107