Skip to content

Commit

Permalink
Remove not used tmp_path argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mieshkiwrk authored Jan 10, 2025
1 parent 87c1377 commit b17a3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_pytorch/strategies/test_ddp_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def creates_processes_externally(self):
@RunIf(min_cuda_gpus=2, standalone=True, dynamo=True)
@mock.patch("lightning.fabric.wrappers.torch.compile", Mock(wraps=torch.compile))
@mock.patch.dict(os.environ, {})
def test_reapply_compile(tmp_path):
def test_reapply_compile():
"""Test that Trainer can rewrap a compiled module such that compilation happens over the DDP-wrapper."""
trainer = Trainer(accelerator="gpu", devices=2, strategy="ddp", max_steps=2, logger=False)

Expand Down

0 comments on commit b17a3dc

Please sign in to comment.