Skip to content

Commit 702629b

Browse files
committed
fix a failing unit test
Signed-off-by: Anna Shors <ashors@nvidia.com>
1 parent a000579 commit 702629b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/algorithms/test_sequence_packing_gradients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def __init__(self, cp_size):
4242
def test_sequence_packing_gradients(self):
4343
from nemo_rl.distributed.model_utils import _get_tokens_on_this_cp_rank
4444
from nemo_rl.models.megatron.common import (
45-
_pack_sequences_for_megatron,
4645
forward_step_arbitrary_loss,
4746
)
47+
from nemo_rl.models.megatron.data import _pack_sequences_for_megatron
4848

4949
# Initialize process group
5050
torch.distributed.init_process_group(backend="nccl")

0 commit comments

Comments
 (0)