From eea9d85be054aff609bb940000670ccc4c0a60d1 Mon Sep 17 00:00:00 2001 From: chakradhar886 Date: Fri, 17 Apr 2026 15:00:21 +0530 Subject: [PATCH] Fix MLflow compat in pipeline tutorial by pinning mlflow<2.19 The curated sklearn-1.5/labels/latest environment updated to MLflow 2.19+ which uses the logged-models API not supported by AzureML tracking server, breaking log_model() and register_model(). Pin mlflow<2.19 in the train command to restore compatibility. --- tutorials/get-started-notebooks/pipeline.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/get-started-notebooks/pipeline.ipynb b/tutorials/get-started-notebooks/pipeline.ipynb index f0a20a3d2a..b590f5ef81 100644 --- a/tutorials/get-started-notebooks/pipeline.ipynb +++ b/tutorials/get-started-notebooks/pipeline.ipynb @@ -677,7 +677,7 @@ " # for this step, we'll use an AzureML curate environment\n", " azureml://registries/azureml/environments/sklearn-1.5/labels/latest\n", "command: >-\n", - " python train.py \n", + " pip install 'mlflow<2.19' -q && python train.py \n", " --train_data ${{inputs.train_data}} \n", " --test_data ${{inputs.test_data}} \n", " --learning_rate ${{inputs.learning_rate}}\n", @@ -946,4 +946,4 @@ }, "nbformat": 4, "nbformat_minor": 1 -} +} \ No newline at end of file