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.15k stars 791 forks source link

bug: No such option: --print-location #4180

Closed hugocool closed 1 year ago

hugocool commented 1 year ago

Describe the bug

To reproduce

saved_path=$(bentoml get transformers-nlp-service:latest --print-l
ocation --quiet)

give the following error:

Usage: bentoml get [OPTIONS] BENTO_TAG
Try 'bentoml get -h' for help.
Error: No such option: --print-location

Environment

bentoml 1.1.6 python: 3.9.11 os: debian 24

parano commented 1 year ago

Hi @hugocool,

The --print-location command is no longer available and replaced by -o path. For example, you can use saved_path=$(bentoml get text-classification-svc:latest -o path --quiet).

Did you see the --print-location in the documentation somewhere? we should update that to the -o option now

hugocool commented 1 year ago

I realised I saw it in the old version of the docs, 0.13, so I wanted to remove this bug report but couldn’t. Thanks for answering how to do this!


Hugo Evers On 13 Sep 2023 at 18:15 +0200, Chaoyu @.***>, wrote:

Hi @hugocool, The --print-location command is no longer available and replaced by -o path. For example, you can use saved_path=$(bentoml get text-classification-svc:latest -o path --quiet). Did you see the --print-location in the documentation somewhere? we should update that to the -o option now — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

aarnphm commented 1 year ago

Since we have stopped providing support for 0.13 a while now, I wonder how do you land on the doc?

hugocool commented 1 year ago

By googling for AWS EKS deployment of BentoML.


Hugo Evers On 13 Sep 2023 at 19:28 +0200, Aaron Pham @.***>, wrote:

Since we have stopped providing support for 0.13 a while now, I wonder how do you land on the doc? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

parano commented 1 year ago

Thank you @hugocool! we will add a deprecation notice to the 0.13 documentation