Traceback (most recent call last): File "/opt/conda/bin/accelerate", line 5, in <module>…
- User
Traceback (most recent call last): File "/opt/conda/bin/accelerate", line 5, in from accelerate.commands.accelerate_cli import main File "/opt/conda/lib/python3.10/site-packages/accelerate/init.py", line 16, in from .accelerator import Accelerator File "/opt/conda/lib/python3.10/site-packages/accelerate/accelerator.py", line 32, in import torch File "/opt/conda/lib/python3.10/site-packages/torch/init.py", line 290, in from torch._C import * # noqa: F403 ImportError: /opt/conda/lib/python3.10/site-packages/torch/lib/../../nvidia/cusparse/lib/libcusparse.so.12: undefined symbol: __nvJitLinkComplete_12_4, version libnvJitLink.so.12
- Assistant
The error you're encountering seems to relate to an issue with the NVIDIA CUDA libraries, particularly
libcusparse.so.12and a missing symbol . This error typically indicates a mismatch or incompatibility between the versions of the installed CUDA toolkit and the PyTorch binary, or possibly the NVIDIA drivers.