Skip to content

Commit

Permalink
fix GradScaler pre-commit (#699)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #699

Fixing failed pre-commit message here: {F1452790112}

Reviewed By: gunchu

Differential Revision: D53456990

fbshipit-source-id: 7b3b87f51aa16ac4eeb76ada8fbf755a55ac2967
  • Loading branch information
JKSenthil authored and facebook-github-bot committed Feb 6, 2024
1 parent 65bc3fd commit 5295f82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchtnt/framework/auto_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import torch
from pyre_extensions import none_throws
from torch.cuda.amp import GradScaler
from torch.distributed.fsdp import FullyShardedDataParallel as FSDP
from torch.nn.parallel import DistributedDataParallel as DDP
from torch.optim.swa_utils import SWALR
Expand Down

0 comments on commit 5295f82

Please sign in to comment.