8000 Apply suggestions from code review · pytorch/pytorch@544e7cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 544e7cc

Browse files
authored
Apply suggestions from code review
1 parent 0b1f601 commit 544e7cc

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

test/export/test_unflatten_training_ir.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
import test_unflatten # @manual=fbcode//caffe2/test:test_export-library
88
import testing # @manual=fbcode//caffe2/test:test_export-library
99

10-
import unittest
11-
1210
from torch.export import export_for_training
13-
from torch.testing._internal.common_utils import IS_MACOS
1411

1512

1613
test_classes = {}
@@ -44,15 +41,6 @@ def make_dynamic_cls(cls):
4441
make_dynamic_cls(test)
4542
del test
4643

47-
TrainingIRUnflattenTestUnflatten.test_unflatten_eager_training_ir = ( # noqa: F821
48-
unittest.skipIf(
49-
IS_MACOS, "See https://github.com/pytorch/pytorch/pull/142270 for context"
50-
)(
51-
TrainingIRUnflattenTestUnflatten.test_unflatten_eager_training_ir # noqa: F821
52-
)
53-
)
54-
55-
5644
if __name__ == "__main__":
5745
from torch._dynamo.test_case import run_tests
5846

test/inductor/test_aot_inductor_custom_ops.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,6 @@ def forward(self, x, y):
255255

256256

257257
class AOTInductorLoggingTest(LoggingTestCase):
258-
@unittest.skipIf(
259-
IS_MACOS, "See https://github.com/pytorch/pytorch/pull/142270 for context"
260-
)
261258
@make_logging_test(dynamic=logging.DEBUG)
262259
def test_shape_env_reuse(self, records):
263260
# make sure ShapeEnv is only created once and reused afterwards

0 commit comments

Comments
 (0)
0