E12011: IR for optype[Conv2D] is not registered
问题现象:
cann 20.1 版本 ATC 报错 信息如下:
E19000: Path[/usr/local/Ascend/ascend-toolkit/20.1.rc1/arm64-linux/opp/op_impl/custom/ai_core/tbe/config/ascend310]'s realpath is empty, errmsg[The file path does not exist.]
E12011: IR for op[cal_loss_and_accuracy/conv1_1_cal/conv1_1_conv/Conv2D] optype[Conv2D] is not registered.
解决方案:
mkdir -p /usr/local/Ascend/ascend-toolkit/20.1.rc1/arm64-linux/opp/op_impl/custom/ai_core/tbe/config/ascend310
环境变量设置为:
install_path=/usr/local/Ascend/ascend-toolkit/latest
export PATH=/usr/local/python3.7.5/bin:${install_path}/atc/ccec_compiler/bin:${install_path}/atc/bin:$PATH
export PYTHONPATH=${install_path}/atc/python/site-packages:${install_path}/atc/python/site-packages/auto_tune.egg/auto_tune:${install_path}/atc/python/site-packages/schedu
le_search.egg:$PYTHONPATH
export LD_LIBRARY_PATH=${install_path}/atc/lib64:$LD_LIBRARY_PATH
export ASCEND_OPP_PATH=${install_path}/opp
export SLOG_PRINT_TO_STDOUT=1
- 点赞
- 收藏
- 关注作者
评论(0)