Skip to content

fix: missing inference packages and mlflow version pin for tutorial CI - #3928

Merged
Chakradhar886 merged 5 commits into
mainfrom
v-sangeetha/deploy-model-ai-monitoring-fix
May 12, 2026
Merged

fix: missing inference packages and mlflow version pin for tutorial CI#3928
Chakradhar886 merged 5 commits into
mainfrom
v-sangeetha/deploy-model-ai-monitoring-fix

Conversation

@Chakradhar886

@Chakradhar886 Chakradhar886 commented May 11, 2026

Copy link
Copy Markdown
Member

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

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

@Chakradhar886 Chakradhar886 changed the title fix fix: missing inference packages and mlflow version pin for tutorial CI May 11, 2026
Comment thread tutorials/get-started-notebooks/deploy/credit_defaults_model/conda.yaml Outdated

@kshitij-microsoft kshitij-microsoft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following Jayesh's approval.

@Chakradhar886
Chakradhar886 merged commit ed80976 into main May 12, 2026
10 checks passed
@Chakradhar886
Chakradhar886 deleted the v-sangeetha/deploy-model-ai-monitoring-fix branch May 12, 2026 10:04
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants