<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hyperopt Error: There are no evaluation tasks, cannot return argmin of task losses. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/45254#M27831</link>
    <description>&lt;P&gt;The trials succeed when the cell in the notebook is executed manually:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 658px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3814i5AC96A61B79F39A9/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;However, the same process fails when executed as a Workflow:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="02.png" style="width: 439px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3812i25FFD86761E945BD/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="02.png" alt="02.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Unfortunately, changing compute cluster had no effect either.&lt;/P&gt;&lt;P&gt;Task fails with the following error: &lt;SPAN class=""&gt;Exception: There are no evaluation tasks, cannot return argmin of task losses.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 15:54:53 GMT</pubDate>
    <dc:creator>ChingizK</dc:creator>
    <dc:date>2023-09-18T15:54:53Z</dc:date>
    <item>
      <title>Hyperopt Error: There are no evaluation tasks, cannot return argmin of task losses.</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/45254#M27831</link>
      <description>&lt;P&gt;The trials succeed when the cell in the notebook is executed manually:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 658px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3814i5AC96A61B79F39A9/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;However, the same process fails when executed as a Workflow:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="02.png" style="width: 439px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/3812i25FFD86761E945BD/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="02.png" alt="02.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Unfortunately, changing compute cluster had no effect either.&lt;/P&gt;&lt;P&gt;Task fails with the following error: &lt;SPAN class=""&gt;Exception: There are no evaluation tasks, cannot return argmin of task losses.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 15:54:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/45254#M27831</guid>
      <dc:creator>ChingizK</dc:creator>
      <dc:date>2023-09-18T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperopt Error: There are no evaluation tasks, cannot return argmin of task losses.</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/97221#M39453</link>
      <description>&lt;P&gt;I've run in to the same issue using SparkTrials.&lt;/P&gt;&lt;P&gt;Runs fine manually.&lt;/P&gt;&lt;P&gt;Runs using only Trials in the workflow.&lt;/P&gt;&lt;P&gt;Get this error when using SparkTrials.&lt;/P&gt;&lt;P&gt;I've tried dropping parallelism right down, making sure there's only one experiment on that cluster.&lt;/P&gt;&lt;P&gt;Did you get to the bottom of the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 13:37:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/97221#M39453</guid>
      <dc:creator>honj</dc:creator>
      <dc:date>2024-11-01T13:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperopt Error: There are no evaluation tasks, cannot return argmin of task losses.</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/119564#M45912</link>
      <description>&lt;P&gt;I have this exact same issue! Can anyone offer guidance?&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2025 21:19:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperopt-error-there-are-no-evaluation-tasks-cannot-return/m-p/119564#M45912</guid>
      <dc:creator>LibertyEnergy</dc:creator>
      <dc:date>2025-05-18T21:19:13Z</dc:date>
    </item>
  </channel>
</rss>

