Skip to content

Commit ccbf90b

Browse files
committed
Fix MLflow logged-models API compat in pipeline tutorial
The curated sklearn-1.5 environment ships MLflow 2.19+ which uses the logged-models API not supported by AzureML tracking server. Disable it via MLFLOW_ENABLE_LOGGED_MODELS=false env var.
1 parent 50f168d commit ccbf90b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tutorials/get-started-notebooks/pipeline.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@
541541
"from sklearn.ensemble import GradientBoostingClassifier\n",
542542
"from sklearn.metrics import classification_report\n",
543543
"import os\n",
544+
"os.environ[\"MLFLOW_ENABLE_LOGGED_MODELS\"] = \"false\"\n",
544545
"import pandas as pd\n",
545546
"import mlflow\n",
546547
"\n",
@@ -946,4 +947,4 @@
946947
},
947948
"nbformat": 4,
948949
"nbformat_minor": 1
949-
}
950+
}

0 commit comments

Comments
 (0)