Skip to content

Commit 25935fe

Browse files
committed
These shouldn't need standalone
1 parent 2feb55f commit 25935fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests_pytorch/utilities/test_meta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, num_layers: int):
3333
self.layer = nn.Sequential(*[nn.Linear(1, 1) for _ in range(self.hparams.num_layers)])
3434

3535

36-
@RunIf(min_torch="1.10.0", standalone=True)
36+
@RunIf(min_torch="1.10.0")
3737
def test_init_meta_context():
3838

3939
with init_meta_context():
@@ -72,7 +72,7 @@ def test_init_meta_context():
7272
assert m.weight.device.type == "cpu"
7373

7474

75-
@RunIf(min_torch="1.10.0", standalone=True)
75+
@RunIf(min_torch="1.10.0")
7676
def test_materialize_module_recursive_child():
7777
"""Test materialize_module doesn't set a child recursively to a model instantiated within init_meta_context."""
7878
with init_meta_context():

0 commit comments

Comments
 (0)