We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85cbde1 commit 12b4d26Copy full SHA for 12b4d26
1 file changed
tests/tests_fabric/strategies/test_ddp.py
@@ -146,7 +146,7 @@ def test_module_init_context(precision, expected_dtype):
146
@mock.patch.dict(os.environ, {"LOCAL_RANK": "0"})
147
@mock.patch("lightning.fabric.strategies.ddp.DistributedDataParallel")
148
@mock.patch("torch.cuda.Stream")
149
-@mock.patch("torch.cuda.default_stream") # add this
+@mock.patch("torch.cuda.default_stream")
150
@mock.patch("torch.cuda.is_current_stream_capturing", return_value=False)
151
@mock.patch("torch.cuda.stream")
152
def test_setup_with_cuda_stream(cuda_stream_mock, *_):
0 commit comments