Nixtla / neuralforecast

Scalable and user friendly neural :brain: forecasting algorithms.
https://nixtlaverse.nixtla.io/neuralforecast
Apache License 2.0
3k stars 346 forks source link

[Databricks] - Neuralforecast makes everything slow and freezes the notebook #584

Closed vinaybridge closed 7 months ago

vinaybridge commented 1 year ago

Hello Team,

Describe the bug

When we start model training on Databricks, everything hangs and suddenly memory consumption increases on the local machine.

Thanks

kdgutier commented 1 year ago

Hey @vinaybridge,

Parallelization of NeuralForecast models using databricks is not yet a feature of our package.

I rather recommend you to use specialized GPU hardware. You can access it directly from the tutorial examples: Screenshot 2023-05-22 at 9 03 57 AM Screenshot 2023-05-22 at 9 04 58 AM

I don't know what is the outcome of parallelizing the execution of NeuralForecast in Databricks, we have never done it.

vinaybridge commented 1 year ago

Yes, I understand that you are correct, but I am not using it for Parallelization. Just using normal code. Not sure how I can use NeuralForecast with standard CPU setting on Databricks.

Basically, everything stuck because of that UI tqdm widget