Open Mohinta2892 opened 3 months ago
python -c "import torch; print(torch.__version__) leads to:
python -c "import torch; print(torch.__version__)
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.10/dist-packages/torch/__init__.py", line 236, in <module> from torch._C import * # noqa: F403 ImportError: /opt/hpcx/ucx/lib/libucs.so.0: undefined symbol: ucm_set_global_opts
Solution:
sudo apt-get update && sudo apt-get install --reinstall -y \ libmpich-dev \ hwloc-nox libmpich12 mpich
python -c "import torch; print(torch.__version__)
leads to:Solution: