You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/zhutao/workspace/standby_v_sf/code/myr.py", line 3, in
import torch_musa
File "/home/zhutao/programs/conda3/lib/python3.10/site-packages/torch_musa/init.py", line 40, in
raise ImportError("Please try running Python from a different directory!") from err
ImportError: Please try running Python from a different directory!
The text was updated successfully, but these errors were encountered:
安装了以版本torch和torch_musa
torch 2.0.0+cpu
torch_musa 1.2.1
以及MUSA+SDK-MUSA+SDK+rc3.1.0的SDK
运行import torch_musa时报以下错误,该如何解决:
Traceback (most recent call last):
File "/home/zhutao/programs/conda3/lib/python3.10/site-packages/torch_musa/init.py", line 38, in
import torch_musa._MUSAC
ImportError: /home/zhutao/programs/conda3/lib/python3.10/site-packages/torch_musa/lib/libmusa_kernels.so: undefined symbol: _ZN2at18_GeneratorRegisterC1ESt8functionIFNS_9GeneratorEaEE
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/zhutao/workspace/standby_v_sf/code/myr.py", line 3, in
import torch_musa
File "/home/zhutao/programs/conda3/lib/python3.10/site-packages/torch_musa/init.py", line 40, in
raise ImportError("Please try running Python from a different directory!") from err
ImportError: Please try running Python from a different directory!
The text was updated successfully, but these errors were encountered: