Skip to content

Commit 5a52448

Browse files
committed
fix
1 parent b9a325b commit 5a52448

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

transfer_queue/dataloader/streaming_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def __iter__(self) -> Iterator[tuple[TensorDict, BatchMeta]]:
202202
if self.batch_index <= len(self.buffer) - 1:
203203
current_data = self.buffer[self.batch_index]
204204
self.batch_index += 1
205-
logger.info(f"StreamDataloader current batch index is {self.batch_index}/{len(self.buffer)}")
205+
logger.debug(f"StreamDataloader current batch index is {self.batch_index}/{len(self.buffer)}")
206206
yield from self.process_batch_fn(*current_data, micro_batch_size=self.micro_batch_size)
207207

208208
else:

transfer_queue/sampler/seqlen_balanced_sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def __repr__(self) -> str:
304304

305305
def get_seqlen_balanced_partitions(seqlen_list: list[int], k_partitions: int, equal_size: bool):
306306
"""get order of seq lengths to make partitions balanced, this is
307-
used in balacing sum of seqlength across dp ranks and microbatches
307+
used in balancing sum of seqlength across dp ranks and microbatches
308308
Parameters:
309309
seqlen_list (List[int]):
310310
seq lengths of each items

0 commit comments

Comments
 (0)