Open jonatasfreitasv opened 4 years ago
Can you explain a bit more? What kind of random errors do you see? The keyboard interrupt in the title of your message suggest somebody simply stopped the process. Have you tried using n_jobs=1
does the error also happen in that case?
I have changed the method in which threads are being spawn. Please upgrade to latest version and let me know if the issue is still present.
Not solve.
Why not use more high level threading implementation like ProcessPoolExecutor
from native Python concurrent.futures
package?
I try a lot of combination of memory and cpu, 1, 4, 6, 8, etc... This error is random, if run again, complete with success.
Enviroment:
Docker with image continuumio/miniconda3:4.8.2-alpine
Stack strace:
[<FrameSummary file main.py, line 56 in <module>>, <FrameSummary file /app/forecast.py, line 30 in make_prediction>, <FrameSummary file /app/tbatsmodel.py, line 97 in tbats_forecast>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/site-packages/tbats/abstract/Estimator.py, line 98 in fit>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/site-packages/tbats/tbats/TBATS.py, line 76 in _do_fit>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/site-packages/tbats/abstract/Estimator.py, line 144 in _choose_model_from_possible_component_settings>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/multiprocessing/pool.py, line 268 in map>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/multiprocessing/pool.py, line 651 in get>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/multiprocessing/pool.py, line 648 in wait>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/threading.py, line 552 in wait>, <FrameSummary file /opt/conda/envs/env/lib/python3.7/threading.py, line 296 in wait>]
Conda env: