已合并
[fix] revert #34662:restore double type conversion for Ascend950 #36057
wanlinan创建于 5月19日
[fix] revert #34662:restore double type conversion for Ascend950 #36057
已合并
wanlinan创建于 5月19日
wanlinan
wanlinan成员
5月19日

【合入来源】

[Bug]: A5机型Tensor.to去掉double强制转float逻辑后,下游算子报错

【修改方案】

回退Ascend950机型to类型转换算子float转double,所有机型都恢复之前的逻辑,打印告警然后转成float32

【资料变更】

不涉及

【接口变更】

不涉及

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 wanlinan 的贡献)
wanlinanwanlinan成员
5月19日 创建了 pull request,commit 979ec422
ascend-robot
ascend-robot成员
5月19日 评论:

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
repo-Ascend/pytorch htchu, 李伟 (2/2) htchu, 李伟 (2/1)
test 李伟, htchu (2/2) htchu, 李伟 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

wanlinan, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
ascend-robotascend-robot成员
5月19日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
5月19日 评论:

当前仓库存在以下 保护分支

Protected Branch Version Release
master
v2.11.0
v2.7.1
v2.9.0
v2.10.0
v2.12.0

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
wanlinan
wanlinan成员
5月19日 评论:

compile

likedislike
ascend-robotascend-robot成员
5月19日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
5月19日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
5月19日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
5月19日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robot
ascend-robot成员
5月19日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
5月19日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
5月19日 添加了label:docs-ci-pipeline-success
ascend-robot
ascend-robot成员
5月19日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
5月19日 删除了label:ci-pipeline-running
此处折叠了5条事件消息 查看更多
ascend-robotascend-robot成员
5月19日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
5月19日 评论:
流水线 PR-pipeline_pytorch#23576 (重试第1次)已完成
阶段 任务名 状态 详情
编译构建 Build_X86 >>>
Build_ARM >>>
Build_LibTorch_x86 >>>
Build_LibTorch_ARM >>>
Build_X86_torchair 🛑 >>>
Build_ARM_torchair 🛑 >>>
patch_test 🛑 >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
check_error >>>
开源片段检查 SCA >>>
开发者测试 UT_X86_Part_01 >>>
UT_X86_Part_02 >>>
UT_ARM_A3_Part_01 >>>
UT_ARM_A3_Part_02 >>>
UT_ARM_A2_Part_01 >>>
UT_ARM_A2_Part_02 >>>
UT_ARM_A2_Part_03 >>>
UT_inductor_Part_01_pool 🛑 >>>
UT_inductor_Part_02_pool 🛑 >>>
UT_inductor_Part_03_pool 🛑 >>>
UT_inductor_Part_04_pool 🛑 >>>
UT_DIST_ARM_Part_01 🛑 >>>
UT_DIST_ARM_Part_02 🛑 >>>
UT_DIST_ARM_Part_03 🛑 >>>
UT_DIST_ARM_Part_04 🛑 >>>
流水线 PR-pipeline_pytorch >>>
likedislike
ascend-robotascend-robot成员
5月19日 删除了label:ci-pipeline-running
wanlinanwanlinan成员
5月20日 修改了pull request 的描述
htchu成员
5月20日 评论:

/approve

likedislike
ascend-robotascend-robot成员
5月20日 添加了label:approved
liwei386成员
5月20日 评论:

/approve

likedislike
ascend-robotascend-robot成员
5月20日 添加了label:lgtm
ascend-robot
ascend-robot成员
5月20日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 李伟, htchu.
Reviewers who wrote a comment of /lgtm are: htchu, 李伟.

likedislike
ascend-robotascend-robot成员
5月20日 合入了pull request