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

Updated pinned versions of prepackaged servers #2399

Merged
merged 6 commits into from
Sep 17, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions doc/source/servers/sklearn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ If you have a trained SKLearn model saved as a pickle you can deploy it simply u
Pre-requisites:

* The model pickle must be saved using joblib and presently be named `model.joblib`
* We presently use sklearn version 0.23.2. Your pickled model must be compatible with this version
* Installed dependencies (may not work if versions don't match):
+ sklearn == 0.23.2
axsaucedo marked this conversation as resolved.
Show resolved Hide resolved
+ joblib == 0.16.0
+ numpy >= 1.8.2

An example for a saved Iris prediction model:

Expand Down Expand Up @@ -105,4 +108,4 @@ If you wish the server image for the sklearn server to be globally changed you c
rest:
defaultImageVersion: "1.2.3"
image: seldonio/sklearnserver_rest
```
```
5 changes: 4 additions & 1 deletion doc/source/servers/xgboost.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ If you have a trained XGBoost model saved you can deploy it simply using Seldon'

Prequisites:

* Use xgboost v0.82
axsaucedo marked this conversation as resolved.
Show resolved Hide resolved
* The model must be named `model.bst`
* You must save your model using `bst.save_model(file_path)`
* The model is loaded with `xgb.Booster(model_file=model_file)`
* Dependencies (otherwise it may not work):
+ scikit-learn == 0.20.3
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need scikit-learn for the XGBoost server?

+ numpy == 1.15.4
+ xgboost == 1.0.1

An example for a saved Iris prediction model:

Expand Down
2 changes: 1 addition & 1 deletion servers/sklearnserver/sklearnserver/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
seldon_core
scikit-learn == 0.23.2
numpy >= 1.8.2
joblib >= 0.13.0
joblib == 0.16.0