Skip to content

Commit

Permalink
fix F401
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoorkai committed Jul 24, 2023
1 parent f09a647 commit 8fea297
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions atorch/atorch/distributed/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,7 @@ def init_distributed(
return False
elif backend == "accl":
try:
# noqa: F401
import torch_accl
import torch_accl # noqa: F401
except ImportError:
logger.error("import torch_accl failed")
return False
Expand Down

0 comments on commit 8fea297

Please sign in to comment.