We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f3718 commit 6ceef3eCopy full SHA for 6ceef3e
src/litdata/processing/data_processor.py
@@ -619,8 +619,7 @@ def _loop(self) -> None:
619
continue
620
621
if self.using_queue_optimize:
622
- # using random index number, just to satisfy the default combined_data structure.
623
- index = -5 # not using -1, as items will be of length 0, so last_index (0-1 = -1) will become true.
+ index = None
624
item = combined_data
625
paths = None
626
else:
0 commit comments