已关闭
[Bug-Report|缺陷反馈]: MaxPool3D内置算子示例测试(图模式)报错 #3898
harrynospot创建于  7月7日关闭于  7月13日
harrynospot
harrynospot
7月7日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

MaxPool3D内置算子示例测试( --run_example )报错:
Run graph failed, [PID: 982] 2026-07-07-10:04:28.153.620 Unsupported_Operator(EZ3002): Optype [MaxPool3D] of Ops kernel [AIcoreEngine] is unsupported. Reason: [tbe-custom]:op type MaxPool3D is not found in this op store.[tbe-custom]:op type MaxPool3D is not found in this op store.[Dynamic shape check]: origin format ND of input [x] is not supported. All supported data type and format of tensor input0.x is: Data Type: {DT_FLOAT16,DT_FLOAT}Format:{NDC1HWC0,NDC1HWC0}[Static shape check]:origin format ND of input [x] is not supported. All supported data type and format of tensor input0.x is: Data Type: {DT_FLOAT16,DT_FLOAT}Format:{NDC1HWC0,NDC1HWC0}.

Environment / 环境信息 (Mandatory / 必填)

910B4, CANN8.5, ops-nn 8.5.0

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

  1. pooling/max_pool3_d/examples/test_max_pool_3d.cpp 改为 test_geir_max_pool_3d.cpp (删掉报错的 include "experiment_ops.h" 行)
  2. test_geir_max_pool_3d.cpp添加错误信息获取 ge::AscendString err = ge::GEGetErrorMsgV2(); err.GetString()
  3. bash build.sh --run_example max_pool3_d graph --soc=ascend910b

Describe the expected behavior / 预期结果 (Mandatory / 必填)

运行成功

