Skip to content

Allow uniform modification of nb_workers  #139

@lfoppiano

Description

@lfoppiano

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions