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

Parallelize downloads when possible #113

Closed
marcenacp opened this issue Jul 11, 2023 · 0 comments · Fixed by #131
Closed

Parallelize downloads when possible #113

marcenacp opened this issue Jul 11, 2023 · 0 comments · Fixed by #131

Comments

@marcenacp
Copy link
Contributor

marcenacp commented Jul 11, 2023

For instance, downloading several files can be parallelized.

In mlcommons/croissant/python/ml_croissant/ml_croissant/_src/datasets.py, use topological sort by generations:

        for generation in nx.topological_generations(operations):
            for operation in generation:
@marcenacp marcenacp changed the title Parallelize tasks when possible Parallelize downloads when possible Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant