Is it possible to connect a notebook running in premises to an mlflow Tracking server that is part of an Azure Databricks workspace? Have all the local logging and tracking saved in Azure?
2
votes
2 Answers
1
votes
I had a similar problem, used python and solved it with the following steps:
- Install mlflow and datbricks-cli libraries.
- Define the following env variables : DATABRICKS_HOST (databricks workspace url: https://region.azuredatabricks.net) and DATABRICKS_TOKEN
- Define mlflow client:
mlflow_client = mlflow.tracking.MlflowClient(tracking_uri='databricks')
- Use mlflow_client client for logging, saving and etc..
for more reference you can look at the "Log to a tracking server from a notebook" section here