From c60a8216677bc0de935702541e6c5af560913a7c Mon Sep 17 00:00:00 2001 From: jirka Date: Wed, 12 May 2021 14:37:05 +0200 Subject: [PATCH] flake8 --- pytorch_lightning/trainer/deprecated_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pytorch_lightning/trainer/deprecated_api.py b/pytorch_lightning/trainer/deprecated_api.py index f17a9abe60270..b772d6024b5af 100644 --- a/pytorch_lightning/trainer/deprecated_api.py +++ b/pytorch_lightning/trainer/deprecated_api.py @@ -11,8 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from pytorch_lightning.accelerators import Accelerator -from pytorch_lightning.core.lightning import LightningModule + from pytorch_lightning.trainer.connectors.accelerator_connector import AcceleratorConnector from pytorch_lightning.utilities import DeviceType, DistributedType, rank_zero_deprecation