Skip to content

Commit 590354e

Browse files
committed
fix
1 parent 37bb701 commit 590354e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/datasets/arrow_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2491,7 +2491,7 @@ def catch_non_existent_error(func, kwargs):
24912491
), "All shards have to be defined Datasets, none should still be missing."
24922492

24932493
logger.info(f"Concatenating {num_proc} shards")
2494-
result = concatenate_datasets(transformed_shards)
2494+
result = _concatenate_map_style_datasets(transformed_shards)
24952495
if new_fingerprint is not None:
24962496
result._fingerprint = new_fingerprint
24972497
return result

tests/test_iterable_dataset.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
IterableDataset,
1818
MappedExamplesIterable,
1919
RandomlyCyclingMultiSourcesExamplesIterable,
20-
ShardShuffledExamplesIterable,
2120
ShufflingConfig,
2221
SkipExamplesIterable,
2322
TakeExamplesIterable,

0 commit comments

Comments
 (0)