Skip to content

Commit

Permalink
Add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanNaren authored and lexierule committed Apr 14, 2021
1 parent a1ee10f commit 2ab3d3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/overrides/test_data_parallel.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from unittest.mock import MagicMock
from unittest.mock import MagicMock, Mock

import pytest
import torch
Expand All @@ -13,6 +13,7 @@
)
from pytorch_lightning.trainer.states import RunningStage
from tests.helpers import BoringModel
from tests.helpers.runif import RunIf


@pytest.mark.parametrize("wrapper_class", [
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/test_sharded_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from pytorch_lightning.utilities import _APEX_AVAILABLE, _FAIRSCALE_AVAILABLE, _NATIVE_AMP_AVAILABLE
from pytorch_lightning.utilities.exceptions import MisconfigurationException
from tests.helpers.boring_model import BoringModel
from tests.helpers.runif import RunIf


@pytest.mark.parametrize("clip_val", [0, 10])
Expand Down

0 comments on commit 2ab3d3c

Please sign in to comment.