Skip to content

Commit

Permalink
Add ParamsT import
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Koumparoulis <[email protected]>
  • Loading branch information
akoumpa committed Nov 5, 2024
1 parent 8732e2a commit 030076e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/lightning/pytorch/optim/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from nemo.lightning.megatron_parallel import MegatronParallel
from nemo.lightning.pytorch.optim.base import LRSchedulerModule, OptimizerModule

from torch.optim.optimizer import ParamsT

def _param_does_not_have_wd(param_name, param):
return 'bias' in param_name
Expand Down

0 comments on commit 030076e

Please sign in to comment.