Skip to content

Commit

Permalink
Merge pull request #2399 from axsaucedo/2065_servers_pinned_versions
Browse files Browse the repository at this point in the history
Updated pinned versions of prepackaged servers
  • Loading branch information
ukclivecox authored Sep 17, 2020
2 parents 8a6da89 + c90ece2 commit f63804a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
scikit-learn==0.20.1
numpy==1.15.1
scipy==1.1.0
xgboost==0.81
numpy >= 1.8.2
xgboost==1.2.0
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):
+ scikit-learn == 0.23.2
+ 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
```
```
4 changes: 3 additions & 1 deletion doc/source/servers/xgboost.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ If you have a trained XGBoost model saved you can deploy it simply using Seldon'

Prequisites:

* Use xgboost v0.82
* 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):
+ numpy == 1.15.4
+ xgboost == 1.2.0

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

0 comments on commit f63804a

Please sign in to comment.