已合并
fix(example): rename NPU_ARCH to NPU_SOC_VERSION and dynamically adapt Python version tag #7520
huang-chuhong创建于 6月25日
fix(example): rename NPU_ARCH to NPU_SOC_VERSION and dynamically adapt Python version tag #7520
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 huang-chuhong 的贡献)6月25日 创建了 pull request,commit 129c9e61
6月25日 添加了label:cann-cla/yes
CANN-robot
6月25日 评论:
6月25日 评论:
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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| */*/README.md | ✅ 吴瑶, 蒋礼锐 (2/2) | ✅ 吴瑶 (1/1) |
| examples | ✅ 蒋礼锐, xtqh (2/2) | ✅ 蒋礼锐 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
huang-chuhong, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6月25日 修改了pull request 的描述
huang-chuhong
6月25日 评论:
6月25日 评论:
compile


此处折叠了81条消息 查看更多
jiang-lirui
6月30日 评论:
6月30日 评论:
/approve
/lgtm


6月30日 添加了label:lgtmapproved
6月30日 合入了pull request
描述
fast_kernel_launch_example 示例工程中 NPU_ARCH 变量命名与社区规范不一致,且 README 缺少编译款型说明,setup.py 中 wheel 构建的 Python 版本标签硬编码为 cp38,与 README 文档描述不一致。
本次改动将 NPU_ARCH 全量重命名为 NPU_SOC_VERSION,并在 README 中补充编译款型说明;同时 wheel Python 版本标签从硬编码 cp38 改为动态适配。
改动
关于 abi3 兼容性的说明
本项目为 example 示例工程,用户根据自身环境自行构建 wheel 并安装,不存在跨版本分发场景。动态标签使产物名与 README 文档描述一致,用户构建即用,不影响实际使用。
关联的Issue
#3310
测试
类型标签