-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Describe the bug:
Traceback (most recent call last):
File "/home/dbreitman/21CMMC/src/test_21cmmc_H6C_provision_radio.py", line 39, in
c21cmemu = core.CoreRadioEMU()
File "/home/dbreitman/21CMMC/src/py21cmmc/core.py", line 1494, in init
self.emulator = Emulator(emulator = 'radio_background',version=version)
File "/home/dbreitman/.conda/envs/pytorch_env/lib/python3.10/site-packages/py21cmemu/emulator.py", line 60, in init
import torch
File "/home/dbreitman/.conda/envs/pytorch_env/lib/python3.10/site-packages/torch/init.py", line 237, in
from torch._C import * # noqa: F403
ImportError: /home/dbreitman/.conda/envs/pytorch_env/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so: symbol cudaLaunchKernelExC, version libcudart.so.11.0 not defined in file libcudart.so.11.0 with link time reference
Solution is to always make sure torch is imported BEFORE tensorflow...