登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,Gitee × 模力方舟来成都了!聚焦 AI 应用在开发范式、算力架构、交互设计、硬件选型等跨场景创新实践,点击立即报名~
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
机器学习/深度学习
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
88
Star
645
Fork
1.3K
Ascend
/
pytorch
代码
Issues
41
Pull Requests
388
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
编译安装后无法通过测试
DONE
#I5YE0Y
Bug-Report
Azuk
创建于
2022-10-29 16:27
一、问题现象(附报错日志上下文): 在安装 pytorch 后,运行 test/test_network_ops/test_div.py 报错,NPU error code 500002 二、软件版本: -- CANN 版本 (e.g., CANN 3.0.x,5.x.x): 6.0.RC1.alpha003 --Tensorflow/Pytorch/MindSpore 版本: pytorch 1.11.0 --Python 版本 (e.g., Python 3.7.5): Python 3.9 -- MindStudio版本 (e.g., MindStudio 2.0.0 (beta3)): - --操作系统版本 (e.g., Ubuntu 18.04): CentOS 7.9 三、测试步骤: ``` $ conda create -n pytorch python=3.9 $ conda install pytorch=1.11.0 torchvision torchaudio cpuonly -c pytorch $ cd pytorch/ $ bash ci/build.sh --python=3.9 $ pip install --upgrade dist/torch_npu-1.11rc1-cp39-cp39-linux_x86_64.whl $ source env.sh $ python3 ./test_div.py ``` 四、日志信息: ``` [W OperatorEntry.cpp:133] Warning: Overriding a previously registered kernel for the same operator and the same dispatch key operator: aten::is_pinned(Tensor self, Device? device=None) -> (bool) registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterSchema.cpp:6 dispatch key: BackendSelect previous kernel: registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterBackendSelect.cpp:606 new kernel: registered at /home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/aten/PinMemory.cpp:43 (function registerKernel) [W OperatorEntry.cpp:133] Warning: Overriding a previously registered kernel for the same operator and the same dispatch key operator: aten::_pin_memory(Tensor self, Device? device=None) -> (Tensor) registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterSchema.cpp:6 dispatch key: BackendSelect previous kernel: registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterBackendSelect.cpp:606 new kernel: registered at /home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/aten/PinMemory.cpp:43 (function registerKernel) [W OperatorEntry.cpp:133] Warning: Overriding a previously registered kernel for the same operator and the same dispatch key operator: aten::_has_compatible_shallow_copy_type(Tensor self, Tensor from) -> (bool) registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterSchema.cpp:6 dispatch key: (catch all) previous kernel: registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:10303 new kernel: registered at /home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/aten/ops/HasCompatibleShallowCopyType.cpp:37 (function registerKernel) .........EEE. ====================================================================== ERROR: test_div_shape_format_fp16 (__main__.TestDiv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/decorator.py", line 91, in wrapper func(*args, **kw) File "/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/test/test_network_ops/./test_div.py", line 67, in test_div_shape_format_fp16 cpu_input1, npu_input1 = create_common_tensor(item, 1, 100) File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/common_utils.py", line 107, in create_common_tensor npu_input = torch_npu.npu_format_cast(npu_input, npu_format) RuntimeError: Run:/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/framework/OpParamMaker.cpp:136 NPU error,NPU error code is:500002 E49999: Inner Error! E49999 Compile op[trans_TransData_1,] failed, oppath[/home/zzz/Ascend/ascend-toolkit/6.0.RC1.alpha003/opp/op_impl/built-in/ai_core/tbe/impl/dynamic/trans_data.py], optype[TransData], taskID[64]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:864] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448425297664] recompile single op[trans_TransData_1] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448425297664] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:890] [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1460] Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank2_new_sub_graph2[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] subgraph 1 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714] build graph failed, graph id:31, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:162] [Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448291079936] recompile single op[trans_TransData_3] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448291079936] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:32, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] ====================================================================== ERROR: test_div_shape_format_fp32 (__main__.TestDiv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/decorator.py", line 91, in wrapper func(*args, **kw) File "/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/test/test_network_ops/./test_div.py", line 82, in test_div_shape_format_fp32 cpu_input1, npu_input1 = create_common_tensor(item, 1, 100) File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/common_utils.py", line 107, in create_common_tensor npu_input = torch_npu.npu_format_cast(npu_input, npu_format) RuntimeError: Run:/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/framework/OpParamMaker.cpp:136 NPU error,NPU error code is:500002 E29999: Inner Error! E29999 [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448400119552] recompile single op[trans_TransData_5] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448400119552] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:890] [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1460] Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank2_new_sub_graph2[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] subgraph 1 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714] build graph failed, graph id:33, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:162] [Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] Compile op[trans_TransData_7,] failed, oppath[/home/zzz/Ascend/ascend-toolkit/6.0.RC1.alpha003/opp/op_impl/built-in/ai_core/tbe/impl/dynamic/trans_data.py], optype[TransData], taskID[81]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:864] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448769234688] recompile single op[trans_TransData_7] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448769234688] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:38, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140449037604608] recompile single op[trans_TransData_9] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140449037604608] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:39, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] ====================================================================== ERROR: test_div_shape_format_fp32_1 (__main__.TestDiv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/decorator.py", line 91, in wrapper func(*args, **kw) File "/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/test/test_network_ops/./test_div.py", line 123, in test_div_shape_format_fp32_1 cpu_input1, npu_input1 = create_common_tensor(item, 1, 100) File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/common_utils.py", line 107, in create_common_tensor npu_input = torch_npu.npu_format_cast(npu_input, npu_format) RuntimeError: Run:/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/framework/OpParamMaker.cpp:136 NPU error,NPU error code is:500002 E29999: Inner Error! E29999 [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448760841984] recompile single op[trans_TransData_11] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448760841984] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:890] [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1460] Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank2_new_sub_graph2[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] subgraph 1 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714] build graph failed, graph id:40, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:162] [Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448760841984] recompile single op[trans_TransData_13] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] build graph failed, graph id:44, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448786020096] recompile single op[trans_TransData_15] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448786020096] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:45, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] ---------------------------------------------------------------------- Ran 13 tests in 27.964s FAILED (errors=3) ```
一、问题现象(附报错日志上下文): 在安装 pytorch 后,运行 test/test_network_ops/test_div.py 报错,NPU error code 500002 二、软件版本: -- CANN 版本 (e.g., CANN 3.0.x,5.x.x): 6.0.RC1.alpha003 --Tensorflow/Pytorch/MindSpore 版本: pytorch 1.11.0 --Python 版本 (e.g., Python 3.7.5): Python 3.9 -- MindStudio版本 (e.g., MindStudio 2.0.0 (beta3)): - --操作系统版本 (e.g., Ubuntu 18.04): CentOS 7.9 三、测试步骤: ``` $ conda create -n pytorch python=3.9 $ conda install pytorch=1.11.0 torchvision torchaudio cpuonly -c pytorch $ cd pytorch/ $ bash ci/build.sh --python=3.9 $ pip install --upgrade dist/torch_npu-1.11rc1-cp39-cp39-linux_x86_64.whl $ source env.sh $ python3 ./test_div.py ``` 四、日志信息: ``` [W OperatorEntry.cpp:133] Warning: Overriding a previously registered kernel for the same operator and the same dispatch key operator: aten::is_pinned(Tensor self, Device? device=None) -> (bool) registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterSchema.cpp:6 dispatch key: BackendSelect previous kernel: registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterBackendSelect.cpp:606 new kernel: registered at /home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/aten/PinMemory.cpp:43 (function registerKernel) [W OperatorEntry.cpp:133] Warning: Overriding a previously registered kernel for the same operator and the same dispatch key operator: aten::_pin_memory(Tensor self, Device? device=None) -> (Tensor) registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterSchema.cpp:6 dispatch key: BackendSelect previous kernel: registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterBackendSelect.cpp:606 new kernel: registered at /home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/aten/PinMemory.cpp:43 (function registerKernel) [W OperatorEntry.cpp:133] Warning: Overriding a previously registered kernel for the same operator and the same dispatch key operator: aten::_has_compatible_shallow_copy_type(Tensor self, Tensor from) -> (bool) registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterSchema.cpp:6 dispatch key: (catch all) previous kernel: registered at /opt/conda/conda-bld/pytorch_1646755883846/work/build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:10303 new kernel: registered at /home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/aten/ops/HasCompatibleShallowCopyType.cpp:37 (function registerKernel) .........EEE. ====================================================================== ERROR: test_div_shape_format_fp16 (__main__.TestDiv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/decorator.py", line 91, in wrapper func(*args, **kw) File "/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/test/test_network_ops/./test_div.py", line 67, in test_div_shape_format_fp16 cpu_input1, npu_input1 = create_common_tensor(item, 1, 100) File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/common_utils.py", line 107, in create_common_tensor npu_input = torch_npu.npu_format_cast(npu_input, npu_format) RuntimeError: Run:/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/framework/OpParamMaker.cpp:136 NPU error,NPU error code is:500002 E49999: Inner Error! E49999 Compile op[trans_TransData_1,] failed, oppath[/home/zzz/Ascend/ascend-toolkit/6.0.RC1.alpha003/opp/op_impl/built-in/ai_core/tbe/impl/dynamic/trans_data.py], optype[TransData], taskID[64]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:864] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448425297664] recompile single op[trans_TransData_1] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448425297664] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:890] [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1460] Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank2_new_sub_graph2[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] subgraph 1 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714] build graph failed, graph id:31, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:162] [Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448291079936] recompile single op[trans_TransData_3] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448291079936] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:32, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] ====================================================================== ERROR: test_div_shape_format_fp32 (__main__.TestDiv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/decorator.py", line 91, in wrapper func(*args, **kw) File "/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/test/test_network_ops/./test_div.py", line 82, in test_div_shape_format_fp32 cpu_input1, npu_input1 = create_common_tensor(item, 1, 100) File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/common_utils.py", line 107, in create_common_tensor npu_input = torch_npu.npu_format_cast(npu_input, npu_format) RuntimeError: Run:/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/framework/OpParamMaker.cpp:136 NPU error,NPU error code is:500002 E29999: Inner Error! E29999 [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448400119552] recompile single op[trans_TransData_5] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448400119552] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:890] [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1460] Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank2_new_sub_graph2[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] subgraph 1 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714] build graph failed, graph id:33, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:162] [Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] Compile op[trans_TransData_7,] failed, oppath[/home/zzz/Ascend/ascend-toolkit/6.0.RC1.alpha003/opp/op_impl/built-in/ai_core/tbe/impl/dynamic/trans_data.py], optype[TransData], taskID[81]. Please check op's compilation error message.[FUNC:ReportBuildErrMessage][FILE:fusion_op.cc][LINE:864] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448769234688] recompile single op[trans_TransData_7] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448769234688] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:38, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140449037604608] recompile single op[trans_TransData_9] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140449037604608] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:39, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] ====================================================================== ERROR: test_div_shape_format_fp32_1 (__main__.TestDiv) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/decorator.py", line 91, in wrapper func(*args, **kw) File "/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/test/test_network_ops/./test_div.py", line 123, in test_div_shape_format_fp32_1 cpu_input1, npu_input1 = create_common_tensor(item, 1, 100) File "/home/zzz/miniconda3/envs/pytorch/lib/python3.9/site-packages/torch_npu/testing/common_utils.py", line 107, in create_common_tensor npu_input = torch_npu.npu_format_cast(npu_input, npu_format) RuntimeError: Run:/home/zzz/ascend-toolkits/pytorch_1_11/pytorch/torch_npu/csrc/framework/OpParamMaker.cpp:136 NPU error,NPU error code is:500002 E29999: Inner Error! E29999 [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448760841984] recompile single op[trans_TransData_11] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448760841984] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] [SubGraphOpt][Compile][CompOpOnly] CompileOp failed.[FUNC:CompileOpOnly][FILE:op_compiler.cc][LINE:890] [GraphOpt][FusedGraph][RunCompile] Failed to compile graph with compiler Normal mode Op Compiler[FUNC:SubGraphCompile][FILE:fe_graph_optimizer.cc][LINE:1460] Call OptimizeFusedGraph failed, ret:-1, engine_name:AIcoreEngine, graph_name:partition0_rank2_new_sub_graph2[FUNC:OptimizeSubGraph][FILE:graph_optimize.cc][LINE:130] subgraph 1 optimize failed[FUNC:OptimizeSubGraphWithMultiThreads][FILE:graph_manager.cc][LINE:714] build graph failed, graph id:40, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 4294967295[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:162] [Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:146] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448760841984] recompile single op[trans_TransData_13] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] build graph failed, graph id:44, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] [SubGraphOpt][Compile][ProcFailedCompTask] Thread[140448786020096] recompile single op[trans_TransData_15] failed[FUNC:ProcessAllFailedCompileTasks][FILE:tbe_op_store_adapter.cc][LINE:831] [SubGraphOpt][Compile][ParalCompOp] Thread[140448786020096] process fail task failed[FUNC:ParallelCompileOp][FILE:tbe_op_store_adapter.cc][LINE:871] build graph failed, graph id:45, ret:-1[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1496] ---------------------------------------------------------------------- Ran 13 tests in 27.964s FAILED (errors=3) ```
评论 (
4
)
登录
后才可以发表评论
状态
DONE
TODO
Analysing
ACCEPTED
WIP
Feedback
TEST
DONE
REJECTED
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (79)
标签 (182)
master
v2.7.1
v2.8.0
v2.6.0
v2.5.1
v2.1.0
v2.6.0-7.1.0
v2.5.1-7.1.0
v2.1.0-7.1.0
revert-merge-23967-master
revert-merge-23966-v2.8.0
revert-merge-23965-v2.7.1
revert-merge-23964-v2.6.0
revert-merge-23962-v2.5.1
revert-merge-23789-v2.1.0
v2.1.0-7.0.0
v2.4.0-7.0.0
v2.4.0
v2.3.1
v2.3.1-7.0.0
v2.5.1-7.0.0
v2.4.0-6.0.0
v2.3.1-6.0.0
v2.1.0-6.0.0
v2.1.0-6.0.rc3
v2.3.1-6.0.rc3
v2.4.0-6.0.rc3
v2.2.0
v1.11.0-6.0.rc1
v2.1.0-6.0.rc1
v2.2.0-6.0.rc1
v1.11.0-6.0.rc2
v2.1.0-6.0.rc2
v2.2.0-6.0.rc2
v2.3.1-6.0.rc2
v1.11.0
v2.1.0-5.0.0
v2.0.1-5.0.0
v1.11.0-5.0.0
v2.0.1
v2.1.0-5.0.rc3
v1.11.0-5.0.rc3
v2.0.1-5.0.rc3
v1.11.0-5.0.rc3.3
v1.8.1
v1.11.0-x1
v1.8.1-5.0.rc3
v1.11.0-5.0.rc2.2
v1.11.0-zj
v1.11.0-5.0.rc2.1
v2.0.1-5.0.rc2
v1.11.0-5.0.rc2
v1.8.1-5.0.rc2
v2.0.0-5.0.rc2
v1.8.1-5.0.rc1
v1.11.0-5.0.rc1
v1.11.0-yd
v1.11.0-xf
v1.11.0-infer
v1.11.0-bigkernel
v1.11.0-host_api
v1.8.1-3.0.0
v1.11.0-5.0.rc2.t100
v1.8.1-5.0.rc2.t100
v1.8.1-3.0.0-dev
v1.11.0-3.0.0
v2.0-dev
v1.8.1-3.0.rc3
v1.5.0-3.0.0
v1.5.0
v1.8.1-3.0.rc1
v1.11.0-3.0.rc3
v1.8.1-3.0.rc2
v1.5.0-3.0.rc3
v1.5.0-3.0.rc2
2.0.4.tr5
v1.5.0-3.0.rc1
2.0.2.tr5
2.0.3.tr5
v7.1.0.2-pytorch2.5.1
v7.1.0.2-pytorch2.6.0
v7.1.0.2-pytorch2.1.0
v7.0.0.1-pytorch2.4.0
v7.0.0.1-pytorch2.1.0
v7.2.RC1.alpha001-pytorch2.8.0
v7.2.RC1.alpha001-pytorch2.7.1
v7.2.RC1.alpha001-pytorch2.6.0
v7.2.RC1.alpha001-pytorch2.5.1
v7.2.RC1.alpha001-pytorch2.1.0
v7.1.0.1-pytorch2.6.0
v7.1.0.1-pytorch2.5.1
v7.1.0.1-pytorch2.1.0
v7.1.0-pytorch2.6.0
v7.1.0-pytorch2.5.1
v7.1.0-pytorch2.1.0
v7.1.RC1.alpha003-pytorch2.6.0
v7.1.RC1.alpha003-pytorch2.5.1
v7.1.RC1.alpha003-pytorch2.1.0
v7.1.RC1.alpha002-pytorch2.7.1
v7.1.RC1.alpha002-pytorch2.6.0
v7.1.RC1.alpha002-pytorch2.5.1
v7.1.RC1.alpha002-pytorch2.4.0
v7.1.RC1.alpha002-pytorch2.3.1
v7.1.RC1.alpha002-pytorch2.1.0
v6.0.0.1-pytorch2.4.0
v6.0.0.1-pytorch2.3.1
v6.0.0.1-pytorch2.1.0
v7.1.RC1.alpha001-pytorch2.6.0
v7.1.RC1.alpha001-pytorch2.5.1
v7.1.RC1.alpha001-pytorch2.4.0
v7.1.RC1.alpha001-pytorch2.3.1
v7.1.RC1.alpha001-pytorch2.1.0
v7.0.0-pytorch2.5.1
v7.0.0-pytorch2.4.0
v7.0.0-pytorch2.3.1
v7.0.RC1.alpha002-pytorch2.6.0
v7.0.0-pytorch2.1.0
v7.0.RC1.alpha002-pytorch2.5.1
v7.0.RC1.alpha002-pytorch2.4.0
v7.0.RC1.alpha002-pytorch2.3.1
v7.0.RC1.alpha002-pytorch2.1.0
v7.0.RC1.alpha001-pytorch2.5.1
v7.0.RC1.alpha001-pytorch2.1.0
v7.0.RC1.alpha001-pytorch2.4.0
v7.0.RC1.alpha001-pytorch2.3.1
v6.0.0-pytorch2.4.0
v6.0.0-pytorch2.3.1
v6.0.0-pytorch2.1.0
v6.0.0.alpha003-pytorch2.4.0
v6.0.0.alpha003-pytorch2.3.1
v6.0.0.alpha003-pytorch2.1.0
v6.0.0.alpha002-pytorch2.4.0
v6.0.0.alpha002-pytorch2.3.1
v6.0.0.alpha002-pytorch2.1.0
v6.0.0.alpha001-pytorch2.5.1
v6.0.rc3-pytorch2.4.0
v6.0.rc3-pytorch2.3.1
v6.0.rc3-pytorch2.1.0
v6.0.0.alpha001-pytorch2.4.0
v6.0.0.alpha001-pytorch2.3.1
v6.0.0.alpha001-pytorch2.1.0
v6.0.rc2.1-pytorch1.11.0
v6.0.rc2.1-pytorch2.3.1
v6.0.rc2.1-pytorch2.2.0
v6.0.rc2.1-pytorch2.1.0
v6.0.rc3.alpha003-pytorch2.3.1
v6.0.rc3.alpha003-pytorch2.1.0
v6.0.rc3.alpha001-pytorch2.4.0
v6.0.rc3.alpha002-pytorch2.3.1
v6.0.rc3.alpha002-pytorch2.2.0
v6.0.rc3.alpha002-pytorch2.1.0
v6.0.rc3.alpha002-pytorch1.11.0
v6.0.rc2-pytorch2.1.0
v6.0.rc2-pytorch2.3.1
v6.0.rc2-pytorch2.2.0
v6.0.rc2-pytorch1.11.0
v6.0.rc3.alpha001-pytorch2.3.1
v6.0.rc3.alpha001-pytorch2.2.0
v6.0.rc3.alpha001-pytorch2.1.0
v6.0.rc3.alpha001-pytorch1.11.0
v6.0.rc2.alpha002-pytorch2.3.1
v6.0.rc2.alpha003-pytorch1.11.0
v6.0.rc2.alpha003-pytorch2.2.0
v6.0.rc2.alpha003-pytorch2.1.0
v6.0.rc1.1-pytorch2.2.0
v6.0.rc1.1-pytorch2.1.0
v6.0.rc1.1-pytorch1.11.0
v5.0.1.2-pytorch1.11.0
v5.0.1.2-pytorch2.1.0
v5.0.1.2-pytorch2.0.1
v6.0.rc2.alpha002-pytorch2.2.0
v6.0.rc2.alpha002-pytorch2.1.0
v6.0.rc2.alpha002-pytorch1.11.0
v6.0.rc1-pytorch2.2.0
v6.0.rc1-pytorch2.1.0
v6.0.rc1-pytorch1.11.0
v6.0.rc2.alpha001-pytorch2.2.0
v6.0.rc2.alpha001-pytorch2.1.0
v6.0.rc2.alpha001-pytorch1.11.0
v6.0.rc1.alpha003-pytorch2.0.1
v6.0.rc1.alpha003-pytorch2.1.0
v5.0.1.1-pytorch2.0.1
v5.0.1.1-pytorch1.11.0
v5.0.1.1-pytorch2.1.0
v6.0.rc1.alpha003-pytorch1.11.0
v6.0.rc1.alpha002-pytorch2.1.0
v6.0.rc1.alpha002-pytorch1.11.0
v6.0.rc1.alpha002-pytorch2.0.1
v6.0.rc1.alpha001-pytorch2.2.0
v5.0.1-pytorch2.1.0
v5.0.1-pytorch2.0.1
v5.0.1-pytorch1.11.0
v6.0.RC1.alpha001-pytorch2.0.1
v6.0.RC1.alpha001-pytorch2.1.0
v6.0.RC1.alpha001-pytorch1.11.0
v5.0.0-pytorch2.1.0
v5.0.0-pytorch2.0.1
v5.0.0-pytorch1.11.0
v5.0.0.alpha003-pytorch2.1.0
v5.0.0.alpha003-pytorch2.0.1
v5.0.0.alpha003-pytorch1.11.0
v5.0.rc3.3-pytorch1.11.0
v5.0.rc3.2-pytorch1.11.0
v5.0.0.alpha002-pytorch2.1.0
v5.0.0.alpha002-pytorch2.0.1
v5.0.0.alpha002-pytorch1.11.0
v5.0.rc3.1-pytorch1.11.0
v5.0.0.alpha001-pytorch2.1.0
v5.0.0.alpha001-pytorch2.0.1
v5.0.0.alpha001-pytorch1.11.0
v5.0.rc3-pytorch2.1.0
v5.0.rc3-pytorch2.0.1
v5.0.rc3-pytorch1.11.0
v5.0.rc3.alpha003-pytorch2.0.1
v5.0.rc3.alpha003-pytorch1.11.0
v5.0.rc3.alpha003-pytorch1.8.1
v5.0.rc2.2-pytorch1.11.0
v5.0.rc2.1-pytorch1.11.0
v5.0.rc3.alpha002-pytorch2.0.1
v5.0.rc3.alpha002-pytorch1.11.0
v5.0.rc3.alpha002-pytorch1.8.1
v5.0.rc2-pytorch2.0.1
v5.0.rc2-pytorch1.11.0
v5.0.rc2-pytorch1.8.1
v5.0.rc3.alpha001-pytorch1.8.1
v5.0.rc3.alpha001-pytorch1.11.0
v5.0.rc2.alpha003-pytorch1.11.0
v5.0.rc2.alpha003-pytorch1.8.1
v5.0.rc2.alpha002-pytorch1.11.0
v5.0.rc2.alpha002-pytorch1.8.1
v5.0.rc1.alpha003-pytorch1.11.0
v5.0.rc1.alpha003-pytorch1.8.1
v5.0.rc1-pytorch1.11.0
v5.0.rc1-pytorch1.8.1
v5.0.rc1.alpha002-pytorch1.11.0
v5.0.rc1.alpha002-pytorch1.8.1
v5.0.rc1.alpha001-pytorch1.11.0
v5.0.rc1.alpha001-pytorch1.8.1
v3.0.0-pytorch1.11.0
v3.0.0-pytorch1.8.1
v3.0.0-pytorch1.5.0
v3.0.alpha006-pytorch1.8.1
v3.0.alpha005-pytorch1.8.1
v3.0.alpha003-pytorch1.8.1
v3.0.rc3-pytorch1.11.0
v3.0.rc3-pytorch1.8.1
v3.0.rc3-pytorch1.5.0
v3.0.rc2-pytorch1.8.1
v3.0.rc2-pytorch1.5.0
v3.0.rc1-pytorch1.8.1
v3.0.rc1-pytorch1.5.0
v2.0.4
v2.0.4-rc2
v2.0.4-rc1
v2.0.3.1
v2.0.3
v2.0.3-rc4
v2.0.3-rc3
v2.0.3-rc2
v2.0.3-rc1
v2.0.2
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
Python
1
https://gitee.com/ascend/pytorch.git
git@gitee.com:ascend/pytorch.git
ascend
pytorch
pytorch
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册