×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

编译pytorch时报错 已解决 YukSing2021-08-12 14:07:45 回复 2 查看 使用求助
编译pytorch时报错
分享到:

python3编译pytorch,运行

source env_pytorch.sh
./configure_pytorch.sh 0 0

报错:

=========================build catch===================================
...
[ 91%] Building CXX   aten/CMakeFiles/aten_mlu.dir/operators/cnml/eq.cpp.o
[ 92%] Building CXX   aten/CMakeFiles/aten_mlu.dir/operators/cnml/internal/minimum_internal.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
aten/CMakeFiles/aten_mlu.dir/build.make:1502: recipe for target 'aten/CMakeFiles/aten_mlu.dir/operators/cnml/log.cpp.o' failed
make[2]: *** [aten/CMakeFiles/aten_mlu.dir/operators/cnml/log.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs....
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
aten/CMakeFiles/aten_mlu.dir/build.make:2030: recipe for target 'aten/CMakeFiles/aten_mlu.dir/operators/cnml/internal/std_internal.cpp.o' failed
make[2]: *** [aten/CMakeFiles/aten_mlu.dir/operators/cnml/internal/std_internal.cpp.o] Error 4
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
...
make[1]: *** [aten/CMakeFiles/aten_mlu.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Failed to run 'bash ../ /build_catch_lib.sh'


版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