Skip to content

Update mldesigner installation to specific version#4064

Draft
lavakumarrepala wants to merge 8 commits into
mainfrom
lavakumarrepala-patch-4
Draft

Update mldesigner installation to specific version#4064
lavakumarrepala wants to merge 8 commits into
mainfrom
lavakumarrepala-patch-4

Conversation

@lavakumarrepala

Copy link
Copy Markdown
Member

Description

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.

lavakumarrepala and others added 8 commits July 8, 2026 11:39
The AzureML batch inference driver now imports TypedDict from typing,
which fails on Python 3.7. Bump python to 3.8 and pin scikit-learn==0.23.2
(last version that unpickles the committed 0.20.3 LogisticRegression via the
sklearn.linear_model.logistic alias and still ships cp38 wheels); bump
cloudpickle to 1.6.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Exit 41 came from the worker: on py3.8 the modern transitive deps broke
scikit-learn 0.23.2 (numpy>=1.24 removes np.int; scipy>=1.9 removes
scipy.linalg.pinv2), so the model failed to load/predict. Pin a
mutually-compatible 2022 set that still unpickles the committed 0.20.3
LogisticRegression: numpy==1.21.6, scipy==1.7.3, pandas==1.3.5,
scikit-learn==0.23.2, mlflow==1.30.1, cloudpickle==1.6.0.

Validated locally: model loads via mlflow and predicts on all 74 rows
(44-feature input) with this exact stack.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
openmpi4.1.0-ubuntu20.04 reached EOL 04/25/2025 and is now blocked by the
curated-environment brownout. Move to the supported openmpi5.0-ubuntu24.04
base. The parallel conda env still creates its own python 3.8, so the pinned
stack is unaffected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant