Skip to content

Commit

Permalink
minor cleanup (#1091)
Browse files Browse the repository at this point in the history
Co-authored-by: Min Xu <min.xu.public@gmail.com>
  • Loading branch information
min-xu-ai and flying-x committed Oct 21, 2022
1 parent f5e727c commit ee647b9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fairscale/nn/data_parallel/fully_sharded_data_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,6 @@ def __init__(
gradient_predivide_factor: Optional[float] = None,
allow_reset_parameters: bool = False,
):
try:
import torch._C

torch._C._log_api_usage_once("fairscale.fsdp")
except ImportError:
pass

init_start = time.time()
super().__init__()
self.process_group = process_group or get_process_group_cached()
Expand Down

0 comments on commit ee647b9

Please sign in to comment.