XGBoost runtime for MLServer¶
This package provides a MLServer runtime compatible with XGBoost.
You can install the runtime, alongside
pip install mlserver mlserver-xgboost
For further information on how to use MLServer with XGBoost, you can check out this worked out example.
If no content type is present on the request or metadata, the XGBoost runtime will try to decode the payload as a NumPy Array. To avoid this, either send a different content type explicitly, or define the correct one as part of your model’s metadata.