bentoml / bentoctl

Fast model deployment on any cloud 🚀
https://bentoml.com
Other
175 stars 30 forks source link

Update signature for `bentoml.load` in operators #139

Closed jjmachan closed 2 years ago

yubozhao commented 2 years ago

This only apply for AWS lambda and Azure functions

yubozhao commented 2 years ago

Let's use load_bento_dir method to be more explicit

https://github.com/bentoml/BentoML/blob/ff702f1fc1ee7cc4cf7aab2e67d1e27512858fe4/bentoml/_internal/service/loader.py#L207

jjmachan commented 2 years ago

since load_bento_dir is internal, decided to keep using the bentoml.load() function

closing the issue is okay @yubozhao @parano