Skip to content

Commit 078e91c

Browse files
authored
Update how-to-use-mlflow-cli-runs.md
1 parent dbcf7ab commit 078e91c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/machine-learning/how-to-use-mlflow-cli-runs.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,16 @@ The previous code example doesn't uses `mlflow.start_run()` but if used you can
102102

103103
Use MLflow SDK to track any metric, parameter, artifacts, or models. For detailed examples about how to log each, see [Log metrics, parameters and files with MLflow](how-to-log-view-metrics.md).
104104

105+
### Ensure your job's environment has MLflow installed
106+
107+
All Azure Machine Learning environment already have MLflow installed for you, so no action is required if you are using a curated environment. If you want to use a custom environment:
108+
109+
1. Create a `conda.yml` file with the dependencies you need:
110+
111+
:::code language="yaml" source="~/azureml-examples-main//sdk/python/using-mlflow/deploy/environment/conda.yml" highlight="7-8" range="1-12":::
112+
113+
1. Reference the environment in the job you are using.
114+
105115
### Configuring the job's name
106116

107117
Use the parameter `display_name` of Azure Machine Learning jobs to configure the name of the run. The following example shows how:

0 commit comments

Comments
 (0)