XGBoost runtime for MLServer
Project description
XGBoost runtime for MLServer
This package provides a MLServer runtime compatible with XGBoost.
Usage
You can install the runtime, alongside mlserver
, as:
pip install mlserver mlserver-xgboost
For further information on how to use MLServer with XGBoost, you can check out this worked out example.
Content Types
The XGBoost runtime supports a new dmatrix
content type, aim to decode V2
Inference payloads into XGBoost's DMatrix
data
type.
This content type uses a similar set of encoding rules as the NumPy Array
one.
If no content type is specified on either the request payload or the model's
metadata, the XGBoost runtime will default to the dmatrix
content type.
To avoid this, either send a different content type explicitly, or define the
correct one as part of your model's
metadata.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mlserver-xgboost-1.1.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21fc97d5f4975d08853c705b9b6fcc546df79284918f86aaa41e146039ed6dcc |
|
MD5 | cf8bf408172124f2130efd0078134823 |
|
BLAKE2b-256 | 2dd470f5989373f0e3089f4f1a1f736df314dbecf5b69aeee7b9c211958d0458 |
Hashes for mlserver_xgboost-1.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c226669b3ce3f7aff96a823a1a56f311608af8d12e83292ad72faee799ab3d9 |
|
MD5 | e88df44bdd2c611748913e3e8290cb40 |
|
BLAKE2b-256 | 2d30545626bcac636d169484e52fcf529ee541511f44dc579cc711b7fa502cc5 |