已合并
[UT] adapt 4 official testcase files for dynamo module(test_optimizers.py test_hooks.py test_debug_utils.py test_bytecode_hook.py) #8820
AtomGit-Bot创建于 2024年1月8日
[UT] adapt 4 official testcase files for dynamo module(test_optimizers.py test_hooks.py test_debug_utils.py test_bytecode_hook.py) #8820
已合并
Pull Request已成功合入, 合并人@
(感谢 AtomGit-Bot 的贡献)2024年1月8日 添加了
ascend-cla/yes
标签
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
✅ 流水线任务触发成功,正在执行,请稍候。 任务链接[c49517bec3bf47f19541c35a589aa071]


2024年1月8日 添加了
ci-pipeline-running
标签
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
SCA扫描: success
| # | check type | result | report |
|---|---|---|---|
| 1 | sca | success | >>> |


atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
静态检查: no pass
| # | check type | result | report |
|---|---|---|---|
| 1 | codecheck | no pass | >>> |


2024年1月8日 移除了
ci-pipeline-running
标签
2024年1月8日 添加了
ci-pipeline-failed
标签
2024年1月8日 推送了代码
2024年1月8日 移除了
ci-pipeline-failed
标签
2024年1月8日 添加了
ci-pipeline-running
标签
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
静态检查: no pass
| # | check type | result | report |
|---|---|---|---|
| 1 | codecheck | no pass | >>> |


2024年1月8日 移除了
ci-pipeline-running
标签
2024年1月8日 添加了
ci-pipeline-failed
标签
2024年1月8日 推送了代码
2024年1月8日 强制推送 了代码
2024年1月8日 移除了
ci-pipeline-failed
标签
2024年1月8日 添加了
ci-pipeline-running
标签
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
静态检查: no pass
| # | check type | result | report |
|---|---|---|---|
| 1 | codecheck | no pass | >>> |


2024年1月8日 移除了
ci-pipeline-running
标签
2024年1月8日 添加了
ci-pipeline-failed
标签
2024年1月8日 移除了
ci-pipeline-failed
标签
2024年1月8日 添加了
ci-pipeline-running
标签
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
静态检查: pass
| # | check type | result | report |
|---|---|---|---|
| 1 | codecheck | pass | >>> |


2024年1月8日 移除了
ci-pipeline-running
标签
2024年1月8日 添加了
ci-pipeline-passed
标签
test/dynamo/test_bytecode_hook.py
@@ -0,0 +2,4 @@
2+
3+import torch
4+import torch_npu
5+import torch._dynamo.test_case
import库的顺序换一下


test/dynamo/test_bytecode_hook.py
@@ -0,0 +11,4 @@
11+ return a - b * 10
12+
13+ def hook(code, out_code):
14+ return code
这个print是为什么存在?


2024年1月8日 强制推送 了代码
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
✅ 流水线任务触发成功,正在执行,请稍候。 任务链接[530cef1dff894bbd9902b79d575d4785]


2024年1月8日 移除了
ci-pipeline-passed
标签
2024年1月8日 添加了
ci-pipeline-running
标签
atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
SCA扫描: success
| # | check type | result | report |
|---|---|---|---|
| 1 | sca | success | >>> |


atlasaccount1
2024年1月8日 评论:
2024年1月8日 评论:
静态检查: pass
| # | check type | result | report |
|---|---|---|---|
| 1 | codecheck | pass | >>> |


2024年1月8日 移除了
ci-pipeline-running
标签
2024年1月8日 添加了
ci-pipeline-passed
标签
2024年1月9日 添加了
lgtm
标签
dilililiwhy1
2024年1月9日 评论:
2024年1月9日 评论:
/approve


2024年1月9日 添加了
approved
标签
2024年1月9日 合并了Pull Request(通过 API 合并)
atlasaccount1
2024年1月9日 评论:
2024年1月9日 评论:
静态检查: pass
| # | check type | result | report |
|---|---|---|---|
| 1 | codecheck | pass | >>> |


What type of PR is this?
What does this PR do / why do we need it:
1、Add and Adapt 4 official source UT files for dynamo module
test_optimizers.py
test_hooks.py
test_debug_utils.py
test_bytecode_hook.py
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewers: