forked from ray-project/ray-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
80 lines (79 loc) · 2.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
from setuptools import find_packages, setup
setup(
name="aviary",
version="0.1.1",
description="A tool to deploy and query LLMs",
packages=find_packages(include="aviary*"),
include_package_data=True,
package_data={"aviary": ["models/*"]},
entry_points={
"console_scripts": [
"aviary=aviary.cli:app",
]
},
install_requires=[
"typer>=0.9",
"rich",
"typing_extensions~=4.5.0",
"requests",
"openai",
],
extras_require={
# TODO(tchordia): test whether this works, and determine how we can keep requirements
# in sync
"backend": [
"awscrt",
"async_timeout",
"torch>=2.0.0",
"torchaudio>=2.0.0",
"torchvision>=0.15.2",
"accelerate",
"transformers>=4.25.1",
"datasets",
"ftfy",
"tensorboard",
"sentencepiece",
"Jinja2",
"numexpr>=2.7.3",
"hf_transfer",
"evaluate",
"bitsandbytes",
"deepspeed @ git+https://github.com/Yard1/DeepSpeed.git@aviary",
"numpy<1.24",
"ninja",
"protobuf<3.21.0",
"optimum @ git+https://github.com/huggingface/optimum.git",
"torchmetrics",
"safetensors",
"pydantic~=1.10.0",
"einops",
"markdown-it-py[plugins]",
"fastapi-versioning",
"scipy",
],
"frontend": [
"gradio",
"aiorwlock",
"ray",
"pymongo",
"pandas",
"boto3",
],
"dev": [
"pre-commit",
"ruff==0.0.270",
"black==23.3.0",
],
"test": [
"pytest",
"pytest-asyncio",
"pytest-md-report",
"buildkite-test-collector",
],
"docs": [
"mkdocs-material",
],
},
dependency_links=["https://download.pytorch.org/whl/cu118"],
python_requires=">=3.8",
)