bentoml / BentoML

The easiest way to serve AI apps and models - Build Model Inference APIs, Job queues, LLM apps, Multi-model pipelines, and more!
https://bentoml.com
Apache License 2.0
7.13k stars 791 forks source link

feature: CLI - Custom bento store path when bulding/containerizing/deleting bentos #3290

Closed Quasarman closed 1 year ago

Quasarman commented 1 year ago

Feature request

I would very much like to specify the path where bentos are saved/looked up with a cli parameter when building/containerizing them. I.e., having them in some sort of local /build folder instead of the users home directory.

I have searched through the documentation and browsed the source code a bit but did not find a way to achieve this (if possible at all).

Motivation

It would make it more obvious where my bentos are located and i could rater easily manage them (delete, move, ...) since i would be able to use relative paths from my build env instead of specifying the users home directory all the time.

Other

No response

aarnphm commented 1 year ago

You can set your bentoml home via BENTOML_HOME envvar.

Quasarman commented 1 year ago

Nice thanks you!