This message was deleted.
# ask-for-help
s
This message was deleted.
c
you can serve it with BentoML by implementing your own runnable class: https://docs.bentoml.com/en/latest/concepts/runner.html#custom-runner
saving the model with BentoML model store is slightly more complex, we don’t currently have detailed documentation
but it’s possible for users to do this - you may take a look at the scikit-learn module’s implementation, which can be a good starting point
k
Thanks. Do we have to use the model store or can we plugin our own method/library?
c
you don’t have to, it’s nice for version management if you iterate with retraining/fine-tuning a lot
but if you are using pre-trained model from NNUnet, it’s probably ok to just package the files in the Bento, load with custom runner, without the modelstore
k
Also, is there no way to just track general models (such as for my use case) without associating it with learning framework? For example instead of
bentoml.pytorch.save()
a
bentoml.generic.save()
? We plan to deploy many models each trained differently some NNUnet, some Pytorch or tensorflow, and others.
a
you can use
bentoml.models.create
to save your own model
👌 1
👍 1
you will just need to manage the metadata and context as well as framework version yourself
to get the model back you can do
bentoml.models.get
k
Thanks so much!
a