Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/dj adapter #429

Merged
merged 11 commits into from
Sep 20, 2024
Merged

Feat/dj adapter #429

merged 11 commits into from
Sep 20, 2024

Conversation

HYLcool
Copy link
Collaborator

@HYLcool HYLcool commented Sep 13, 2024

Support basic Adapter and Monitor:

  • monitor resource utilization when running specified functions
  • probe small data batch, monitor the resource utilization of each OP, and decide the batch size for each OP

Notice: datasets need to be updated to >= 2.19.0

  • TODO: set batch size to 1 for all OPs before probing
  • Wait for batch size support

data_juicer/core/adapter.py Outdated Show resolved Hide resolved
data_juicer/core/adapter.py Show resolved Hide resolved
data_juicer/core/adapter.py Outdated Show resolved Hide resolved
data_juicer/core/monitor.py Outdated Show resolved Hide resolved
data_juicer/core/adapter.py Outdated Show resolved Hide resolved
@drcege drcege requested a review from zhijianma September 14, 2024 03:45
… and store the monitor results into a specific file in work dir
@yxdyc yxdyc merged commit a7a1255 into main Sep 20, 2024
3 checks passed
@HYLcool HYLcool deleted the feat/dj_adapter branch December 23, 2024 07:26
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