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: 

Hyperopt Error: There are no evaluation tasks, cannot return argmin of task losses.

ChingizK
New Contributor III

The trials succeed when the cell in the notebook is executed manually:

01.png

However, the same process fails when executed as a Workflow:

 
02.png

The error simply says that there's an issue with the objective function. However how can that be the case if I'm able to successfully run the exact same code when I manually run the notebook cell? The notebook run fails when triggered through a Workflow run.

Unfortunately, changing compute cluster had no effect either.

Task fails with the following error: Exception: There are no evaluation tasks, cannot return argmin of task losses.

1 REPLY 1

honj
New Contributor II

I've run in to the same issue using SparkTrials.

Runs fine manually.

Runs using only Trials in the workflow.

Get this error when using SparkTrials.

I've tried dropping parallelism right down, making sure there's only one experiment on that cluster.

Did you get to the bottom of the issue?

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