You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The placement of rank and world size parameters is not correct. rank is assigned to num_shards parameter and world_size is assigned to index parameter.
The bug is self-evident.
ex_iterable = dst._ex_iterable.shard_data_sources(rank, world_size)
The placement of rank and world size parameters is not correct. rank is assigned to num_shards parameter and world_size is assigned to index parameter.
https://github.com/huggingface/datasets/blob/06c3235a640d00bf59223ebabf3cb489a2891767/src/datasets/iterable_dataset.py#L144
This bug ruins sharding in streaming mode.
The text was updated successfully, but these errors were encountered: