From 74ef74be36951510756416ebd66b40b7bc30db7c Mon Sep 17 00:00:00 2001 From: Xu Han Date: Sat, 24 Aug 2024 23:48:48 +0000 Subject: [PATCH] [inductor] calibration inductor windows uts (3/N) (#134400) skip Windows UT of `test/dynamo/test_trace_rules.py` Pull Request resolved: https://github.com/pytorch/pytorch/pull/134400 Approved by: https://github.com/ezyang --- test/dynamo/test_trace_rules.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/dynamo/test_trace_rules.py b/test/dynamo/test_trace_rules.py index 79e7ce0bb34daa..397cf02d34a783 100644 --- a/test/dynamo/test_trace_rules.py +++ b/test/dynamo/test_trace_rules.py @@ -22,6 +22,7 @@ ) from torch._dynamo.utils import hashable, is_safe_constant, istype from torch._dynamo.variables import TorchInGraphFunctionVariable, UserFunctionVariable +from torch.testing._internal.common_utils import skipIfWindows try: @@ -438,6 +439,9 @@ class TestModuleSurviveSkipFiles(torch._dynamo.test_case.TestCase): not torch.distributed.is_available(), "need to import MLP module from distributed", ) + @skipIfWindows( + msg="AssertionError: False is not true : MLP did not survive skip files" + ) def test_module_survive_skip_files(self): from torch.testing._internal.common_fsdp import MLP