已关闭
[Bug]: ATK 运行 ATB调用 950 FIAv5 PA 报错507015 #1
ivanS创建于  6月5日关闭于  6月8日
ivanS
6月5日 创建

⚠️ 安全信息提醒:请仔细检查提供的文本内容,确保其不包含敏感数据信息,包括但不限于:

  • API 令牌或密钥
  • 密码或身份验证凭证
  • 私有网址或接口地址
  • 个人或机密数据
  • ...

在分享配置信息或代码示例时,请将敏感信息脱敏处理,或使用 <TOKEN> 等占位符替代原有内容。

环境信息

-Ascend950PR
-cann-9.1.0b026
pip show atk
    Name: ATK
    Version: 26.4.30

🐛 问题描述

atk task -n node_perf.yaml -c result/ATB_PagedAttention_gen/json/PagedAttention_Model.json -p ./ --task performance_device -ap xxx/common -mt 10
后报错507015

case:

{
    "id": 0,
    "default_seed": null,
    "name": "PagedAttentionOperation",
    "aclnn_name": null,
    "triton_name": null,
    "kernel_name": null,
    "version": "v2.1",
    "expected_error_msg": null,
    "api": "atb",
    "api_type": "execute_atb_paged_attention",
    "aclnn_api_type": "aclnn_function",
    "triton_api_type": "triton_function",
    "fusion_api_type": "fusion_function",
    "fusion_mode": null,
    "dist_api_type": "dist_function",
    "kernel_api_type": "kernel_function",
    "backward": false,
    "standard": {
      "acc": "single_bm",
      "perf": "not_key",
      "mem": 1.1
    },
    "outputs": null,
    "inputs": [
      {
        "name": "query",
        "type": "tensor",
        "required": true,
        "dtype": "fp16",
        "shape": [
          4,
          32,
          32
        ],
        "range_values": [
          -1,
          1
        ],
        "backward": true,
        "align_32B": null,
        "outlier_values": null
      },
      {
        "name": "keyCache",
        "type": "tensor",
        "required": true,
        "dtype": "fp16",
        "shape": [
          4,
          256,
          16,
          32
        ],
        "range_values": [
          -1,
          1
        ],
        "backward": true,
        "align_32B": null,
        "outlier_values": null
      },
      {
        "name": "valueCache",
        "type": "tensor",
        "required": true,
        "dtype": "fp16",
        "shape": [
          4,
          256,
          16,
          32
        ],
        "range_values": [
          -1,
          1
        ],
        "backward": true,
        "align_32B": null,
        "outlier_values": null
      },
      {
        "name": "blockTables",
        "type": "tensor",
        "required": true,
        "dtype": "int32",
        "shape": [
          4,
          32
        ],
        "range_values": [
          0,
          32
        ],
        "backward": true,
        "align_32B": null,
        "outlier_values": null
      },
      {
        "name": "contextLens",
        "type": "tensor",
        "required": true,
        "dtype": "int32",
        "shape": [
          4
        ],
        "range_values": [
          1,
          256
        ],
        "backward": true,
        "align_32B": null,
        "outlier_values": null
      },
      {
        "name": "in_formats",
        "type": "attr",
        "required": true,
        "dtype": "string",
        "shape": null,
        "range_values": "nd;nd;nd;nd;nd",
        "backward": false,
        "align_32B": null,
        "outlier_values": null
      },
      {
        "name": "op_param",
        "type": "attr",
        "required": true,
        "dtype": "string",
        "shape": null,
        "range_values": "{\"headNum\": 32, \"qkScale\": 0.08838834764831843, \"kvHeadNum\": 16, \"quantType\": 0}",
        "backward": false,
        "align_32B": null,
        "outlier_values": null
      }
    ],
    "acl_json": "",
    "method_inputs": null,
    "tensor_input": null,
    "compute_times": null,
    "save_name": null,
    "uuid": null,
    "downloaded": false,
    "is_boundary": false,
    "xrun_cs_name": null,
    "xrun_data": null
  }

日志:

