Skip to content

Commit

Permalink
fix pt2 test bug
Browse files Browse the repository at this point in the history
Summary:
# context
to fix OSS CPU test bug
```
FAILED torchrec/distributed/tests/test_pt2_multiprocess.py::TestPt2Train::test_compile_multiprocess_fake_pg - hypothesis.errors.InvalidArgument: Using `settings` on a test without `given` is completely pointless.
```

Differential Revision: D50747500
  • Loading branch information
TroyGarden authored and facebook-github-bot committed Aug 10, 2024
1 parent de829cf commit 82e7109
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchrec/distributed/tests/test_pt2_multiprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,6 @@ def test_compile_multiprocess(
torch.cuda.device_count() < 1,
"Not enough GPUs, this test requires one GPU",
)
@settings(verbosity=Verbosity.verbose, deadline=None)
def test_compile_multiprocess_fake_pg(
self,
) -> None:
Expand Down

0 comments on commit 82e7109

Please sign in to comment.