ken
12/06/2024, 12:24 AMbentofile.yaml was configured as follows.
In the configuration, the models field is set to "yolov8_optdemo:latest".
After configuring this and running bentoml build, the bento.yaml file generated in the bento store contains the corresponding model information correctly.
Additionally, the model is present in the model store as expected.
However, the actual model folder from the model store is not copied (published) into the bento within the bento store. Why is this not happening?
• As a reference, in this situation, if I manually copy the model folder from the model store into the bento within the bento store and deploy the bento to the production server, it runs properly using the model specified in the bento.yaml and operates without issues.
========================================================================
service: "app.service:AIServingService"
include:
- 'data/input'
- 'app/*'
- '.env'
- '.env.testing'
- '.env.development'
- 'memo.txt'
python:
requirements_txt: requirements.txt # 의존성 파일
models:
- "yolov8_optdemo:latest" # 모델 이름과 버전
exclude:
- "**/__pycache__"
- "**/*.pyc"
- "logs"
- "data/output"
- 'app/_test'
=========================================================================
I have reviewed various possible issues, but the model is not being deployed. Did I configure something incorrectly?Jian Shen Yap
12/18/2024, 1:22 AM