Skip to content

Commit

Permalink
[inductor] calibration inductor windows uts (3/N) (pytorch#134400)
Browse files Browse the repository at this point in the history
skip Windows UT of `test/dynamo/test_trace_rules.py`

Pull Request resolved: pytorch#134400
Approved by: https://github.com/ezyang
  • Loading branch information
xuhancn authored and pytorchmergebot committed Aug 24, 2024
1 parent d33d68e commit 74ef74b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/dynamo/test_trace_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 74ef74b

Please sign in to comment.