don't override PYTHONWARNINGS (#4700)

Co-authored-by: Nicki Skafte <skaftenicki@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
This commit is contained in:
Teddy Koker 2020-11-22 05:25:24 -05:00 committed by GitHub
parent a716ea60e1
commit 299de5dc62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -68,7 +68,6 @@ from pytorch_lightning.utilities.memory import recursive_detach
warnings.filterwarnings(
'ignore', message='torch.distributed.reduce_op is deprecated, ' 'please use torch.distributed.ReduceOp instead'
)
os.environ['PYTHONWARNINGS'] = 'ignore:semaphore_tracker:UserWarning'
try:
from apex import amp