Skip to content

Commit

Permalink
fix(release): remove unecessary check for client dependencies [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Nov 19, 2023
1 parent 1968704 commit cb4386b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openllm-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ full = [
]
ggml = ["ctransformers"]
gptq = ["auto-gptq[triton]>=0.4.2"]
grpc = ["bentoml[grpc]>=1.1.9", "openllm-client[grpc]>=0.4.16"]
grpc = ["bentoml[grpc]>=1.1.9"]
mpt = ["triton"]
openai = ["openai[datalib]>=1", "tiktoken"]
playground = ["jupyter", "notebook", "ipython", "jupytext", "nbformat"]
Expand Down
4 changes: 1 addition & 3 deletions tools/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
sys.path.insert(1, os.path.join(ROOT, 'openllm-core', 'src'))

import openllm
from openllm_core.utils.lazy import VersionInfo

_OWNER, _REPO = 'bentoml', 'openllm'

Expand Down Expand Up @@ -143,13 +142,12 @@ def from_tuple(cls, *decls: t.Any) -> Dependencies:


_LOWER_BENTOML_CONSTRAINT = '1.1.9'
_OPENLLM_CLIENT_CONSTRAINT = str(VersionInfo.from_package('openllm-client'))
_BENTOML_EXT = ['io']
_TRANSFORMERS_EXT = ['torch', 'tokenizers']
_TRANSFORMERS_CONSTRAINTS = '4.35.0'

FINE_TUNE_DEPS = ['peft>=0.6.0', 'datasets', 'trl', 'huggingface-hub']
GRPC_DEPS = [f'bentoml[grpc]>={_LOWER_BENTOML_CONSTRAINT}', f'openllm-client[grpc]>={_OPENLLM_CLIENT_CONSTRAINT}']
GRPC_DEPS = [f'bentoml[grpc]>={_LOWER_BENTOML_CONSTRAINT}']
OPENAI_DEPS = ['openai[datalib]>=1', 'tiktoken']
AGENTS_DEPS = [f'transformers[agents]>={_TRANSFORMERS_CONSTRAINTS}', 'diffusers', 'soundfile']
PLAYGROUND_DEPS = ['jupyter', 'notebook', 'ipython', 'jupytext', 'nbformat']
Expand Down

0 comments on commit cb4386b

Please sign in to comment.