已合并
delete dropout effect #45755
lihui创建于 9月3日
delete dropout effect #45755
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 lihui 的贡献)atomgit-bot
9月3日 评论:
9月3日 评论:
变更摘要
本 PR 针对 benchmarks/torchbench/npu_support.py 中的 _patch_model_24() 模型补丁逻辑,删除了将 native_dropout 注册为有序副作用(effect)的配置:移除对 torch._higher_order_ops.effects 中 _EffectType、_register_effectful_op 的导入,以及 _register_effectful_op(torch.ops.aten.native_dropout.default, _EffectType.ORDERED) 的调用,即不再把 dropout 算子按 ORDERED 效果类型处理。该改动仅涉及代码删除,不改变函数对外行为或接口,属补丁配置层面的清理。
主要改动
- 移除 dropout 效果注册: 删除
_patch_model_24()中的_register_effectful_op(torch.ops.aten.native_dropout.default, _EffectType.ORDERED)调用,使native_dropout不再被强制注册为ORDERED类型的有序副作用算子。 - 清理相关导入: 同步移除对
torch._higher_order_ops.effects模块中_EffectType与_register_effectful_op两个符号的导入语句。


不准确?
atomgit-bot
9月3日 评论:
9月3日 评论:
lihui
9月3日 评论:
9月3日 评论:
compile


9月3日 添加了label:ci-pipeline-running
此处折叠了49条消息 查看更多
9月8日 删除了label:ci-pipeline-running
9月8日 添加了label:ci-pipeline-passed
AtlasAccount
9月8日 评论:
9月8日 评论:
流水线 PR-pipeline_pytorch#66499 [ commitID:df88664c ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ COMPLETED | >>> |
| Build_ARM | ✅ COMPLETED | >>> | |
| Build_X86_torchair | ⚪ IGNORED | >>> | |
| Build_ARM_torchair | ⚪ IGNORED | >>> | |
| patch_test | ⚪ IGNORED | >>> | |
| Build_X86_213 | ⚪ IGNORED | >>> | |
| Build_ARM_213 | ⚪ IGNORED | >>> | |
| 恶意代码检查 | Antipoison | ✅ COMPLETED | >>> |
| 编码安全与规范检查 | codecheck_pre-commit | ✅ COMPLETED | >>> |
| check_error | ✅ COMPLETED | >>> | |
| lintrunner | ✅ COMPLETED | >>> | |
| 开源片段检查 | SCA | ✅ COMPLETED | >>> |
| 开发者测试 | UT_ARM_A3_Part_01 | ⚪ IGNORED | >>> |
| UT_ARM_A3_Part_02 | ⚪ IGNORED | >>> | |
| UT_ARM_A2_Part_01 | ✅ COMPLETED | >>> | |
| UT_ARM_A2_Part_02 | ✅ COMPLETED | >>> | |
| UT_ARM_A2_Part_03 | ✅ COMPLETED | >>> | |
| UT_inductor_Part_01 | ⚪ IGNORED | >>> | |
| UT_inductor_Part_02 | ⚪ IGNORED | >>> | |
| UT_inductor_Part_03 | ⚪ IGNORED | >>> | |
| UT_inductor_Part_04 | ⚪ IGNORED | >>> | |
| UT_DIST_ARM_Part_01 | ⚪ IGNORED | >>> | |
| UT_DIST_ARM_Part_02 | ⚪ IGNORED | >>> | |
| UT_DIST_ARM_Part_03 | ⚪ IGNORED | >>> | |
| UT_DIST_ARM_Part_04 | ⚪ IGNORED | >>> | |
| UT_ARM_A2_Select_Part_01 | ✅ COMPLETED | >>> | |
| UT_ARM_A2_Select_Part_02 | ✅ COMPLETED | >>> | |
| UT_inductor_Part_213 | ⚪ IGNORED | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ COMPLETED | >>> |
- compile、compile_inductor、compile_torchair : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


9月8日 合入了pull request
AtlasAccount
9月8日 评论:
9月8日 评论:
流水线 pytorch_gitcode_PR_multiVersion#15055 [ commitID:df88664c ] 已完成


【合入来源】
【修改方案】
【资料变更】
【接口变更】
【功能验证】
【CheckList】