已关闭
[Bug-Report|缺陷反馈]: 新算子仓搭配旧的asc-devkit包,会编译报错 #1609
liutao249创建于 23 天前关闭于 10 天前
chenyiyuan
22 天前 评论:
22 天前 评论:
你好,已收到反馈,将进行问题确认,另外是否能提供更完整的报错原因,比如整个include链路


22 天前 将 haipingmao 设为负责人
22 天前 将 treefei 设为负责人
22 天前 移除了负责人 haipingmao
treefei
18 天前 评论:
18 天前 评论:
您好,对于"使用CI上新编出的算子包,搭配8月1日的asc-devkit包,在线编译算子,出现编译报错"这个问题,原因是8月1日及之前的asc-devkit包内的utils不包含utils/base/helpers.h这个文件,而最新的算子包依赖主线上的tensor_api和c_api代码,二者不匹配导致的,对于您的情况提供以下两种解决方案:
情况一:算子包依赖主线上最新的c_api和tensor_api代码,建议在编包时使用当前最新的asc-devkit包。
情况二:算子包依赖特性分支上的代码,当前已提供pr来解决上述问题,详见https://gitcode.com/cann/asc-devkit/pull/5511


treefei
15 天前 评论:
15 天前 评论:
您好,dev仓方案已合入,正在同步更新ops-tensor仓的commitId,详见 https://gitcode.com/cann/ops-tensor/pull/337 ,预计下周一合入,感谢您的耐心等待。


treefei
10 天前 评论:
10 天前 评论:
您好,最新特性分支代码最新提交已合入ops-tensor仓,感谢您的耐心等待,如果暂时没有其他问题,我们先关闭该 Issue,后续有任何疑问,欢迎重新提 Issue 讨论~


10 天前 issue状态由 待办的 改变为 已解决
10 天前 关闭了 issue
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
使用CI上新编出的算子包,搭配8月1日的asc-devkit包,在线编译算子,出现编译报错:
在asc_reg_vector.h中找不到utils/base/helpers.h
Environment / 环境信息 (Mandatory / 必填)
Toolkit包:9.2.0 8月1号master
CANN: 9.2.0 最新的master
硬件:Ascend 950DT
操作系统:ubuntu 22.04
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
安装早期的toolkit包(8/1之前),搭配最新的算子包,执行算子编译
Describe the expected behavior / 预期结果 (Mandatory / 必填)
预期算子编译成功,实际编译报错
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
在asc_reg_vector.h中找不到utils/base/helpers.h
Special notes for this issue/备注 (Optional / 选填)