Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: marcromeyn <[email protected]>
  • Loading branch information
marcromeyn committed Jul 10, 2024
1 parent 62b4330 commit d1dad65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/lightning/megatron_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def default_data_step(dataloader_iter: Iterator[DataT]) -> DataT:
)

batch = next(dataloader_iter)

# If its wrapped in a tuple, unpack it.
if isinstance(batch, tuple) and len(batch) == 3:
batch = batch[0]
Expand Down

0 comments on commit d1dad65

Please sign in to comment.