[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.516.369 [task_recycle_cqrpt_base.cc:68]808855 PrintTaskErrorMsg:Task run failed, stream_id=14, pos=301, task_sn=3361, sqe_type=0(aic), errType=0x1(task exception), sqSwStatus=0.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.516.408 [device_error_proc.cc:1419] 808855 PrintStreamTimeoutSnapshotInfo: get stream wait timeout snapshot stream_num:0
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.516.412 [device_error_proc.cc:978] 808855 ProcErrorInfoWithoutLock: Begin to process device abnormal info.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.542.738 [atrace_log.cc:163] 808855 TrySaveAtraceLogs: Save atrace logs to file successfully!
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.542.753 [device_error_proc.cc:2084] 808855 ProcessStarsOneElementInRingBuffer: it need to process 2 errMessages, headSize=32, elementSize=43008.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.542.755 [device_error_proc.cc:2092] 808855 ProcessStarsOneElementInRingBuffer: head info 0, tail info=2, type=0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.542.761 [device_error_proc_c.cc:636]808855 ProcessCoreErrorClass:comm_flag=8
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.542.806 [device_error_proc_c.cc:470]808855 AiCoreUnknownErrProc:unknown aicore error, stream_id=14, task_id=301.
[INFO] TDT(802270,python3.10):2026-06-03-11:37:15.633.762 [client_manager.cpp:540][ChangeUserDeviceIdToLogicDeviceId][tid:808853] [TsdClient] change userDevId [0] to logicDevId [3]
[INFO] TDT(802270,python3.10):2026-06-03-11:37:15.633.768 [client_manager.cpp:540][ChangeUserDeviceIdToLogicDeviceId][tid:808853] [TsdClient] change userDevId [0] to logicDevId [3]
[INFO] TDT(802270,python3.10):2026-06-03-11:37:15.633.770 [client_manager.cpp:540][ChangeUserDeviceIdToLogicDeviceId][tid:808853] [TsdClient] change userDevId [0] to logicDevId [3]
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.086 [device_error_proc_c.cc:696]808855 AddExceptionRegInfo:add error register: core_id=0, stream_id=14, task_sn=3361
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.099 [device_error_proc_c.cc:747]808855 ProcessDavidStarsCoreErrorInfo:The error from device(chipId:0, dieId:0), serial number is 76, there is an aicore error exception, core id is 0, error code = 95, dump info: pc start: 0x120054bc0c48, current: 0x120054bc4744, sc error info: 0xffffffffffff, su error info: 0xfdfdaffc1dec07ba,0xc1001188d00077ff, mte error info: 0xb5caa3a000020ec4, vec error info: 0, cube error info: 0, l1 error info: 0xd700070000, aic error mask: 0x395856, para base: 0x120040200000, mte error: 0x80000000.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.744.143 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.157 [device_error_proc_c.cc:750]808855 ProcessDavidStarsCoreErrorInfo:The extend info: errcode:(95) errorStr: The DDR address of the MTE instruction is out of range. subErrType: 0x4.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.744.161 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.171 [device_error_proc_c.cc:696]808855 AddExceptionRegInfo:add error register: core_id=1, stream_id=14, task_sn=3361
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.173 [device_error_proc_c.cc:747]808855 ProcessDavidStarsCoreErrorInfo:The error from device(chipId:0, dieId:0), serial number is 76, there is an aicore error exception, core id is 1, error code = 95, dump info: pc start: 0x120054bc0c48, current: 0x120054bc4744, sc error info: 0xffffffffffff, su error info: 0xe3ff2dcf11feb7f4,0x430e40a4f800ffad, mte error info: 0xb5caa3a000020ec4, vec error info: 0, cube error info: 0, l1 error info: 0xd700070000, aic error mask: 0x395856, para base: 0x120040200000, mte error: 0x80000000.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.744.178 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.180 [device_error_proc_c.cc:750]808855 ProcessDavidStarsCoreErrorInfo:The extend info: errcode:(95) errorStr: The DDR address of the MTE instruction is out of range. subErrType: 0x4.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.744.183 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.186 [device_error_proc.cc:2092] 808855 ProcessStarsOneElementInRingBuffer: head info 1, tail info=2, type=0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.189 [device_error_proc_c.cc:636]808855 ProcessCoreErrorClass:comm_flag=8
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.744.208 [device_error_proc_c.cc:470]808855 AiCoreUnknownErrProc:unknown aicore error, stream_id=14, task_id=301.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.571 [device_error_proc_c.cc:696]808855 AddExceptionRegInfo:add error register: core_id=0, stream_id=14, task_sn=3361
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.578 [device_error_proc_c.cc:747]808855 ProcessDavidStarsCoreErrorInfo:The error from device(chipId:0, dieId:0), serial number is 77, there is an aivec error exception, core id is 0, error code = 0, dump info: pc start: 0x120057684000, current: 0x120057687590, sc error info: 0xffffffffffff, su error info: 0x45c00a003bfa0dc8,0x8040000018001200, mte error info: 0xa8fe3940002acc0, vec error info: 0x606b83b8003934f8, cube error info: 0, l1 error info: 0, aic error mask: 0x395856, para base: 0x120040200000, mte error: 0.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.596 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.601 [device_error_proc_c.cc:750]808855 ProcessDavidStarsCoreErrorInfo:The extend info: errcode:(0) errorStr: timeout or trap error. subErrType: 0x4.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.607 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.612 [device_error_proc_c.cc:696]808855 AddExceptionRegInfo:add error register: core_id=1, stream_id=14, task_sn=3361
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.615 [device_error_proc_c.cc:747]808855 ProcessDavidStarsCoreErrorInfo:The error from device(chipId:0, dieId:0), serial number is 77, there is an aivec error exception, core id is 1, error code = 0, dump info: pc start: 0x120057684000, current: 0x120057687590, sc error info: 0xffffffffffff, su error info: 0xaff57efe3ffe0dc8,0x80400000e800ffff, mte error info: 0xa8f085c0002acc0, vec error info: 0x410004b80039008e, cube error info: 0, l1 error info: 0, aic error mask: 0x395856, para base: 0x120040200000, mte error: 0.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.623 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.628 [device_error_proc_c.cc:750]808855 ProcessDavidStarsCoreErrorInfo:The extend info: errcode:(0) errorStr: timeout or trap error. subErrType: 0x4.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.633 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.637 [device_error_proc_c.cc:696]808855 AddExceptionRegInfo:add error register: core_id=2, stream_id=14, task_sn=3361
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.640 [device_error_proc_c.cc:747]808855 ProcessDavidStarsCoreErrorInfo:The error from device(chipId:0, dieId:0), serial number is 77, there is an aivec error exception, core id is 2, error code = 0, dump info: pc start: 0x120057684000, current: 0x120057687590, sc error info: 0xffffffffffff, su error info: 0x75ff3a1f16fe0dc8,0x80400000f8009fbd, mte error info: 0xa98ec300002acc0, vec error info: 0x410004b80039008e, cube error info: 0, l1 error info: 0, aic error mask: 0x395856, para base: 0x120040200000, mte error: 0.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.648 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.652 [device_error_proc_c.cc:750]808855 ProcessDavidStarsCoreErrorInfo:The extend info: errcode:(0) errorStr: timeout or trap error. subErrType: 0x4.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.657 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.661 [device_error_proc_c.cc:696]808855 AddExceptionRegInfo:add error register: core_id=3, stream_id=14, task_sn=3361
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.665 [device_error_proc_c.cc:747]808855 ProcessDavidStarsCoreErrorInfo:The error from device(chipId:0, dieId:0), serial number is 77, there is an aivec error exception, core id is 3, error code = 0, dump info: pc start: 0x120057684000, current: 0x120057687590, sc error info: 0xffffffffffff, su error info: 0x73e2defc33e60dc8,0x804000007800db51, mte error info: 0xa9086f40002acc0, vec error info: 0x410004b80039008e, cube error info: 0, l1 error info: 0, aic error mask: 0x395856, para base: 0x120040200000, mte error: 0.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.672 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.676 [device_error_proc_c.cc:750]808855 ProcessDavidStarsCoreErrorInfo:The extend info: errcode:(0) errorStr: timeout or trap error. subErrType: 0x4.
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.681 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.685 [device_error_proc.cc:1053] 808855 ProcErrorInfoWithoutLock: Finished to process device errInfo, retCode=0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.696 [davinci_kernel_task_v200_base.cc:266]808855 StarsV2SetStarsResultForDavinciTask:AICORE Kernel task happen error, retCode=0x26.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.702 [davinci_kernel_task.cc:1264]808855 PreCheckTaskErr:An error occurred in the kernel task, retCode=0x26, [aicore exception].
[INFO] GE(802270,python3.10):2026-06-03-11:37:15.945.709 [error_manager.cc:399]808855 ReportInterErrMessage:report error_message, error_code:EZ9999, work_stream_id:80227808855, error_mode:0
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.713 [davinci_kernel_task.cc:1270] 808855 PreCheckTaskErr: report module_type=5, mte_error=0, errcode=0x0
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.779 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(0 to 19) after execute:0x1200007b4000, 0x120040200530, 0x120040200560, 0, 0, 0, 0x120040200590, 0, 0, 0, 0, 0, 0, 0, 0x1200007c5000, 0, 0, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.785 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(20 to 39) after execute:0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1200007d2000, 0x7ffd11daa980, 0x12004e800000, 0x120040200128, 0x120000015000, 0, 0x36, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.790 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(40 to 59) after execute:0x1, 0x4, 0x1, 0x100, 0, 0x20, 0x20, 0x40, 0x3e35050800000000, 0x7fffffff, 0x7fffffff, 0, 0, 0, 0x4000001000001, 0xda0000, 0, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.795 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(60 to 79) after execute:0, 0, 0, 0, 0, 0, 0x10000, 0x10100000036, 0x10001, 0, 0x1000000001, 0x2000000000ed, 0x7fa600000000, 0x7ffdfbad8001, 0x7f0000000001, 0x11da0000, 0xdc84b5490000001c, 0x36, 0x1, 0x2.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.799 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(80 to 99) after execute:0x2, 0x100000000, 0x500000003, 0x900000007, 0xd0000000b, 0x110000000f, 0x1500000013, 0x1900000017, 0x1c0000001b, 0x200000001e, 0x2400000022, 0x2800000026, 0x2c0000002a, 0x300000002e, 0x3400000032, 0x36, 0, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.803 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(100 to 119) after execute:0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.807 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(120 to 139) after execute:0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1, 0, 0, 0, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.811 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(140 to 159) after execute:0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x31, 0xffffffffffffff80, 0, 0x2, 0x2f23fae0, 0x1f, 0x10000007c.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.815 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(160 to 179) after execute:0x1b00, 0, 0xa5a5a5a50002c5dd, 0x53000000008, 0x56000000010, 0x59000000030, 0x28, 0x100000003, 0x2000, 0x10, 0x20, 0x120064600000, 0x28, 0x100000003, 0x2000, 0x10, 0x20, 0x120064e00000, 0x7fa58ca697d0, 0x7fa5835ebe10.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.820 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(180 to 199) after execute:0x7fa58c3c4758, 0, 0x80, 0x80, 0x20, 0x1, 0xa0, 0x6, 0xbd, 0x64, 0xa9, 0x34, 0xcd, 0xc3, 0x76, 0xc4, 0x83, 0xa3, 0x9e, 0x61.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.824 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(200 to 219) after execute:0xd, 0xe7, 0xa6, 0x69, 0xe5, 0xfe, 0x19, 0xbf, 0x4, 0x19, 0, 0x12, 0x4, 0x36, 0x1, 0x4, 0x20, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.828 [davinci_kernel_task.cc:1078]808855 GetArgsInfo:[AIC_INFO] args(220 to 234) after execute:0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.831 [davinci_kernel_task.cc:1082]808855 GetArgsInfo:tilingKey = 0, print 12 Times totalLen=(235*8), argsSize=1880, schemMode=1, blockDim=28
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.839 [davinci_kernel_task.cc:1182]808855 PrintErrorInfoForDavinciTask:[AIC_INFO] after execute:args print end
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.842 [davinci_kernel_task.cc:1030]808855 GetMixCtxInfo:descAlignBuf is invalid, device_id=3, stream_id=14, task_id=301.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:15.945.845 [davinci_kernel_task.cc:1187]808855 PrintErrorInfoForDavinciTask:[AIC_INFO] after execute:(no result)
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.946.353 [program.cc:1383] 808855 BinaryMemCopySync: binary memcpy to dev_mem, dev_mem=0x12006b800000, adviseSize=119178304, size=119172928, device_id=3, readonly=1.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.946.489 [program.cc:1370] 808855 BinaryMemAdvise: advise memory, dev_mem=0x12006b800000, dev_size=119178304, advise_type=3, device_id=3.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:15.958.860 [program.cc:1370] 808855 BinaryMemAdvise: advise memory, dev_mem=0x12006b800000, dev_size=119178304, advise_type=2, device_id=3.
[ERROR] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.072 [davinci_kernel_task.cc:1212]808855 PrintErrorInfoForDavinciTask:[DFX_INFO]AI Core kernel execution failed, device_id=3, stream_id=14, report_stream_id=14, task_id=301, flip_num=0, fault kernel_name=FusedInferAttentionScore_3b093497fc536d61a77a7a3293a524da_669253633, fault kernel info ext=none, program id=12, hash=14833731849856378574.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.095 [task_manager.cc:636] 808855 GetExceptionArgs: GetExceptionArgs taskInfo->type=0
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.108 [task_manager.cc:593] 808855 GetBinAndKernelNameExceptionArgs: kernel_name=FusedInferAttentionScore_3b093497fc536d61a77a7a3293a524da_669253633_mix_aic, kernelNameSize=75, binSize=137547616.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.110 [task_manager.cc:610] 808855 GetKernelExceptionDfxInfo: dfxSize=2184, dfxAddr=0x7fa3bb1e5df8, elfDataFlag=1.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.111 [task_manager.cc:623] 808855 GetKernelExceptionDfxInfo: GetExceptionArgs argAddr=0x120040200000, argsize=1880.
[WARNING] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.116 [task_manager.cc:690] 808855 TaskFailCallBack: stream_id=14, exposed_stream_id=14, exception_task_id=3361, retCode=0x7150026,[aicore exception]
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.120 [runtime.cc:4347] 808855 GetUserDevIdByDeviceId: userDevId=0, deviceId=3, isDeviceSetResetOp=0
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.123 [task_fail_callback_data_manager.cc:29] 808855 Notify: notify stream_id=14, task_id=3361, retcode:507015.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.129 [task_fail_callback_data_manager.cc:42] 808855 Notify: notify [GeErrorTracking] task start, notify task_id=3361, stream_id=14, retcode=507015.
[INFO] GE(802270,python3.10):2026-06-03-11:37:16.004.132 [error_tracking.cc:161]808855 ErrorTrackingCallback:ErrorTracking callbak in, task_id 3361, stream_id 14.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.143 [task_fail_callback_data_manager.cc:56] 808855 Notify: notify [GeErrorTracking] task end.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.144 [task_fail_callback_data_manager.cc:42] 808855 Notify: notify [AdumpException] task start, notify task_id=3361, stream_id=14, retcode=507015.
[INFO] RUNTIME(802270,python3.10):2026-06-03-11:37:16.004.221 [kernel_utils.cc:384] 808855 GetOpExecuteMsTimeout: get OP execute timeout=549756 ms.
[INFO] IDEDD(802270,python3.10):2026-06-03-11:37:16.004.223 [exception_dumper_platform.cpp:40][tid:808855] Get operator timeout 549756ms
[INFO] IDEDD(802270,python3.10):2026-06-03-11:37:16.004.234 [kernel_info_collector.cpp:63][tid:808855] Kernel handle: 0x2def12f0, kernel size: 137547616, name addr: 0x7fa414003150, name size: 75, kernel name: FusedInferAttentionScore_3b093497fc536d61a77a7a3293a524da_669253633_mix_aic
[INFO] IDEDD(802270,python3.10):2026-06-03-11:37:16.004.306 [dump_args.cpp:290][tid:808855] The meta dfx raw data:1, 0, 4, 0, 4, 0, 0, 0, 3, 0, 4, 0, 1, 0, 2, 0, 4, 0, 196, 2, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 3, 0, 0, 0, 0, 0, 3, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 16, 0, 5, 0, 3, 0, 0, 0, 0, 0, 3, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 16, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 255, 255, 255, 255, 255, 255, 255, 255, 0, 5, 0, 2, 0, 0, 0, 0, 0, 1, 0, 2, 

print screen 日志:

+ atk task -n node_perf.yaml -c result/ATB_PagedAttention_gen/json/PagedAttention_Model.json -p ./ --task performance_device -ap /home/s30073260/2026/pa/atb-knowledge/atk_test/atk_cida_atb/atb/common -mt 10 -sp --save_data profile -l info
tensorflow is not install in env
tensorflow is not install in env
tensorflow is not install in env
ct-tool not installed, please install it first.
[2026-06-05 16:43:59] [INFO] [MainProcess] [4179670] [base.py:148]  task_output_path: /home/s30073260/2026/pa/atb-knowledge/atk_test/atk_cida_atb/atb/infer/PagedAttentionOperation/atk_output/PagedAttention_Model_2026-06-05-16-43-58-595648
[2026-06-05 16:43:59] [INFO] [MainProcess] [4179670] [base.py:119]  start atk task: namespace(nodes='node_perf.yaml', case='result/ATB_PagedAttention_gen/json/PagedAttention_Model.json', plugin_path='./', task=['performance_device'], atb_api_path='/home/s30073260/2026/pa/atb-knowledge/atk_test/atk_cida_atb/atb/common', max_task=10, single_process=True, save_data={'profile': ['bin']}, log='info', fast_case=None, slice_input=None, slice_input_ratio=None, celery_log='warning', print_data='', start=None, end=None, acl_json='', white_list=None, black_list=None, random_nums=None, random_align_32b_nums=None, bm_device=<BenchmarkDevice.CPU: 'cpu'>, syc_dataset=False, mssanitizer=False, ms_log_path=None, trace=False, timeout=None, db_timeout=None, db_path=None, xrun_whl=None, bind_cpu_type='1', boundary_filter='default', keyword_filter=None, cpp_func_signature_type_path=False, triton_ut_path=None, input_data=None, experimental_config_path=None, bm_output_path=None, bm_output_path_adr='', sqlite_web_port='8881', loop_nums=1, disable_id_seed=False, dc_loop_nums=50, performance_data=[], atc_config=None, get_tiling_key_path=None, need_time=True, ct_tool=False, gm_init_flag=False, fluctuation_check=False, clean_l2_cache=False, nodes_list={})
[2026-06-05 16:43:59] [INFO] [MainProcess] [4179670] [base.py:168]  start single process run
[2026-06-05 16:43:59] [INFO] [MainProcess] [4179670] [atb_base_api.py:233]  ATK NPUBackend.custom_data_computation: None-guard installed
[2026-06-05 16:43:59] [INFO] [MainProcess] [4179670] [registry.py:61]  execute_atb_paged_attention is already registered, repeated registration will coverage it, new module path is execute_paged_attention

欢迎加入社区,感谢您对社区的贡献 🎉!

likedislike
ascend-robotascend-robot成员
6月5日 添加了label:bug
IivanS
6月5日 修改了issue 的描述
IivanS
6月5日 修改了issue 的描述
ivanS
6月5日 评论:

atk日志

[2026-06-05 16:55:09,206] [INFO] [MainProcess] [79874] [base.py:148]  task_output_path: /home/d60039526/ATK_CIDA/atb/infer/SelfAttentionOperation1/atk_output/all_SelfAttentionOperation_MLA_Model_2026-06-06-00-55-09-093223
[2026-06-05 16:55:09,206] [INFO] [MainProcess] [79874] [base.py:119]  start atk task: namespace(case='all_SelfAttentionOperation_MLA_Model.json', plugin_path='execute_self_attention_mla.py', atb_api_path='../../common/', nodes='nodes_SelfAttentionOperation_MLA_Perf.yaml', max_task=1, single_process=True, white_list='[2]', fast_case=None, log='info', celery_log='warning', save_data=None, print_data='', start=None, end=None, acl_json='', black_list=None, random_nums=None, random_align_32b_nums=None, bm_device=<BenchmarkDevice.CPU: 'cpu'>, syc_dataset=False, mssanitizer=False, ms_log_path=None, trace=False, timeout=None, db_timeout=None, db_path=None, task=None, xrun_whl=None, bind_cpu_type='1', boundary_filter='default', keyword_filter=None, cpp_func_signature_type_path=False, triton_ut_path=None, input_data=None, experimental_config_path=None, bm_output_path=None, sqlite_web_port='8881', loop_nums=1, disable_id_seed=False, dc_loop_nums=50, performance_data=[], atc_config=None, need_time=True, ct_tool=False, nodes_list={})
[2026-06-05 16:55:09,237] [INFO] [MainProcess] [79874] [base.py:168]  start single process run
[2026-06-05 16:55:09,238] [WARNING] [MainProcess] [79874] [atb_base_api.py:216]  ATK NPUBackend custom_data None-guard skipped: type object 'NPUBackend' has no attribute 'custom_data_computation'
[2026-06-05 16:55:09,240] [INFO] [MainProcess] [79874] [registry.py:61]  execute_atb_self_attention_mla is already registered, repeated registration will coverage it, new module path is execute_self_attention_mla
[2026-06-05 16:55:09,241] [INFO] [MainProcess] [79874] [single_process_main.py:207]  report api name: all_SelfAttentionOperation_MLA_Model
[2026-06-05 16:55:09,242] [INFO] [MainProcess] [79874] [opp_tasks.py:131]  [case 2] start CREATE DATASET.
[2026-06-05 16:55:09,245] [INFO] [MainProcess] [79874] [opp_tasks.py:153]  [case 2] SUCCESS CREATE DATASET.
[2026-06-05 16:55:09,245] [INFO] [MainProcess] [79874] [opp_tasks.py:264]  [case 2] start run ATB OPP TASK.
[2026-06-05 16:55:09,251] [INFO] [MainProcess] [79874] [atb_base_api.py:51]  AtbBaseFunctionApi init
[2026-06-05 16:55:33,334] [INFO] [MainProcess] [79874] [atb_base_api.py:51]  AtbBaseFunctionApi init
[2026-06-05 16:55:33,621] [INFO] [MainProcess] [79874] [patch_getenv.py:15]  get env ASCEND_RT_VISIBLE_DEVICES = 1
[2026-06-05 16:55:33,628] [INFO] [MainProcess] [79874] [opp_executor.py:301]  [case 2][RUN OPP TASK] START Init by input data.
[2026-06-05 16:55:33,629] [INFO] [MainProcess] [79874] [execute_self_attention_mla.py:177]  MLA executor init: maskType=0, headNum=2, kvHeadNum=0, seqLen=[16], ntokens=16, n_tensors=4
[2026-06-05 16:55:33,629] [INFO] [MainProcess] [79874] [opp_executor.py:303]  [case 2][RUN OPP TASK] SUCCESS Init by input data.
[2026-06-05 16:55:33,629] [INFO] [MainProcess] [79874] [opp_executor.py:60]  [case 2][RUN OPP TASK] Start Execute OPP on ['performance_device']
[2026-06-05 16:55:33,629] [INFO] [MainProcess] [79874] [execute_self_attention_mla.py:198]  MLA atb_input: n_tensors=4, in_formats=[2, 2, 2, 2]
[2026-06-05 16:55:33,670] [INFO] [MainProcess] [79874] [atb_base_api.py:98]  [atb_input_function] before create_variant_pack: run_params_len=16 run_params='{"seqLen": [16]}'
[2026-06-05 16:55:34,536] [INFO] [MainProcess] [79874] [backend.py:63]  =完成 warmup 阶段==
[2026-06-05 16:56:07,988] [ERROR] [MainProcess] [79874] [opp_tasks.py:227]  case 2 run opp failed: 
error code '507015' not found in error_dict.
[2026-06-05 16:56:07,989] [ERROR] [MainProcess] [79874] [opp_tasks.py:228]  
error code '507015' not found in error_dict.
Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 222, in run_opp_case
    ret, output_info_list = opp_executor.run_opp_case()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/common/utils.py", line 82, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 78, in run_opp_case
    perf_output_info = self._execute_performance_tasks(perf)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 510, in _execute_performance_tasks
    self.run_device_performance(perf)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/common/utils.py", line 82, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 149, in run_device_performance
    self.backend.run_device_perf(perf)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 230, in run_device_perf
    self.synchronize()
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 169, in synchronize
    self.check_error_code(error_code)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 74, in check_error_code
    raise ATKRuntimeError(f"\nerror code '{error_code}' not found in error_dict.")
atk.tasks.backends.backend.ATKRuntimeError: 
error code '507015' not found in error_dict.
[2026-06-05 16:56:07,990] [ERROR] [MainProcess] [79874] [opp_tasks.py:282]  Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 222, in run_opp_case
    ret, output_info_list = opp_executor.run_opp_case()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/common/utils.py", line 82, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 78, in run_opp_case
    perf_output_info = self._execute_performance_tasks(perf)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 510, in _execute_performance_tasks
    self.run_device_performance(perf)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/common/utils.py", line 82, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 149, in run_device_performance
    self.backend.run_device_perf(perf)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 230, in run_device_perf
    self.synchronize()
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 169, in synchronize
    self.check_error_code(error_code)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 74, in check_error_code
    raise ATKRuntimeError(f"\nerror code '{error_code}' not found in error_dict.")
atk.tasks.backends.backend.ATKRuntimeError: 
error code '507015' not found in error_dict.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 271, in run_opp_task
    run_opp_case(dataset_executor, task_result)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 229, in run_opp_case
    raise ATKRuntimeError("case %s run opp case failed: %s", task_result.case_config.id) from e
atk.tasks.backends.backend.ATKRuntimeError: ('case %s run opp case failed: %s', 2)

[2026-06-05 16:56:07,990] [ERROR] [MainProcess] [79874] [opp_tasks.py:283]  case 2 run opp failed: ('case %s run opp case failed: %s', 2)
[2026-06-05 16:56:07,990] [ERROR] [MainProcess] [79874] [single_process_main.py:185]  run_opp_task fail, node_name:0, error: run opp task failed!
Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 222, in run_opp_case
    ret, output_info_list = opp_executor.run_opp_case()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/common/utils.py", line 82, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 78, in run_opp_case
    perf_output_info = self._execute_performance_tasks(perf)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 510, in _execute_performance_tasks
    self.run_device_performance(perf)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/common/utils.py", line 82, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 149, in run_device_performance
    self.backend.run_device_perf(perf)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 230, in run_device_perf
    self.synchronize()
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 169, in synchronize
    self.check_error_code(error_code)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/backends/atb_backend.py", line 74, in check_error_code
    raise ATKRuntimeError(f"\nerror code '{error_code}' not found in error_dict.")
atk.tasks.backends.backend.ATKRuntimeError: 
error code '507015' not found in error_dict.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 271, in run_opp_task
    run_opp_case(dataset_executor, task_result)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 229, in run_opp_case
    raise ATKRuntimeError("case %s run opp case failed: %s", task_result.case_config.id) from e
atk.tasks.backends.backend.ATKRuntimeError: ('case %s run opp case failed: %s', 2)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/single_process_main.py", line 181, in run_node
    res = run_opp_task(task_result.model_dump())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 284, in run_opp_task
    raise RuntimeError("run opp task failed!") from run_exec
RuntimeError: run opp task failed!
[2026-06-05 16:56:07,991] [INFO] [MainProcess] [79874] [opp_tasks.py:264]  [case 2] start run ATB OPP TASK.
[2026-06-05 16:56:07,991] [INFO] [MainProcess] [79874] [atb_base_api.py:51]  AtbBaseFunctionApi init
[2026-06-05 16:56:07,998] [INFO] [MainProcess] [79874] [atb_base_api.py:51]  AtbBaseFunctionApi init
[2026-06-05 16:56:08,000] [ERROR] [MainProcess] [79874] [opp_tasks.py:282]  Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 271, in run_opp_task
    run_opp_case(dataset_executor, task_result)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 219, in run_opp_case
    opp_executor.before_run(data)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 300, in before_run
    input_dataset.to_device(self.backend.get_device())
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 188, in to_device
    self.kwargs = self._set_input_device(self.kwargs, device)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 266, in _set_input_device
    return self._set_input_data_by_dict(data, device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 253, in _set_input_data_by_dict
    input_data[name] = self._set_input_device(data, device)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 268, in _set_input_device
    return _set_input_data_by_tensor(data, device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 261, in _set_input_data_by_tensor
    return input_data.to(device)
           ^^^^^^^^^^^^^^^^^^^^^
RuntimeError: ACL stream synchronize failed, error code:507015

[2026-06-05 16:56:08,000] [ERROR] [MainProcess] [79874] [opp_tasks.py:283]  case 2 run opp failed: ACL stream synchronize failed, error code:507015
[2026-06-05 16:56:08,000] [ERROR] [MainProcess] [79874] [single_process_main.py:185]  run_opp_task fail, node_name:1, error: run opp task failed!
Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 271, in run_opp_task
    run_opp_case(dataset_executor, task_result)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 219, in run_opp_case
    opp_executor.before_run(data)
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/executors/opp_executor.py", line 300, in before_run
    input_dataset.to_device(self.backend.get_device())
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 188, in to_device
    self.kwargs = self._set_input_device(self.kwargs, device)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 266, in _set_input_device
    return self._set_input_data_by_dict(data, device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 253, in _set_input_data_by_dict
    input_data[name] = self._set_input_device(data, device)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 268, in _set_input_device
    return _set_input_data_by_tensor(data, device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/configs/dataset_config.py", line 261, in _set_input_data_by_tensor
    return input_data.to(device)
           ^^^^^^^^^^^^^^^^^^^^^
RuntimeError: ACL stream synchronize failed, error code:507015

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/single_process_main.py", line 181, in run_node
    res = run_opp_task(task_result.model_dump())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/python3.11.13/lib/python3.11/site-packages/atk/tasks/opp_tasks.py", line 284, in run_opp_task
    raise RuntimeError("run opp task failed!") from run_exec
RuntimeError: run opp task failed!
[2026-06-05 16:56:08,001] [ERROR] [MainProcess] [79874] [csv_report.py:424]  All cases is running failed. 

likedislike
IivanS
6月5日 修改了issue 的描述
IivanS
6月5日 修改标题为 “[Bug]: ATK 运行 ATB调用 950 FIAv5 PA 报错507015”,原标题为“[Bug]: ATK 运行 ATB调用 950 算子报错507015”
IivanS
6月5日 修改了issue 的描述
IivanS
6月5日 修改了issue 的描述
XXiaoyue
XXiaoyue
6月5日 评论:

507015 --- AI Core执行异常,非工具问题。
Wiki中已有参考FAQ,用户请先查阅:https://wiki.huawei.com/domains/143914/wiki/352630/WIKI202509018099576

  1. 查看plog日志(/root/ascend/log/debug/plog),找对应算子开发或CANN定位解决
  2. 主要检查输入构造是否正确,大概率是kernel执行失败
likedislike
ivanS
6月5日 评论:

已排查,并非算子问题;accu算子正常下发

likedislike
IivanS
6月8日 issue状态由 TODO 改变为 DONE
IivanS
6月8日 关闭了 issue
ascend-robotascend-robot成员
6月8日 添加了label:resolved