Experience with multiprocessing #1116
Unanswered
MatteoVoges
asked this question in
Q&A
Replies: 1 comment
-
multiprocesssing should work fine, multithreading is what may cause issues if you're not careful (OmegaConf is not thread-safe) My general advice with multiprocessing (not OmegaConf-specific) is to use the "spawn" start method (for cross-platform compatibility and better understanding of what happens -- at least for me) and ensure all modules are imported when loading the target. Feel free to open specific issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm struggling a bit with using multiprocessing with OmegaConf.
Because it's not officially supported I don't want to declare some errors as bugs, but maybe you know some workarounds.
Currently my problems are, that some custom resolvers are not registered or even simple interpolations can't get resolved.
Beta Was this translation helpful? Give feedback.
All reactions