Skip to content

Commit 2d7848d

Browse files
diego-urgellfacebook-github-bot
authored andcommitted
Fix pre-commit flake lint on GH (#819)
Summary: Pull Request resolved: #819 Reviewed By: galrotem Differential Revision: D56832328 fbshipit-source-id: 5fc49d789302544ca09a6a956759ea4fc47b519c
1 parent 3f89a81 commit 2d7848d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

torchtnt/utils/loggers/tensorboard.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111

1212
import atexit
1313
import logging
14-
from typing import Any, Dict, List, Mapping, Optional, Union
15-
16-
import torch.distributed as dist
14+
from typing import Any, Dict, Mapping, Optional, Union
1715

1816
from torch.utils.tensorboard import SummaryWriter
19-
from torchtnt.utils.distributed import get_global_rank, PGWrapper
17+
from torchtnt.utils.distributed import get_global_rank
2018
from torchtnt.utils.loggers.logger import MetricLogger, Scalar
2119

2220
logger: logging.Logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)