cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't parallelize model training with sc.parallelize, even tough I can run the same code without parallelizing

rubenteixeira
New Contributor III

I'm training a NeuralProphet for a time series forecasting problem. I'm trying to parallelize my training, but this error is appearing

imageimage.pngThe folder lightning_logs has a hparams.yaml but it's empty. Is this related to permissions on the cluster? Thanks in advance

2 REPLIES 2

Debayan
Databricks Employee
Databricks Employee

Hi,

Please let us know if this was checked already:

image

How would I check it? The error is coming from the line 21, "train = m.fit(df=df_train, freq="M")", that previously ran with no problems. Here's the code:

MicrosoftTeams-image (1)- copyWhen I run the neural_prophet_cv function without the parallelize, this is the result:

MicrosoftTeams-imageI suspect I don't have permissions writing permissions from the cluster

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group