forked from exo-explore/exo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (53 loc) · 1.2 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
import sys
from setuptools import find_packages, setup
# Base requirements for all platforms
install_requires = [
"aiohttp==3.10.2",
"aiohttp_cors==0.7.0",
"aiofiles==24.1.0",
"blobfile==2.1.1",
"grpcio==1.64.1",
"grpcio-tools==1.64.1",
"hf-transfer==0.1.8",
"huggingface-hub==0.24.5",
"Jinja2==3.1.4",
"netifaces==0.11.0",
"numpy==2.0.0",
"pillow==10.4.0",
"prometheus-client==0.20.0",
"protobuf==5.27.1",
"psutil==6.0.0",
"pynvml==11.5.3",
"requests==2.32.3",
"rich==13.7.1",
"safetensors==0.4.3",
"tenacity==9.0.0",
"tiktoken==0.7.0",
"tokenizers==0.19.1",
"tqdm==4.66.4",
"transformers==4.43.3",
"uuid==1.30",
"llama-cpp-python==0.2.89",
"tinygrad @ git+https://github.com/tinygrad/tinygrad.git@639af3f823cf242a1945dc24183e52a9df0af2b7",
]
# Add macOS-specific packages if on Darwin (macOS)
if sys.platform.startswith("darwin"):
install_requires.extend([
"mlx==0.17.3",
"mlx-lm==0.18.2",
])
extras_require = {
"linting": [
"pylint==3.2.6",
"ruff==0.5.5",
"mypy==1.11.0",
"yapf==0.40.2",
],
}
setup(
name="exo",
version="0.0.1",
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
)