Parallel Processing with Pool #534
Answered
by
ourownstory
sencer4898
asked this question in
Q&A - get help using NeuralProphet
Answered by
ourownstory
Feb 9, 2022
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. |
3 replies
Answer selected by
ourownstory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





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_asyncYou 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