Skip to content

Commit

Permalink
remove unused fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Jun 6, 2023
1 parent bafc64c commit 3e20ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_pytorch/plugins/test_amp_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def configure_optimizers(self):
trainer.fit(model)


def test_cpu_amp_precision_context_manager(tmpdir):
def test_cpu_amp_precision_context_manager():
"""Test to ensure that the context manager correctly is set to CPU + bfloat16."""
plugin = MixedPrecisionPlugin("bf16-mixed", "cpu")
assert plugin.device == "cpu"
Expand Down

0 comments on commit 3e20ef9

Please sign in to comment.