Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: ashors1 <[email protected]>
  • Loading branch information
ashors1 committed Aug 2, 2024
1 parent b9306e8 commit fbd55b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lightning/test_dist_ckpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
import pytest
import pytorch_lightning as pl
import torch
from megatron.core.num_microbatches_calculator import reconfigure_num_microbatches_calculator

import nemo.lightning as nl
from nemo.collections import llm
from nemo.lightning.io.pl import MegatronCheckpointIO
from nemo.utils.callbacks.dist_ckpt_io import AsyncFinalizableCheckpointIO, AsyncFinalizerCallback
from megatron.core.num_microbatches_calculator import reconfigure_num_microbatches_calculator


def _get_strategy():
strategy = nl.MegatronStrategy(
Expand Down

0 comments on commit fbd55b9

Please sign in to comment.