<?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 Getting errors in DLT Pipeline while using ML Model in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/getting-errors-in-dlt-pipeline-while-using-ml-model/m-p/10721#M516</link>
    <description>&lt;P&gt;I am getting the following error when I try to run ML Models in Delta live Table Pipeline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  File "/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-55c61-9b898-2c4b6-d/mlflow/envs/virtualenv_envs/mlflow-888f8c9b966409e6bddca3894244b4df9d1f94c1/lib/python3.9/site-packages/databricks_cli/configure/provider.py", line 134, in get_config
    raise InvalidConfigurationError.for_profile(None)
databricks_cli.utils.InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-55c61-9b898-2c4b6-d/mlflow/envs/virtualenv_envs/mlflow-888f8c9b966409e6bddca3894244b4df9d1f94c1/bin/gunicorn configure`&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to solve this will be helpful, thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 06:35:44 GMT</pubDate>
    <dc:creator>vittal</dc:creator>
    <dc:date>2023-01-25T06:35:44Z</dc:date>
    <item>
      <title>Getting errors in DLT Pipeline while using ML Model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-errors-in-dlt-pipeline-while-using-ml-model/m-p/10721#M516</link>
      <description>&lt;P&gt;I am getting the following error when I try to run ML Models in Delta live Table Pipeline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  File "/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-55c61-9b898-2c4b6-d/mlflow/envs/virtualenv_envs/mlflow-888f8c9b966409e6bddca3894244b4df9d1f94c1/lib/python3.9/site-packages/databricks_cli/configure/provider.py", line 134, in get_config
    raise InvalidConfigurationError.for_profile(None)
databricks_cli.utils.InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `/local_disk0/.ephemeral_nfs/repl_tmp_data/ReplId-55c61-9b898-2c4b6-d/mlflow/envs/virtualenv_envs/mlflow-888f8c9b966409e6bddca3894244b4df9d1f94c1/bin/gunicorn configure`&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to solve this will be helpful, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 06:35:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-errors-in-dlt-pipeline-while-using-ml-model/m-p/10721#M516</guid>
      <dc:creator>vittal</dc:creator>
      <dc:date>2023-01-25T06:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting errors in DLT Pipeline while using ML Model</title>
      <link>https://community.databricks.com/t5/machine-learning/getting-errors-in-dlt-pipeline-while-using-ml-model/m-p/10722#M517</link>
      <description>&lt;P&gt;@Vittal Pai​&amp;nbsp; - In general, please follow the below steps for the mlflow CLI error,&lt;/P&gt;&lt;P&gt;&lt;B&gt;Step 1&lt;/B&gt;: set up API token and create secrets as mentioned in the below document&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/machine-learning/manage-model-lifecycle/multiple-workspaces.html#set-up-the-api-token-for-a-remote-registry" alt="https://docs.databricks.com/machine-learning/manage-model-lifecycle/multiple-workspaces.html#set-up-the-api-token-for-a-remote-registry" target="_blank"&gt;https://docs.databricks.com/machine-learning/manage-model-lifecycle/multiple-workspaces.html#set-up-the-api-token-for-a-remote-registry&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Step 2&lt;/B&gt;: embed the below piece of code at the top of your notebook&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import os
os.environ["DATABRICKS_TOKEN"] = access_token
os.environ["DATABRICKS_HOST"] = "https://&amp;lt;workspace-url&amp;gt;;"
access_token = dbutils.secrets.get(scope="{&amp;lt;secret-name&amp;gt;}", key="mlflow-access-token")
from databricks_cli.configure import provider
config_provider = provider.EnvironmentVariableConfigProvider()
provider.set_config_provider(config_provider)
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In case you face an issue, Please ensure the token is refreshed, as the token has a shell life.&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 16:17:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/getting-errors-in-dlt-pipeline-while-using-ml-model/m-p/10722#M517</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2023-04-27T16:17:21Z</dc:date>
    </item>
  </channel>
</rss>

