专栏算法工具链error: operand #0 does not dominate this use

error: operand #0 does not dominate this use

已解决
默认232322025-01-20
70
5
[- ]1% loc(fused<#hbdk.track], originalAlignOutputsShape = [<2, 6400, 8>]>>["/decoder/agent_encoder/Sub_5"]): error: operand #0 does not dominate this use notes: ['see current operation: %0 = "hbdk.broadcast"(%10) <{dims = [2], extra = #hbdk.extra (d0, d1, d2, d3)], skipCheck = [false], attr = {layer_id = 1458 : i64}>}> : (tensor<16x20x1x2xsi8, {block = "16N_2H_4C", order = "NWCH", space_name = 3 : i64}>) -> tensor<16x20x20x2xsi8, {block = "16N_2H_4C", space_name = 3 : i64}>', 'operand defined here (op in the same block)'] MLIR Python Diagnostic handler raised exception: Exception: error detected At: /usr/local/lib/python3.10/dist-packages/hbdk4/compiler/utils/default.py(18): callback /usr/local/lib/python3.10/dist-packages/hbdk4/compiler/apis.py(236): compile /usr/local/lib/python3.10/dist-packages/hbdk4/compiler/utils/default.py(39): wrapper /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/hbir_handle.py(76): compile_model /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/utils/wrap_utils.py(49): wrapper /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/compile/hbm_builder.py(305): compile_model /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/compile/hbm_builder.py(337): build /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/hb_compile.py(123): hbm_build /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/hb_compile.py(230): check_mode /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/hb_compile.py(301): main /usr/local/lib/python3.10/dist-packages/horizon_tc_ui/utils/tool_utils.py(135): __decorator /usr/local/lib/python3.10/dist-packages/click/core.py(610): invoke /usr/local/lib/python3.10/dist-packages/click/core.py(1066): invoke /usr/local/lib/python3.10/dist-packages/click/core.py(782): main /usr/local/lib/python3.10/dist-packages/click/core.py(829): call /usr/local/bin/hb_compile(8): loc(fused<#hbdk.track], originalAlignOutputsShape = [<2, 6400, 8>]>>["/decoder/agent_encoder/Sub_5"]): error: operand #0 does not dominate this use ../../hbdk/lib/Transforms/CodegenPass/CodeGenReplay.cpp:179: in function 'operator()': assert: succeeded(mlir::verify(tryingFuncWithMapper->func, true)) PLEASE submit a bug report to HBDK team and include the crash backtrace. Stack dump: 0. Program arguments: Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it): 0 libHBDKPythonCAPI.so 0x00007106ec31d43b
算法工具链
征程6
评论3
0/1000
  • 默认23232
    Lv.2

    loc(fused], originalAlignOutputsShape = []>>["/decoder/agent_encoder/Sub_5"]): error: operand #0 does not dominate this use notes: ['see current operation: %0 = "hbdk.broadcast"(%10) (d0, d1, d2, d3)], skipCheck = [false], attr = {layer_id = 1458 : i64}>}> : (tensor) -> tensor', 'operand defined here (op in the same block)']
    2025-01-20
    0
    0
  • Huanghui
    Lv.5

    你好,这个是编译错误,可能是模型本身的问题,也可能是编译器的问题,请分享一下你的模型和编译配置,我们需要复现一下问题先~

    2025-01-20
    0
    2
    • 默认23232回复Huanghui:

      感谢答复,目前已反馈给贵司技术人员,他们复现成功,表示是hbdk问题

      2025-02-08
      0
    • Huanghui回复默认23232:

      好的,我们也有反馈,就是编译器问题,等待研发修复就OK了。

      2025-02-08
      0
  • Huanghui
    Lv.5

    您好,请问该问题是否依然存在,存在请分享用于复现和验证问题的模型和配置。

    2025-02-05
    0
    0