unit8co / darts

A python library for user-friendly forecasting and anomaly detection on time series.
https://unit8co.github.io/darts/
Apache License 2.0
7.56k stars 829 forks source link

How to use darts with bentoml ? #2181

Closed AyushBhardwaj321 closed 4 months ago

AyushBhardwaj321 commented 5 months ago

Hello everyone, I am trying to use BentoML for model versioning , continuous training and deployment but there is no documentation available.

Any lead / support is helpful. Thank You

madtoinou commented 5 months ago

Hi @AyushBhardwaj321,

Since Deep learning models of Darts are based on Pytorch Lightning, this section of BentoML documentation should be relevant : https://docs.bentoml.com/en/latest/frameworks/pytorch_lightning.html. You might need to access the "underlying" model stored in the .model attribute for Darts forecasting model. For other models, BentoML seems to provide examples for a variety of frameworks that are also present in Darts here: https://docs.bentoml.com/en/latest/frameworks/index.html (scikit-learn, catboost, lightgbm, gxboost, ...)