fix: limit BentoML version range (#881)

This commit is contained in:
Zhao Shenyang
2024-02-04 16:59:21 +08:00
committed by GitHub
parent 7cd53ca693
commit 9d0e292076
3 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ def build_editable(path, package='openllm'):
def construct_python_options(llm, llm_fs, extra_dependencies=None, adapter_map=None):
from . import RefResolver
packages = ['scipy', 'bentoml[tracing]>=1.1.10', f'openllm[vllm]>={RefResolver.from_strategy("release").version}'] # apparently bnb misses this one
packages = ['scipy', 'bentoml[tracing]>=1.1.10,<1.2', f'openllm[vllm]>={RefResolver.from_strategy("release").version}'] # apparently bnb misses this one
if adapter_map is not None:
packages += ['openllm[fine-tune]']
if extra_dependencies is not None: