Skip to content

Commit 3dbda50

Browse files
aporialiaofacebook-github-bot
authored andcommitted
Fix duplicate unit test skip
Summary: TSIA Differential Revision: D75607800
1 parent 41f66c1 commit 3dbda50

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

torchrec/distributed/tests/test_dynamic_sharding.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,14 +498,10 @@ def test_dynamic_sharding_ebc_cw(
498498

499499

500500
@skip_if_asan_class
501-
@unittest.skipIf(
502-
torch.cuda.device_count() <= 3,
503-
"Not enough GPUs, this test requires at least four GPUs",
504-
)
505501
class MultiRankDMPDynamicShardingTest(ModelParallelTestShared):
506502
@unittest.skipIf(
507-
torch.cuda.device_count() <= 3,
508-
"Not enough GPUs, this test requires at least four GPUs",
503+
torch.cuda.device_count() <= 1,
504+
"Not enough GPUs, this test requires at least two GPUs",
509505
)
510506
@given( # pyre-ignore
511507
sharder_type=st.sampled_from(

0 commit comments

Comments
 (0)