From 7f7c41808bae4490b7d3a99612384d425d08c4ad Mon Sep 17 00:00:00 2001 From: lucadiliello Date: Sat, 27 Aug 2022 18:53:52 +0200 Subject: [PATCH] fixed pep8 compatibility --- transformers_lightning/__init__.py | 2 +- transformers_lightning/loggers/jsonboard_logger.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/transformers_lightning/__init__.py b/transformers_lightning/__init__.py index ba674ec..2df7add 100644 --- a/transformers_lightning/__init__.py +++ b/transformers_lightning/__init__.py @@ -3,10 +3,10 @@ import transformers_lightning.datamodules # noqa: F401 import transformers_lightning.datasets # noqa: F401 import transformers_lightning.defaults # noqa: F401 +import transformers_lightning.info # noqa: F401 import transformers_lightning.language_modeling # noqa: F401 import transformers_lightning.loggers # noqa: F401 import transformers_lightning.models # noqa: F401 import transformers_lightning.optimizers # noqa: F401 import transformers_lightning.schedulers # noqa: F401 import transformers_lightning.utils # noqa: F401 -import transformers_lightning.info # noqa: F401 diff --git a/transformers_lightning/loggers/jsonboard_logger.py b/transformers_lightning/loggers/jsonboard_logger.py index 59d95a7..481afa7 100644 --- a/transformers_lightning/loggers/jsonboard_logger.py +++ b/transformers_lightning/loggers/jsonboard_logger.py @@ -8,10 +8,10 @@ import numpy as np import torch from pytorch_lightning.loggers.logger import Logger, rank_zero_experiment -from pytorch_lightning.utilities.rank_zero import rank_zero_only from pytorch_lightning.utilities.cloud_io import get_filesystem from pytorch_lightning.utilities.logger import _convert_params, _flatten_dict from pytorch_lightning.utilities.logger import _sanitize_params as _utils_sanitize_params +from pytorch_lightning.utilities.rank_zero import rank_zero_only logger = logging.getLogger(__name__)