Skip to content

Commit

Permalink
switch order of args (NVIDIA#5549)
Browse files Browse the repository at this point in the history
Signed-off-by: ericharper <[email protected]>

Signed-off-by: ericharper <[email protected]>
Co-authored-by: Sandeep Subramanian <[email protected]>
Signed-off-by: andrusenkoau <[email protected]>
  • Loading branch information
2 people authored and andrusenkoau committed Jan 5, 2023
1 parent ccbd4dd commit ca5cdc5
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 ca5cdc5

Please sign in to comment.