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
torch版本2.1 python版本3.8 执行python3 -c "import torch;import torch_npu; a = torch.randn(3, 4).npu(); print(a + a);"命令时,产生错误: Traceback (most recent call last): File "/data/package/pytorch/torch_npu/__init__.py", line 14, in <module> import torch_npu.npu File "/data/package/pytorch/torch_npu/npu/__init__.py", line 111, in <module> from .utils import (synchronize, device_count, can_device_access_peer, set_device, current_device, get_device_name, File "/data/package/pytorch/torch_npu/npu/utils.py", line 11, in <module> import torch_npu._C ModuleNotFoundError: No module named 'torch_npu._C' Traceback (most recent call last): File "<string>", line 1, in <module> File "/data/package/pytorch/torch_npu/__init__.py", line 37, in <module> import torch_npu.npu.amp File "/data/package/pytorch/torch_npu/npu/__init__.py", line 111, in <module> from .utils import (synchronize, device_count, can_device_access_peer, set_device, current_device, get_device_name, File "/data/package/pytorch/torch_npu/npu/utils.py", line 11, in <module> import torch_npu._C ModuleNotFoundError: No module named 'torch_npu._C'
The text was updated successfully, but these errors were encountered:
torch版本2.1 python版本3.8 执行python3 -c "import torch;import torch_npu; a = torch.randn(3, 4).npu(); print(a + a);"命令时,产生错误:
Traceback (most recent call last): File "/data/package/pytorch/torch_npu/__init__.py", line 14, in <module> import torch_npu.npu File "/data/package/pytorch/torch_npu/npu/__init__.py", line 111, in <module> from .utils import (synchronize, device_count, can_device_access_peer, set_device, current_device, get_device_name, File "/data/package/pytorch/torch_npu/npu/utils.py", line 11, in <module> import torch_npu._C ModuleNotFoundError: No module named 'torch_npu._C' Traceback (most recent call last): File "<string>", line 1, in <module> File "/data/package/pytorch/torch_npu/__init__.py", line 37, in <module> import torch_npu.npu.amp File "/data/package/pytorch/torch_npu/npu/__init__.py", line 111, in <module> from .utils import (synchronize, device_count, can_device_access_peer, set_device, current_device, get_device_name, File "/data/package/pytorch/torch_npu/npu/utils.py", line 11, in <module> import torch_npu._C ModuleNotFoundError: No module named 'torch_npu._C'
The text was updated successfully, but these errors were encountered: