fix: missing inference packages and mlflow version pin for tutorial CI - #3928
Merged
Merged
Conversation
jayesh-tanna
approved these changes
May 12, 2026
kshitij-microsoft
approved these changes
May 12, 2026
kshitij-microsoft
left a comment
Member
There was a problem hiding this comment.
Following Jayesh's approval.
This was referenced Jun 8, 2026
Chakradhar886
added a commit
that referenced
this pull request
Jun 8, 2026
The curated sklearn-1.5 environment now ships MLflow 3.x, whose mlflow.sklearn.log_model() calls the /api/2.0/mlflow/logged-models endpoint that AzureML's MLflow tracking server does not yet support (returns 404). Mirror the earlier pipeline.ipynb fix (PR #3928) by prefixing the command with 'pip install mlflow<3 -q && ...' so the training script picks up an MLflow 2.x client before calling log_model.
Chakradhar886
added a commit
that referenced
this pull request
Jun 8, 2026
The curated sklearn-1.5 environment now ships MLflow 3.x, whose mlflow.sklearn.log_model() calls the /api/2.0/mlflow/logged-models endpoint that AzureML's MLflow tracking server does not yet support (returns 404). Mirror the earlier pipeline.ipynb fix (PR #3928) by prefixing the command with 'pip install mlflow<3 -q && ...' so the training script picks up an MLflow 2.x client before calling log_model.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix CI failures in get-started-notebooks deploy and pipeline tutorials
What was failing
deploy-model.ipynb: Endpoint containers were crashing on boot with missing module errors (azureml.ai.monitoring, then azureml.contrib) because the model's conda environment didn't include packages now required by the updated inference base image.
pipeline.ipynb: Training step was failing due to a breaking change in MLflow 2.19.
What was fixed
Added azureml-ai-monitoring and azureml-contrib-services to the model's conda.yaml and requirements.txt.
Pinned mlflow<2.19 in the pipeline component command in pipeline.ipynb
Checklist