Skip to content

Commit

Permalink
switch order of args (#5549)
Browse files Browse the repository at this point in the history
Signed-off-by: ericharper <complex451@gmail.com>

Signed-off-by: ericharper <complex451@gmail.com>
Co-authored-by: Sandeep Subramanian <sandeep.subramanian.1@umontreal.ca>
  • Loading branch information
ericharper and MaximumEntropy authored Dec 6, 2022
1 parent fc6c477 commit ced7133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/collections/nlp/parts/nlp_overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ def __init__(

def optimizer_step(
self,
model: Union["pl.LightningModule", torch.nn.Module],
optimizer: torch.optim.Optimizer,
model: Union["pl.LightningModule", torch.nn.Module],
optimizer_idx: int,
closure: Callable[[], Any],
**kwargs: Any,
Expand Down

0 comments on commit ced7133

Please sign in to comment.