How to isolate the individual runs of a hydra multi-run? #2186
-
Is there a best practice to isolate the individual runs of a hydra multi-run, i.e. that each run starts fresh and is handled as a separate process entirely? I think the joblib launcher might be a way to achieve this behavior, but maybe there is a simpler way? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 18 replies
-
Hi @maxfrei750, |
Beta Was this translation helpful? Give feedback.
Hi @maxfrei750,
I think Hydra's suite of plugins is currently lacking in this regard. We would need to develop a new launcher that creates a separate process for each job. I've thought about using Python's
multiprocessing
module as the backend for such a purpose -- if my understanding is correct, themultiprocessing
module would achieve the isolation that you're talking about.