Skip to content

Conversation

chenyushuo
Copy link
Collaborator

Description

Similar to #415 , this code will split the dataset files into small pieces to avoid exceeding the memory limit of Ray, but this code requires users to run it in advance.

Usage

python tools/data_resplit.py --data-dir [path to source data] --resplit-dir [path to resplited dataset] [--ray-address [the address of the Ray cluster]]

@chenyushuo chenyushuo requested review from pan-x-c and yxdyc January 15, 2025 10:08
Copy link
Collaborator

@pan-x-c pan-x-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor issues, others LGTM

@pan-x-c pan-x-c merged commit bef0644 into modelscope:main Jan 22, 2025
2 checks passed
@yxdyc
Copy link
Collaborator

yxdyc commented Jan 22, 2025

Please link and mention this tool, in related docs (e.g, Distributed.md).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants