Слияние кода завершено, страница обновится автоматически
import torch
import torch_musa
Traceback (most recent call last):
File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch_musa-2.0.0-py3.8-linux-x86_64.egg/torch_musa/init.py", line 27, in
import torch_musa._MUSAC
ImportError: /usr/local/musa/lib/libmusa.so.1.0: undefined symbol: PVRSRVGetDevInfo
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch_musa-2.0.0-py3.8-linux-x86_64.egg/torch_musa/init.py", line 29, in
raise ImportError("Please try running Python from a different directory!") from err
ImportError: Please try running Python from a different directory!