From 0274fb4c111cb9254fd88526785422ec38b3e1bb Mon Sep 17 00:00:00 2001 From: Aaron <29749331+aarnphm@users.noreply.github.com> Date: Fri, 15 Mar 2024 05:29:35 -0400 Subject: [PATCH] fix: don't lock openllm to support alpha release Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --- openllm-python/src/_openllm_tiny/_entrypoint.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openllm-python/src/_openllm_tiny/_entrypoint.py b/openllm-python/src/_openllm_tiny/_entrypoint.py index cdd44cb4..0e736c50 100644 --- a/openllm-python/src/_openllm_tiny/_entrypoint.py +++ b/openllm-python/src/_openllm_tiny/_entrypoint.py @@ -280,11 +280,10 @@ def start_command( def construct_python_options(llm_config, llm_fs): - from openllm.bundle import RefResolver from bentoml._internal.bento.build_config import PythonOptions from openllm.bundle._package import build_editable - packages = ['scipy', 'bentoml[tracing]>=1.2', f'openllm[vllm]>={RefResolver.from_strategy("release").version}'] + packages = ['scipy', 'bentoml[tracing]>=1.2', 'openllm[vllm]'] if llm_config['requirements'] is not None: packages.extend(llm_config['requirements']) built_wheels = [build_editable(llm_fs.getsyspath('/'), p) for p in ('openllm_core', 'openllm_client', 'openllm')]