运行环境:PC Ubuntu22.04 X86-64
CANN版本:7.0.RC1.alpha003
Python环境:3.7.5
报错信息显示:找不到#include <type_traits>头文件,但是在toolchain下面是可以找到这个文件的,求大神解答
=====================================================
报错信息如下:
atc --model=./model/export_aemodel.onnx --framework=5 --output=export_model --input_format=NCHW --input_shape="input:16,784" --log=error --soc_version=Ascend310B1
ATC start working now, please wait for a moment.
run stack spill compile error: In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings]
#warning The vector size is manually reset.
^
In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:68:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_intrinsics.h:20:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 warning and 1 error generated.
run stack spill compile error: In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings]
#warning The vector size is manually reset.
^
In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:68:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_intrinsics.h:20:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 warning and 1 error generated.
run stack spill compile error: In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings]
#warning The vector size is manually reset.
运行环境:PC Ubuntu22.04 X86-64
CANN版本:7.0.RC1.alpha003
Python环境:3.7.5
报错信息显示:找不到#include <type_traits>头文件,但是在toolchain下面是可以找到这个文件的,求大神解答
=====================================================
报错信息如下:
atc --model=./model/export_aemodel.onnx --framework=5 --output=export_model --input_format=NCHW --input_shape="input:16,784" --log=error --soc_version=Ascend310B1
ATC start working now, please wait for a moment.
run stack spill compile error: In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings]
#warning The vector size is manually reset.
^
In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:68:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_intrinsics.h:20:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 warning and 1 error generated.
run stack spill compile error: In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings]
#warning The vector size is manually reset.
^
In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:68:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_intrinsics.h:20:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 warning and 1 error generated.
run stack spill compile error: In file included from <built-in>:1:
In file included from /home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_runtime_wrapper.h:39:
/home/nathan/Ascend/ascend-toolkit/7.0.RC1.alpha003/x86_64-linux/ccec_compiler/lib/clang/15.0.5/include/__clang_cce_vector_types.h:19:2: warning: The vector size is manually reset. [-W#warnings]
#warning The vector size is manually reset.