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

Add N_DATA_WORKERS env variable to make dataloader num_workers configurable #680

Merged

Conversation

nkaenzig
Copy link
Collaborator

@nkaenzig nkaenzig commented Oct 11, 2024

Closes #679

Using a new default of 4 workers, as for most datapipelines speed doesn't seem to improve by increasing the worker count further.

@nkaenzig nkaenzig self-assigned this Oct 11, 2024
@nkaenzig nkaenzig linked an issue Oct 11, 2024 that may be closed by this pull request
@nkaenzig nkaenzig marked this pull request as ready for review October 11, 2024 12:54
@ioangatop ioangatop merged commit ffe489d into main Oct 14, 2024
6 checks passed
@ioangatop ioangatop deleted the 679-make-num_workers-configurable-through-env-variable branch October 14, 2024 07:21
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.

Make num_workers configurable through env variable
2 participants