Hey, I’m trying to use <https://github.com/bentoml...
# ask-for-help
b
Hey, I’m trying to use https://github.com/bentoml/CLIP-API-service but it looks like even when I specifically build a model:
Copy code
clip-api-service build --model-name=ViT-B-32:laion2b_s34b_b79k
It still uses a default model
openai-clip:vit-large-patch14
:
Copy code
❯ bentoml get clip-api-service:c32hehtfwsad4ar6


service: clip_api_service.service:svc
name: clip-api-service
version: c32hehtfwsad4ar6
bentoml_version: 1.1.6
creation_time: '2023-10-08T08:24:46.259365+00:00'
labels: {}
models:
- tag: openai-clip:vit-large-patch14
  module: bentoml.transformers
  creation_time: '2023-10-08T07:47:50.334158+00:00'
runners:
- name: clip_model_runner
  runnable_type: OpenAICLIPRunnable
  embedded: false
  models:
  - openai-clip:vit-large-patch14
  resource_config: null
apis:
- name: encode
  input_type: JSON
  output_type: JSON
- name: rank
  input_type: JSON
  output_type: JSON
docker:
  distro: debian
  python_version: '3.11'
  cuda_version: null
  env: null
  system_packages: null
  setup_script: null
  base_image: null
  dockerfile_template: null
python:
  requirements_txt: null
  packages:
  - bentoml
  - transformers
  - accelerate
  - optimum
  - pydantic
  - Pillow
  lock_packages: true
  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