Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
master
ge
/
runtime
/
v2
/
engine
/
aicpu
/
converter
下载当前目录
cann-robot
【PR】: 简要描述 [feat]AICPU 引擎添加可选输入占位符(optional input placeholder)功能
fc7af519
创建于
7 天前
历史提交
文件
最后提交记录
最后更新时间
sequence
【PR】: clean code,增加sequence系列算子判空校验 Co-authored-by: dongjiangtao<dongjiangtao@huawei.com> # message auto-generated for no-merge-commit merge:
!696
merge master into master 【PR】: clean code,增加sequence系列算子判空校验 Created-by: dongjiangtao Commit-by: dongjiangtao Merged-by: cann-robot Description: # Pull Request ## 描述 请清晰准确地描述本次 Pull Request 的意图和变更内容。 clean code,增加sequence系列算子判空校验 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1.执行sequence 系列算子, SequenceConstruct/SequenceInsert/SequenceAt 等算子用例,执行成功 [INFO] GE(1150254,msame):2026-02-25-17:13:28.390.209 [executor_tracer.cc:64]1150254 OnExecuteEvent:[KernelTrace][AllocMemHost_SequenceLength_2_210] [INFO] GE(1150254,msame):2026-02-25-17:13:28.390.223 [executor_tracer.cc:64]1150254 OnExecuteEvent:[KernelTrace][BuildTensor_SequenceConstruct_0_130] [INFO] GE(1150254,msame):2026-02-25-17:13:28.390.237 [executor_tracer.cc:64]1150254 OnExecuteEvent:[KernelTrace][BuildTensor_SequenceInsert_1_177] [INFO] GE(1150254,msame):2026-02-25-17:13:28.390.250 [executor_tracer.cc:64]1150254 OnExecuteEvent:[KernelTrace][BuildTensor_SequenceLength_2_216] [INFO] GE(1150254,msame):2026-02-25-17:13:28.390.270 [executor_tracer.cc:64]1150254 OnExecuteEvent:[KernelTrace][SequenceConstructCompute_SequenceConstruct_0_154] ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:
feat:
,
fix:
) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/ge
!696
3 个月前
aicpu_callback.cc
sync develop to master 20260210 Co-authored-by: cann-robot<songchangxia@cann.team> Co-authored-by: zhang_shengjie<804425610@qq.com> Co-authored-by: kobemini<gengchao4@huawei.com> Co-authored-by: lining23666<lining.li@huawei.com> Co-authored-by: stevenaw0<huangguijun@huawei.com> Co-authored-by: lihuachao<lihuachao1@huawei.com> Co-authored-by: wanghuajie<wanghuajie1@huawei.com> Co-authored-by: yangyongqiang0606<yangyongqiang7@hisilicon.com> Co-authored-by: yelongjian<yelongjian1@huawei.com> Co-authored-by: isaacxu<xurui23@huawei.com> Co-authored-by: du-hua1024<duhua2@huawei.com> Co-authored-by: maohaodi<maohaodi@huawei.com> Co-authored-by: jsong27<songjiaming6@h-partners.com> # message auto-generated for no-merge-commit merge:
!571
merge develop into master sync develop to master 20260210 Created-by: depeng1994 Commit-by: cann-robot;jsong27;maohaodi;du-hua1024;zhang_shengjie;isaacxu;yelongjian;yangyongqiang0606;wanghuajie;lihuachao;stevenaw0;lining23666;kobemini Merged-by: wqtshg_wt Description: # Pull Request ## 描述 develop分支整体合入同步到master,详细描述见提交记录。 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1. 2. ## 核对清单 <!-- [x] 表示选中 --> - [ ] 我的代码遵循了项目的代码风格 - [ ] 我已对代码进行了自测 - [ ] 我已更新了相关的文档 - [ ] 我在标题中使用了合适的类型标签(如:
feat:
,
fix:
) - [ ] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/ge
!571
3 个月前
aicpu_callback.h
Initial commit
5 个月前
aicpu_ffts_node_converter.cc
fix:Correcting syntax and spelling errors in the log. Co-authored-by: zhaowenrui666<zhaowenrui7@huawei.com> # message auto-generated for no-merge-commit merge:
!2213
merge logfix into master fix:Correcting syntax and spelling errors in the log. Created-by: zhaowenrui666 Commit-by: zhaowenrui666 Merged-by: cann-robot Description: # Pull Request ## 描述 fix:Correcting syntax and spelling errors in the log. ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [x] 🐛 Bug 修复 - [ ] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue
https://gitcode.com/cann/ge/issues/335
## 如何测试 查看语法和拼写正确即可 ## 核对清单 <!-- [x] 表示选中 --> - [x] 我的代码遵循了项目的代码风格 - [x] 我已对代码进行了自测 - [x] 我已更新了相关的文档 - [x] 我在标题中使用了合适的类型标签(如:
feat:
,
fix:
) - [x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/ge
!2213
1 个月前
aicpu_ffts_node_converter.h
Initial commit
5 个月前
aicpu_node_converter.cc
【PR】: 简要描述 [feat]AICPU 引擎添加可选输入占位符(optional input placeholder)功能 Co-authored-by: jialimin1<jialimin1@huawei.com> # message auto-generated for no-merge-commit merge:
!3199
merge cherry-pick-mr-2973-1779882921815-auto into develop 【PR】: 简要描述 [feat]AICPU 引擎添加可选输入占位符(optional input placeholder)功能 Created-by: jialimin1 Commit-by: jialimin1 Merged-by: cann-robot Description: # Pull Request ## 描述 主要功能: 为 AICPU 引擎添加可选输入占位符(optional input placeholder)功能 背景:在可选输入位于中间位置时,例如 IR 输入顺序为 x, y(optional), z,如果实际只喂入 x, z,旧逻辑按有效输入数或实际 anchor 数组织 AICPU 参数,容易导致 z 被当成 y,造成输入地址、shape、ext info 和 kernel 侧输入序号错位。 修改目标:当算子信息库配置 optionalInputPlaceholder=true 时,AICPU/HostCPU 相关链路按 IR 全量输入槽位处理,未喂入的 optional input 使用空 shape / nullptr addr 占位,从而保持 IR 输入顺序。 主要修改点: 新增配置项和内部属性 新增算子信息库配置项:optionalInputPlaceholder 编译期将配置写入 OpDesc AICPU task/ext info 按全量输入槽位生成 NodeDef 和 AICPU args 保留 optional input 槽位 Runtime lowering 增加 shape/address 扩展 编译器引擎:在内核构建器和优化器中添加可选输入占位符的解析和设置逻辑 运行时引擎:实现输入地址和形状的扩展处理 测试用例:新增单元测试覆盖。 ## 变更类型 请选择本次引入的变更类型: <!-- [x] 表示选中 --> - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 💄 代码风格更新(格式化,局部变量) - [ ] ♻️ 重构(既不修复错误也不增加功能的代码变动) - [ ] 📦 构建过程或辅助工具的变动 - [ ] 📝 文档内容更新 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在当前页面的右侧'关联Issue'部分添加相应Issue链接,并勾选'合并后关闭已关联的 Issue'选项。 --> ## 如何测试 描述测试此变更的步骤和前提条件: 1.算子的算子信息库中配置了optionalInputPlaceholder为True 2.构造算子为动态输入 ## 核对清单 <!-- [x] 表示选中 --> -[x] 我的代码遵循了项目的代码风格 -[x] 我已对代码进行了自测 -[x] 我已更新了相关的文档 -[x] 我在标题中使用了合适的类型标签(如:
feat:
,
fix:
) -[x] 我已经详细阅读了贡献指南(CONTRIBUTING.md),并遵守了其中的所有规定,包括但不限于commit message的格式、无效commit的合并等 ## 其他信息 在此添加任何其他关于本次 PR 的说明。 See merge request: cann/ge
!3199
7 天前
aicpu_node_converter.h
Initial commit
5 个月前