Remove unused rank_zero_deprecation in WandB logger (#9034)

* Remove unused imports in WandB logger and corresponding test
This commit is contained in:
ananthsub 2021-08-22 04:58:48 -07:00 committed by GitHub
parent b1a859f312
commit 930b81f96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ from pytorch_lightning.loggers.base import LightningLoggerBase, rank_zero_experi
from pytorch_lightning.utilities import _module_available, rank_zero_only
from pytorch_lightning.utilities.exceptions import MisconfigurationException
from pytorch_lightning.utilities.imports import _compare_version
from pytorch_lightning.utilities.warnings import rank_zero_deprecation, rank_zero_warn
from pytorch_lightning.utilities.warnings import rank_zero_warn
_WANDB_AVAILABLE = _module_available("wandb")
_WANDB_GREATER_EQUAL_0_10_22 = _compare_version("wandb", operator.ge, "0.10.22")

View File

@ -18,7 +18,6 @@ from unittest import mock
import pytest
import pytorch_lightning
from pytorch_lightning import Trainer
from pytorch_lightning.loggers import WandbLogger
from pytorch_lightning.utilities.exceptions import MisconfigurationException