Parallel Processing with Pool #534
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @sencer4898 neural_prophet/neuralprophet/benchmark.py Line 435 in da31717 and here: neural_prophet/neuralprophet/benchmark.py Line 516 in da31717 Please let me know if this approach works for you and share your updated code snippet. |
Beta Was this translation helpful? Give feedback.
Hi @sencer4898
We have also observed some odd behavior depending which type of multiprocessing function we used. (In particular, combining ThreadPools and regular Pools lead to odd behavior.)
The one setup that worked reliably on all our machines thus far was to use
map_async
You can see two examples here:
neural_prophet/neuralprophet/benchmark.py
Line 435 in da31717
and here:
neural_prophet/neuralprophet/benchmark.py
Line 516 in da31717
Please let me know if this approach works for you and share your updated code snippet.
Thank you,
Oskar