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]>
  • Loading branch information
2 people authored and titu1994 committed Mar 24, 2023
1 parent 51d4c38 commit 3eea482
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 3eea482

Please sign in to comment.