Closed VictorDonjuan closed 2 months ago
Hey. The parallelism is done by series, so if you just have one it won't provide any speedup. You have a lot of data relative to the seasonal periods and you could most likely limit it to maybe 10 * max(season_length) and it'd yield a similar result to using all of the data (unless you want fitted values).
Hey. The parallelism is done by series, so if you just have one it won't provide any speedup. You have a lot of data relative to the seasonal periods and you could most likely limit it to maybe 10 * max(season_length) and it'd yield a similar result to using all of the data (unless you want fitted values).
Thank you, sorry for the misunderstanding.
What happened + What you expected to happen
My time series comes in hourly format and it spans several years. It has 149,016 rows in total.
The below code was running for 30 minutes until I interrupted it to see if something was wrong with the parameters. I also tried
n_jobs=-1
but it didn't seem to improve.It seems the fitting process is not using all my cores at all. In contrast with sklearn or joblib, when I use the maximum n_jobs in some tasks, I can clearly see my CPU usage peaking.
I know the season lenghts and the size of the data matters, but I still think this shouldn't be that slow.
Versions / Dependencies
Reproduction script
Issue Severity
Low: It annoys or frustrates me.