Update mldesigner installation to specific version#4064
Draft
lavakumarrepala wants to merge 8 commits into
Draft
Update mldesigner installation to specific version#4064lavakumarrepala wants to merge 8 commits into
lavakumarrepala wants to merge 8 commits into
Conversation
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>
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
Checklist