| fix: add add_graph_plugin_sources() to enable proto generation for 6 operators
Co-authored-by: cao-ren-lei<caorenlei@huawei.com>
Co-authored-by: wangxun21<wangxun21@huawei.com>
# message auto-generated for no-merge-commit merge:
!5231 merge cherry-pick-4905-op_proto into master
fix: add add_graph_plugin_sources() to enable proto generation for 6 operators
Created-by: wangxun21
Commit-by: wangxun21;cao-ren-lei
Merged-by: cann-robot
Description: ## 描述
为6个算子的 op_graph CMakeLists.txt 添加 add_graph_plugin_sources() 调用,启用 proto 文件生成。
改动原因:上述6个算子的 op_graph 目录下缺少 add_graph_plugin_sources() 调用,导致编译时无法生成对应的 proto 文件。
改动方法:在各算子的 op_graph/CMakeLists.txt 中添加 add_graph_plugin_sources() 函数调用。
受影响的算子:
- apply_rotary_pos_emb
- attention_update
- interleave_rope
- rotary_position_embedding
- rotary_position_embedding_grad
- ring_attention_update
## 关联的Issue
Fixes #2387
## 测试
原 MR #4905 已通过 CI 流水线验证(ci-pipeline-passed、api-check-pass)。
## 文档更新
无
## 类型标签
- [x] 🐛 Bug 修复
See merge request: cann/ops-transformer!5231 | 15 天前 |