Ascend / pytorch

Ascend PyTorch adapter (torch_npu). Mirror of https://gitee.com/ascend/pytorch

Home Page:https://ascend.github.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

链接时报错torch_npu::init_npu(std::string const&)

nihao1997 opened this issue · comments

编译时候报错torch_npu::init_npu(std::string const&)
nm 命令查找libtorch_npu.so,也未找到这个函数

commented

image
不论是pip还是源码编译出的库中均会出现类似的问题

如果是使用libtorch_npu,请使用build_libtorch_npu.py编译获得