已合并
fix: update DVM r2.10 submodule #44743
SorryNaCN创建于 3 天前
fix: update DVM r2.10 submodule #44743
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 SorryNaCN 的贡献)ascend-robot
3 天前 评论:
3 天前 评论:
atomgit-bot
3 天前 评论:
3 天前 评论:
变更摘要
本 PR 将 PyTorch v2.7.1 分支上的 third_party/dvm/dvm 子模块指针从 b64eba7c8abe501cd216f94feddfe12b5c6e2192 更新至 DVM r2.10 对应的 98d3909fc086b76be729cd79415be02ebec9b0a5。新提交主要修复 SpecVector::FallCodeGen() 在跳过未使用的 load 后 clone 索引错位的问题,避免后续 Reduce clone 读取非法指针并在 codegen 阶段触发 SIGSEGV;本 PR 本身不涉及资料、接口或配置变更。
主要改动
- 更新 DVM 子模块版本:将
third_party/dvm/dvm的 gitlink 由b64eba7c8abe501cd216f94feddfe12b5c6e2192更新为 DVMr2.10的98d3909fc086b76be729cd79415be02ebec9b0a5。 - 修复
SpecVector::FallCodeGen()的 clone 索引错位:引入的 DVM 上游修复在跳过未使用 load 后修正了clone索引对齐逻辑。 - 消除 codegen 阶段段错误:通过上述修复避免
Reduce clone读取非法指针,使Tester.codegen()不再触发 SIGSEGV,相关test_spec_vector.py与test_clone.py用例恢复正常。


atomgit-bot
3 天前 评论:
3 天前 评论:
3 天前 添加了label:ascend-cla/yes
此处折叠了58条消息 查看更多
zichun_ye
1 天前 评论:
1 天前 评论:
/approve


1 天前 添加了label:approvedlgtm
1 天前 合入了pull request
ascend-robot
1 天前 评论:
1 天前 评论:
流水线 pytorch_gitcode_PR_multiVersion#14250 [ commitID:e2759e19 ] 已完成


【合入来源】
Fixes https://gitcode.com/Ascend/pytorch/issues/4124
【修改方案】
v2.7.1分支的third_party/dvm/dvmgitlink 从b64eba7c8abe501cd216f94feddfe12b5c6e2192更新到 DVMr2.10当前提交6e86795f3ce6832c72e7558454d7bb0864d2688e。SpecVector::FallCodeGen()在跳过未使用 load 后 clone 索引错位的问题,避免后续 Reduce clone 读取非法指针并在 codegen 阶段触发段错误。r2.10prebuild,使更新后的 CCE 编译指令进入预编译产物。【资料变更】
不涉及。
【接口变更】
不涉及。
【功能验证】
r2.10修复前,纯 DVM 回归用例在Tester.codegen()触发 SIGSEGV,pytest 退出码为 139;修复后test_spec_vector.py + test_clone.py共 40 passed。make PRE_ASCEND=1 -j8构建通过;910B3 单卡回归test_spec_fall_clone_after_unused_load结果为 1 passed。third_party/dvm/dvmgitlink;相对目标分支为 1 个提交、1 个文件,git diff --check通过。【CheckList】