您好,我在虚拟环境中安装了cann7.0.rc1匹配的torch和torch npu,分别是torch 2.1.0、2.0.1、1.11.0,torch npu 2.1.0.rc1、2.0.1、1.11.0post4,均安装成功。输入命令 python3 -c "import torch;import torch_npu;print(torch_npu.npu.is_available())"均返回True,但是输入命令python3 -c "import torch;import torch_npu; a = torch.randn(3, 4).npu(); print(a + a);"均报错RuntimeError: Unsupported soc version: Ascend310B4,请问出现了什么问题?
torch_npu调用报错
已解决



