NRCan / geo-deep-learning

Deep learning applied to georeferenced datasets
https://geo-deep-learning.readthedocs.io/en/latest/
MIT License
150 stars 49 forks source link

BUG: importing torch raises ImportError #560

Closed valhassan closed 3 months ago

valhassan commented 3 months ago

Describe the bug Import torch raises ImportError: /opt/conda/envs/geo_deep_env/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so: undefined symbol: iJIT_NotifyEvent. This is related to this issue https://github.com/pytorch/pytorch/issues/123097

This error was first observed running github CI.

To Reproduce Steps to reproduce the behavior:

  1. Make a simple pull request
  2. Allow github CI/CD pipeline to run
  3. See error

Expected behavior In a conda environment with dependencies installed as defined in enviroment.yml; torch imports should not raise an error