pytorch / ignite

High-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently.
https://pytorch-ignite.ai
BSD 3-Clause "New" or "Revised" License
4.51k stars 612 forks source link

Removed mkl from dev deps #3226

Closed vfdev-5 closed 6 months ago

vfdev-5 commented 6 months ago

Description:

Context: We have now failing tests for GHA pytorch version tests: https://github.com/pytorch/ignite/actions/runs/8444583767

 Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/torch/__init__.py", line 218, in <module>
    from torch._C import *  # noqa: F403
ImportError: /usr/share/miniconda3/envs/test/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent

The failure is due to mkl incompatibility between conda's installed version and the one installed by pip from requirements-dev.txt

We added mkl in this PR: https://github.com/pytorch/ignite/pull/1971 due to failing CI on pytorch nightly at that time.