已合并
fix: update DVM r2.10 submodule #44743
fix: update DVM r2.10 submodule #44743
已合并
SorryNaCN创建于 3 天前
SorryNaCN
SorryNaCN成员
3 天前

【合入来源】

Fixes https://gitcode.com/Ascend/pytorch/issues/4124

【修改方案】

  1. 将当前 PyTorch v2.7.1 分支的 third_party/dvm/dvm gitlink 从 b64eba7c8abe501cd216f94feddfe12b5c6e2192 更新到 DVM r2.10 当前提交 6e86795f3ce6832c72e7558454d7bb0864d2688e
  2. DVM !771 修复 SpecVector::FallCodeGen() 在跳过未使用 load 后 clone 索引错位的问题,避免后续 Reduce clone 读取非法指针并在 codegen 阶段触发段错误。
  3. DVM !774 基于 CANN 9.1.0-beta.3 重新生成 r2.10 prebuild,使更新后的 CCE 编译指令进入预编译产物。
  4. DVM 上游提交均已合入:

【资料变更】

不涉及。

【接口变更】

不涉及。

【功能验证】

  • DVM r2.10 修复前,纯 DVM 回归用例在 Tester.codegen() 触发 SIGSEGV,pytest 退出码为 139;修复后 test_spec_vector.py + test_clone.py 共 40 passed。
  • 使用 CANN 9.1.0-beta.3 重新生成 C220/C310 prebuild,make PRE_ASCEND=1 -j8 构建通过;910B3 单卡回归 test_spec_fall_clone_after_unused_load 结果为 1 passed。
  • PyTorch 侧仅更新 third_party/dvm/dvm gitlink;相对目标分支为 1 个提交、1 个文件,git diff --check 通过。

【CheckList】

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 SorryNaCN 的贡献)
SorryNaCNSorryNaCN成员
3 天前 创建了 pull request,commit f54cd10f
atomgit-bot
atomgit-bot
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 更新为 DVM r2.1098d3909fc086b76be729cd79415be02ebec9b0a5
  • 修复 SpecVector::FallCodeGen() 的 clone 索引错位:引入的 DVM 上游修复在跳过未使用 load 后修正了 clone 索引对齐逻辑。
  • 消除 codegen 阶段段错误:通过上述修复避免 Reduce clone 读取非法指针,使 Tester.codegen() 不再触发 SIGSEGV,相关 test_spec_vector.pytest_clone.py 用例恢复正常。
likedislike
atomgit-bot
atomgit-bot
3 天前 评论:

代码审查

✅ 未发现问题

likedislike
ascend-robotascend-robot成员
3 天前 添加了label:ascend-cla/yes
此处折叠了58条消息 查看更多
hbhu_bin成员
2 天前 评论:

/lgtm

likedislike
zichun_ye
zichun_ye成员
1 天前 评论:

/approve

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