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

Allow uniform modification of nb_workers #139

Open
lfoppiano opened this issue May 11, 2022 · 0 comments
Open

Allow uniform modification of nb_workers #139

lfoppiano opened this issue May 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lfoppiano
Copy link
Collaborator

I'm opening a new issue as I've stumble upon the same issue and went back the same pain again #14.

For certain cases (e.g. development on windows or mac), we should be able to run the process with a single thread without too much hassle, and we might want to revisit how the nb_workers are set.

How about making the nb_workers a parameter (default=6, 0=disabled, -1=number of cpu/gpu, n=fixed number) and coordinate it with the multiprocessing variable?

@kermitt2 kermitt2 added the enhancement New feature or request label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants