Hydra: [Feature Request] [Submitit] [array_parallelism]

Created on 11 Nov 2020  路  4Comments  路  Source: facebookresearch/hydra

馃殌 Feature Request

Hi all!

Would there be a way to limit the number of map tasks that can be executed in parallel?

In submitit one can use the parameter slurm_array_parallelism as in the job array example.
Passing additional_parameters: {"array_parallelism": 2} does not work since it's not a slurm argument.

Cheers,
Emile

enhancement

Most helpful comment

All 4 comments

This sounds like a nice addition, want to try to put out a pull request?

Would the idea to add in SlurmQueueConf a parameter array_parallelism: int = 256?

Yes, looks like a good place to add the config :)

Was this page helpful?
0 / 5 - 0 ratings