githubEdit

LightGBM

This package provides a MLServer runtime compatible with LightGBM.

Usage

You can install the runtime, alongside mlserver, as:

pip install mlserver mlserver-lightgbm

For further information on how to use MLServer with LightGBM, you can check out this worked out examplearrow-up-right.

Content Types

If no content typearrow-up-right is present on the request or metadata, the LightGBM runtime will try to decode the payload as a NumPy Arrayarrow-up-right. To avoid this, either send a different content type explicitly, or define the correct one as part of your model's metadataarrow-up-right.

Last updated

Was this helpful?