mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-03-11 03:33:44 -04:00
fix: don't lock openllm to support alpha release
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
@@ -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')]
|
||||
|
||||
Reference in New Issue
Block a user