Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sherif akoush/quickfix/fix alibi import test #446

Merged

Conversation

sakoush
Copy link
Member

@sakoush sakoush commented Jan 14, 2022

pin numpy to <1.22 as numba 0.55.0 (alibi runtime KernelShap) requires it.

…at we only try to explain the first element of it.
� Conflicts:
�	docs/conf.py
�	mlserver/version.py
�	runtimes/alibi-detect/mlserver_alibi_detect/version.py
�	runtimes/alibi-explain/mlserver_alibi_explain/version.py
�	runtimes/lightgbm/mlserver_lightgbm/version.py
�	runtimes/mlflow/mlserver_mlflow/version.py
�	runtimes/mllib/mlserver_mllib/version.py
�	runtimes/sklearn/mlserver_sklearn/version.py
�	runtimes/xgboost/mlserver_xgboost/version.py
setup.py Outdated
@@ -38,7 +38,8 @@ def _load_description() -> str:
"fastapi",
"grpcio",
"importlib-metadata;python_version<'3.8'",
"numpy",
# numba 0.55.0 requires: numpy <1.22 (for Shap / alibi)
"numpy==1.21.5",
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering, would it work if we pinned the version of numpy in the dependencies of the Alibi runtime package?

Copy link
Member Author

Choose a reason for hiding this comment

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

I didnt work for some reason but let me double check.

@sakoush sakoush merged commit 2204354 into SeldonIO:master Jan 17, 2022
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