Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Feb 9, 2025
1 parent 0ce91d6 commit 92c9f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levanter/data/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def __init__(self, data_loader: DataLoader, start_from_batch: Optional[int] = No

buffered_batches = self.dl.max_buffered_batches
self._batches: Iterator[Ex]
if buffered_batches == 0 or True:
if buffered_batches == 0:
self._batches = AsyncIteratorWrapper(self._produce_batches())
else:
self._batches = _JaxCpuBackgroundIterator(self._produce_batches, max_capacity=buffered_batches)
Expand Down

0 comments on commit 92c9f1d

Please sign in to comment.