atomgit@676982cc8b2dd94c4aac433a:/home/atomgit/ops-nn$ bash build.sh --run_example max_pool3_d graph --soc=ascend910b
[2026-07-07 10:03:56] COMPUTE_UNIT: ascend910b;
[2026-07-07 10:03:56] CMAKE_ARGS: -DBUILD_PATH=/home/atomgit/ops-nn/build -DENABLE_VALGRIND=FALSE -DCMAKE_BUILD_TYPE=Release -DENABLE_MSSANITIZER=FALSE -DENABLE_OOM=FALSE -DENABLE_COVERAGE=FALSE -DENABLE_TEST=FALSE -DENABLE_UT_EXEC=TRUE -DENABLE_CUSTOM=FALSE -DENABLE_STATIC=FALSE -UASCEND_OP_NAME -UVENDOR_NAME -DENABLE_BINARY=FALSE -DENABLE_PACKAGE=FALSE -DENABLE_EXPERIMENTAL=FALSE -DNO_FORCE=FALSE -DBUILD_MODE= -DOP_HOST_UT=FALSE -DOP_API_UT=FALSE -DOP_KERNEL_UT=FALSE -DOP_KERNEL_AICPU_UT=FALSE -DUT_TEST_ALL=FALSE -DASCEND_COMPUTE_UNIT=ascend910b; -DCANN_3RD_LIB_PATH=/home/atomgit/ops-nn/third_party
[2026-07-07 10:03:56] ----------------------------------------------------------------
[2026-07-07 10:03:56] Start to run example,op_name:max_pool3_d example_name:max_pool_3d mode:graph.
[2026-07-07 10:04:14] 2026-07-07 10:04:03,000 - INFO - [XIR]: Start to initialize ge using ge global options
[2026-07-07 10:04:14] 2026-07-07 10:04:14,000 - INFO - [XIR]: Initialize ge using ge global options success
[2026-07-07 10:04:14] 2026-07-07 10:04:14,000 - INFO - [XIR]: Start to CreateAndConfigGraph
[2026-07-07 10:04:14] 0
[2026-07-07 10:04:37] 2026-07-07 10:04:14,000 - INFO - [XIR]: Start to create ir session using build options
[2026-07-07 10:04:37] 2026-07-07 10:04:14,000 - INFO - [XIR]: Create ir session using build options success
[2026-07-07 10:04:37] 2026-07-07 10:04:14,000 - INFO - [XIR]: Start to add compute graph to ir session
[2026-07-07 10:04:37] 2026-07-07 10:04:14,000 - INFO - [XIR]: Session add ir compute graph to ir session success
[2026-07-07 10:04:37] 2026-07-07 10:04:14,000 - INFO - [XIR]: dump graph to txt
[2026-07-07 10:04:37] 2026-07-07 10:04:14,000 - INFO - [XIR]: Start to run ir compute graph
[2026-07-07 10:04:37] 2026-07-07 10:04:28,000 - INFO - [XIR]: Run graph failed, [PID: 982] 2026-07-07-10:04:28.153.620 Unsupported_Operator(EZ3002): Optype [MaxPool3D] of Ops kernel [AIcoreEngine] is unsupported. Reason: [tbe-custom]:op type MaxPool3D is not found in this op store.[tbe-custom]:op type MaxPool3D is not found in this op store.[Dynamic shape check]: origin format ND of input [x] is not supported. All supported data type and format of tensor input0.x is: Data Type: {DT_FLOAT16,DT_FLOAT}Format:{NDC1HWC0,NDC1HWC0}[Static shape check]:origin format ND of input [x] is not supported. All supported data type and format of tensor input0.x is: Data Type: {DT_FLOAT16,DT_FLOAT}Format:{NDC1HWC0,NDC1HWC0}.
[2026-07-07 10:04:37]         Possible Cause: The operator type is unsupported in the operator information library due to specification mismatch.
[2026-07-07 10:04:37]         Solution: Submit an issue to request for support at https://gitee.com/ascend, or remove this type of operators from your model.
[2026-07-07 10:04:37]         TraceBack (most recent call last):
[2026-07-07 10:04:37]         No supported Ops kernel and engine are found for [max_pool3_d], optype [MaxPool3D].
[2026-07-07 10:04:37]         Failed to select engine for [max_pool3_d][MaxPool3D].[FUNC:operator()][FILE:engine_place.cc][LINE:151]
[2026-07-07 10:04:37]         RunAllSubgraphs failed, graph=tc_ge_irrun_test.[FUNC:RunAllSubgraphs][FILE:engine_place.cc][LINE:124]
[2026-07-07 10:04:37]         Run graph failed, error code:4294967295, session_id:0, graph_id:0.[FUNC:RunGraph][FILE:ge_api.cc][LINE:484]
[2026-07-07 10:04:37] 
[2026-07-07 10:04:40] path string is NULLpath string is NULL
[2026-07-07 10:04:40] ----------------------------------------------------------------
[2026-07-07 10:04:40] Run test_geir_max_pool_3d failed. 
[2026-07-07 10:04:40] ----------------------------------------------------------------
[2026-07-07 10:04:40] 
[2026-07-07 10:04:40] Run graph example failed, op_name: max_pool3_d, success examples: , failed_example: max_pool_3d.

Special notes for this issue/备注 (Optional / 选填)

likedislike
chenxingyu18成员
7月7日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
7月7日 将 chenxingyu18 设为负责人
chenxingyu18成员
7月9日 评论:

/assign @sunny_112

likedislike
CANN-robot
CANN-robot成员
7月9日 评论:

Notice

This issue can not be assigned to sunny_112. Please try to assign to the repository members.

likedislike
Wang Xu
Wang Xu
7月10日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
7月10日 将 Apricityh 设为负责人,移除负责人 chenxingyu18
Wang Xu
Wang Xu
7月10日 评论:

/assign @chenxingyu18

likedislike
CANN-robotCANN-robot成员
7月10日 将 chenxingyu18 设为负责人,移除负责人 Apricityh
Cchenxingyu18成员
7月10日 关联了pull request:fix(pooling): 修复 max_pool3_d geir example 命名/格式并补 arch35 版本
CANN-robotCANN-robot成员
7月13日 关闭了 issue
CANN-robotCANN-robot成员
7月13日 添加了label:resolved
harrynospotharrynospot
7月16日 issue状态由 进行中 改变为 已完成
CANN-robotCANN-robot成员
7月16日 添加了label:Accepted