已合并
refactor: 迁移 kv_compress_epilog / pointnet_sa / rms_norm / voxel_conv #99
mayafei创建于 15 天前
refactor: 迁移 kv_compress_epilog / pointnet_sa / rms_norm / voxel_conv #99
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 mayafei 的贡献)15 天前 添加了label:cann-cla/no
CANN-robot
15 天前 评论:
15 天前 评论:
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 | ✅ liujun2025, yang-jiwei (2/2) | ✅ liujun2025, yang-jiwei (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
mayafei, thanks for your pull request. All authors of the commits have signed the CLA. 👍


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


13 天前 添加了label:approved
liujun2025
13 天前 评论:
13 天前 评论:
/lgtm
/approve


13 天前 添加了label:lgtm
13 天前 合入了pull request
概述
kv_compress_epilog/pointnet_sa/rms_norm/voxel_conv四个算子样例此前固定在旧版 DSL whl 上,无法在 CANNBot-DSL 0.6.0 上运行。本 MR 将这四个算子迁移至 0.6.0 新接口,并按代码检视意见完成整改,测试同步迁移。改动范围仅限这四个算子(
grouped_matmul/matmul不在本次范围内,未做改动)。接口迁移
cannbotdsl.ops.*/cannbotdsl.lang.*tile_view更名tile_slice;@jit入口更名@hostChannel.produce()/consume()显式槽位协议torch张量直传,去掉as_tensor转换层raw→simd;删除 vf 结尾不再需要的membarpointnet_sa按新接口重写 host 侧并统一 tiling 属性为 snake_caserms_norm采用 arena 维护版内核与接口;voxel_conv补齐 produce/consume 槽位协议与@host入口代码检视整改
.cpu()/.item()路径)torch.empty构造assert改为显式raise ValueError/TypeError,只校验算子规格测试
四个算子的测试同步迁移至
@host入口与新模块路径,61 个用例全部通过。kv_compress_epilogpointnet_sarms_normvoxel_conv🤖 Generated with Claude Code