You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-use-mlflow-configure-tracking.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,12 @@ ms.devlang: azurecli
17
17
18
18
# Configure MLflow for Azure Machine Learning
19
19
20
-
Azure Machine Learning workspaces are MLflow compatible, which means they can act as an MLflow server without any extra configuration. Each workspace has an MLflow tracking URI that can be used by MLflow to connect to the workspace. In this article, learn how you can configure MLflow to connect to an Azure Machine Learning for tracking, registries, and deployment.
20
+
Azure Machine Learning workspaces are MLflow-compatible, which means they can act as an MLflow server without any extra configuration. Each workspace has an MLflow tracking URI that can be used by MLflow to connect to the workspace. Azure Machine Learning workspaces **are already configured to work with MLflow** so no extra configuration is required.
21
+
22
+
However, if you are working outside of Azure Machine Learning (like your local machine, Azure Synapse Analytics, or Azure Databricks) you need to configure MLflow to point to the workspace. In this article, you'll learn how you can configure MLflow to connect to an Azure Machine Learning for tracking, registries, and deployment.
21
23
22
24
> [!IMPORTANT]
23
-
> When running on Azure Compute (Azure ML Notebooks, Jupyter notebooks hosted on Azure ML Compute Instances, or jobs running on Azure ML compute clusters) you don't have to configure the tracking URI. It's automatically configured for you.
25
+
> When running on Azure Compute (Azure ML Notebooks, Jupyter notebooks hosted on Azure ML Compute Instances, or jobs running on Azure ML compute clusters) you don't have to configure the tracking URI. **It's automatically configured for you**.
24
26
25
27
## Prerequisites
26
28
@@ -49,10 +51,19 @@ The Azure Machine Learning plugin for MLflow supports several authentication mec
> If you'd rather use a certificate instead of a secret, you can configure the environment variables `AZURE_CLIENT_CERTIFICATE_PATH` to the path to a `PEM` or `PKCS12` certificate file (including private key) and
54
+
If you'd rather use a certificate instead of a secret, you can configure the environment variables `AZURE_CLIENT_CERTIFICATE_PATH` to the path to a `PEM` or `PKCS12` certificate file (including private key) and
54
55
`AZURE_CLIENT_CERTIFICATE_PASSWORD` with the password of the certificate file, if any.
55
56
57
+
### Troubleshooting authentication
58
+
59
+
MLflow will try to authenticate to Azure Machine Learning on the first operation interacting with the service, like `mlflow.set_experiment()` or `mlflow.start_run()`. If you find issues or unexpected authentication prompts during the process, you can increase the logging level to get more details about the error:
All MLflow runs are logged to the active experiment. By default, runs are logged to an experiment named `Default` that is automatically created for you. You can configure the experiment where tracking is happening.
@@ -87,4 +98,4 @@ Now that your environment is connected to your workspace in Azure Machine Learni
87
98
-[Track ML experiments and models with MLflow](how-to-use-mlflow-cli-runs.md)
88
99
-[Manage models registries in Azure Machine Learning with MLflow]()
89
100
-[Train with MLflow Projects (Preview)](how-to-train-mlflow-projects.md)
90
-
-[Guidelines for deploying MLflow models](how-to-deploy-mlflow-models.md)
101
+
-[Guidelines for deploying MLflow models](how-to-deploy-mlflow-models.md)
0 commit comments