Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v9.0.0 broke pytorch #108

Closed
h-vetinari opened this issue Feb 4, 2022 · 1 comment · Fixed by #110
Closed

v9.0.0 broke pytorch #108

h-vetinari opened this issue Feb 4, 2022 · 1 comment · Fixed by #110

Comments

@h-vetinari
Copy link
Member

CC @conda-forge/pillow

Thanks to @bollwyvl, I got made aware of pytorch/pytorch#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
Copy link
Member Author

Fixed in #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant