Skip to content

Commit a000579

Browse files
committed
add unit tests
Signed-off-by: ashors1 <ashors@nvidia.com>
1 parent 723d508 commit a000579

File tree

2 files changed

+580
-7
lines changed

2 files changed

+580
-7
lines changed

nemo_rl/models/megatron/data.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ def make_processed_microbatch_iterator(
8080
packed_seq_params,
8181
cu_seqlens_padded,
8282
) = process_microbatch(
83-
data_dict,
84-
seq_length_key,
85-
pad_individual_seqs_to_multiple_of,
86-
pad_packed_seq_to_multiple_of,
87-
pad_full_seq_to,
83+
data_dict=data_dict,
84+
seq_length_key=seq_length_key,
85+
pad_individual_seqs_to_multiple_of=pad_individual_seqs_to_multiple_of,
86+
pad_packed_seq_to_multiple_of=pad_packed_seq_to_multiple_of,
87+
pad_full_seq_to=pad_full_seq_to,
8888
pack_sequences=pack_sequences,
8989
)
9090

0 commit comments

Comments
 (0)