Skip to content

fix: MLFlow E2E Example Notebook (5513)#34

Closed
aviruthen wants to merge 1 commit intomasterfrom
fix/mlflow-e2e-example-notebook-5513
Closed

fix: MLFlow E2E Example Notebook (5513)#34
aviruthen wants to merge 1 commit intomasterfrom
fix/mlflow-e2e-example-notebook-5513

Conversation

@aviruthen
Copy link
Copy Markdown
Owner

Test PR 3

Copy link
Copy Markdown

@sagemaker-bot sagemaker-bot left a comment

Choose a reason for hiding this comment

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

🤖 AI Code Review

This PR fixes two example notebooks: corrects Session.boto_region_name to Session().boto_region_name (instance vs class attribute), updates MLflow code for v3.x API compatibility, and replaces direct boto3 invoke_endpoint calls with V3-native core_endpoint.invoke(). The changes are well-aligned with V3 SDK conventions.

" order_by=['version_number DESC'],\n",
" max_results=1\n",
")\n",
"\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Minor: The order_by parameter value 'version_number DESC' should be verified against the MLflow search_model_versions API. In some MLflow versions, the supported field name is 'version_number', while in others it may be 'creation_timestamp'. If this notebook targets MLflow 3.x specifically, please confirm this is the correct field name to avoid a runtime error for users.

"from sagemaker.serve.mode.function_pointers import Mode\n",
"\n",
"# Cloud deployment to SageMaker endpoint\n",
"# Note: 'dependencies' parameter is deprecated. You may see a deprecation warning.\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good addition of the deprecation note for the dependencies parameter. However, the comment suggests using configure_for_torchserve() — could you verify this is the correct V3 replacement method name and add a brief code example or link? Users may not know how to apply this guidance.

@aviruthen aviruthen closed this Mar 30, 2026
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.

2 participants