Gary Chen
04/17/2024, 10:47 PMbentoml serve service:Summarization command, I get the following error
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/bin/bentoml", line 5, in <module>
from bentoml_cli.cli import cli
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml_cli/cli.py", line 57, in <module>
cli = create_bentoml_cli()
^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml_cli/cli.py", line 8, in create_bentoml_cli
from bentoml._internal.configuration import BENTOML_VERSION
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/__init__.py", line 26, in <module>
load_config()
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/_internal/configuration/__init__.py", line 184, in load_config
BentoMLConfiguration(
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/_internal/configuration/containers.py", line 67, in __init__
self.config = get_default_config(version=use_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/_internal/configuration/helpers.py", line 111, in get_default_config
assert hasattr(mod, "SCHEMA"), (
^^^^^^^^^^^^^^^^^^^^^^
AssertionError: version 1 does not have a validation schema
I'm running off the latest release bentoml==1.2.11Gary Chen
04/17/2024, 11:23 PMbentoml -h throws the same errorChaoyu
04/18/2024, 5:47 AMGary Chen
04/18/2024, 4:26 PM