已合并
适配 BatchMatmul 与 Matmul 样例至 cannbotdsl 0.7 #127
ykxxlzhong创建于 12 天前
适配 BatchMatmul 与 Matmul 样例至 cannbotdsl 0.7 #127
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ykxxlzhong 的贡献)12 天前 创建了 pull request,commit 14035d1e
12 天前 添加了label:ai-co-authored
12 天前 添加了label:cann-cla/yes
CANN-robot
12 天前 评论:
12 天前 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/cannbot-dsl | ✅ yang-jiwei, 金炯 (2/2) | ✅ yang-jiwei (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
ykxxlzhong, thanks for your pull request. All authors of the commits have signed the CLA. 👍


ykxxlzhong
12 天前 评论:
12 天前 评论:
compile


此处折叠了72条消息 查看更多
yang-jiwei
12 天前 评论:
12 天前 评论:
/lgtm
/approve


12 天前 添加了label:approved
12 天前 添加了label:lgtm
12 天前 合入了pull request
当前PR是否有AI参与:
PR功能描述 / 为什么需要这个合入:
适配新版 CANNBot-DSL(0.7)接口,更新 matmul 族样例:
run入口由@jit迁移@host(0.7 强制 DSL 调用层级,@jit仅作 inline helper);tile_view统一更名tile_slice;导入迁移至 0.7 子模块约定(cannbotdsl.tensor/cannbotdsl.ops.memcpy);README 的 AOT 入口由run.compile()更新为cannbotdsl.compile(op.run, *specs)。@host入口、tile_slice、Channel 显式produce()/consume()、静态 copy engine(去除dtype/pad_value参数)。希望检视人员了解:
tile_slice用法原已符合 0.7 风格,本次核心修复为@host入口(否则报Illegal DSL call)改动类型 / Change Type
测试信息 / Testing
cannbotdsl.compile(op.run, *specs)实测可用,精度与 JIT 一致