已合并
test: sync dynamo compile cache tests to v2.12.0 #37711
wangzili121创建于 6月5日
test: sync dynamo compile cache tests to v2.12.0 #37711
已合并
wangzili121创建于 6月5日
wangzili121成员
6月5日

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

【修改方案】

"基于 torch_npu 2.10 + 版本完成 dynamo 编译缓存适配"需求的单测在v2.12.0版本上报错,现已解决,将相应用例同步到高版本看护
test/dynamo/test_package.py
test/dynamo/test_precompile_context.py
test/dynamo/test_guard_serialization.py
test/_inductor/test_codecache.py

【资料变更】

不涉及

【接口变更】

不涉及

【功能验证】

本地验证用例均通过

【CheckList】

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

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 wangzili121 的贡献)
Wwangzili121成员
6月5日 创建了 pull request,commit a99c8085
openLiBingCI成员6月5日进行代码检视1
test/_inductor/test_codecache.py
@@ -2,8 +6,11 @@
6+import shutil
7+import unittest
8+ 
29import torch
3-from torch.testing._internal.common_utils import run_tests
4-from torch._inductor.codecache import CacheBase
5-from testutils import TestUtils
6-import torch_npu
7-import torch_npu._inductor
10+import torch_npu # noqa: F401
11+import torch_npu._inductor # noqa: F401
12+from torch._dynamo.package import DynamoCache
openLiBingCI6月5日评论:

此条代码评论区间+6+12

【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。

likedislike
openLiBingCI成员6月5日进行代码检视1
test/_inductor/test_codecache.py
@@ -2,8 +6,11 @@
6+import shutil
7+import unittest
8+ 
29import torch
3-from torch.testing._internal.common_utils import run_tests
4-from torch._inductor.codecache import CacheBase
5-from testutils import TestUtils
6-import torch_npu
7-import torch_npu._inductor
10+import torch_npu # noqa: F401
11+import torch_npu._inductor # noqa: F401
12+from torch._dynamo.package import DynamoCache
openLiBingCI6月5日评论:

此条代码评论区间+6+12

【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。

likedislike
openLiBingCI成员6月5日进行代码检视1
test/_inductor/test_codecache.py
@@ -2,7 +7,11 @@
7+import unittest
8+ 
29import torch
3-from torch.testing._internal.common_utils import run_tests
4-from torch._inductor.codecache import CacheBase
5-from testutils import TestUtils
6-import torch_npu
7-import torch_npu._inductor
10+import torch_npu # noqa: F401
11+import torch_npu._inductor # noqa: F401
12+from torch._dynamo.package import DynamoCache
13+from torch._dynamo.precompile_context import PrecompileContext
openLiBingCI6月5日评论:

此条代码评论区间+7+13

【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。

likedislike
此处折叠了51条消息 查看更多
ascend-robotascend-robot成员
6月8日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
6月8日 评论:
流水线 PR-pipeline_pytorch#30248 已完成
阶段 任务名 状态 详情
编译构建 Build_X86 >>>
Build_ARM >>>
Build_LibTorch_x86 >>>
Build_LibTorch_ARM >>>
Build_X86_torchair 🛑 >>>
Build_ARM_torchair 🛑 >>>
patch_test 🛑 >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
check_error >>>
CodeCheck_lintrunner >>>
开源片段检查 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 🛑 >>>
UT_inductor_Part_02 🛑 >>>
UT_inductor_Part_03 🛑 >>>
UT_inductor_Part_04 🛑 >>>
UT_DIST_ARM_Part_01 🛑 >>>
UT_DIST_ARM_Part_02 🛑 >>>
UT_DIST_ARM_Part_03 🛑 >>>
UT_DIST_ARM_Part_04 🛑 >>>
UT_ARM_A2_Select_Part_01 >>>
UT_ARM_A2_Select_Part_02 >>>
流水线 PR-pipeline_pytorch >>>
likedislike
ascend-robotascend-robot成员
6月8日 合入了pull request
ascend-robot
ascend-robot成员
6月8日 评论:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike
ascend-robot
ascend-robot成员
6月8日 评论:
流水线 pytorch_gitcode_PR_multiVersion#10184 [ commitID:cd2fafe8 ] 已完成
likedislike