Slackbot
08/23/2023, 8:32 AMJian Shen Yap
08/23/2023, 8:49 AMJaydeep Samanta
08/23/2023, 8:51 AMJian Shen Yap
08/23/2023, 8:55 AMsave_model you should obtain a tag where you are able to get the model with the tag with load_model . Does this sounds like a solution to you?Jaydeep Samanta
08/23/2023, 8:57 AMbentoml.models.list()Jaydeep Samanta
08/23/2023, 8:57 AMJaydeep Samanta
08/23/2023, 8:58 AMJaydeep Samanta
08/23/2023, 9:04 AMJian Shen Yap
08/23/2023, 9:25 AMJian Shen Yap
08/23/2023, 9:27 AMbentoml get <bento-tag> would output the information of the bento and the model that is used by itJian Shen Yap
08/23/2023, 9:28 AMservice: service:svc
name: sentence-embedding-svc
version: 0.5.0
bentoml_version: 1.1.1
creation_time: '2023-08-11T01:08:37.913573+00:00'
labels:
support_gpu: 'False'
models:
- tag: all-minilm-l6-v2:few7kkrx3k3uxuqj
module: bentoml.transformers
creation_time: '2023-08-11T00:01:02.834436+00:00'
- tag: all-minilm-l6-v2-tokenizer:fggc4obx3k3uxuqj
module: bentoml.transformers
creation_time: '2023-08-11T00:01:03.452978+00:00'
runners:
- name: sentence_embedding_model
runnable_type: SentenceEmbeddingRunnable
embedded: false
models: []
resource_config: null
apis:
- name: encode
input_type: JSON
output_type: NumpyNdarray
docker:
distro: debian
python_version: '3.10'
cuda_version: null
env: null
system_packages: null
setup_script: null
base_image: null
dockerfile_template: null
python:
requirements_txt: ./requirements.txt
packages: null
lock_packages: null
index_url: null
no_index: null
trusted_host: null
find_links: null
extra_index_url: null
pip_args: null
wheels: null
conda:
environment_yml: null
channels: null
dependencies: null
pip: null
does this helps?Jaydeep Samanta
08/23/2023, 10:10 AMJaydeep Samanta
08/23/2023, 10:10 AMJian Shen Yap
08/23/2023, 10:11 AMJaydeep Samanta
08/23/2023, 10:13 AMJaydeep Samanta
08/23/2023, 10:13 AM"models": [
{
"tag": "cpu_utilization_model:2xjpddsa3cmvtury",
"module": "bentoml.mlflow",
"creation_time": "2023-08-22T10:44:13.955418+00:00"
}
],Jaydeep Samanta
08/23/2023, 10:13 AM