-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (48 loc) · 1.27 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
from setuptools import find_packages, setup
# Base requirements for the custom transformers model
base_requirements = [
"bytelatent @ git+https://github.com/facebookresearch/blt",
# "bytelatent @ git+https://github.com/Vectorrent/blt.git@fix-realtime-entropy-patching",
# "bytelatent @ file:///home/crow/repos/blt",
"hivemind @ git+https://github.com/learning-at-home/hivemind.git@213bff98a62accb91f254e2afdccbf1d69ebdea9",
"torch",
"transformers",
]
# Additional requirements for training and orchestration
host_requirements = [
"asciichartpy",
"blessed",
"datasets",
"evaluate",
"flask",
"lightning",
"lm_eval",
"pytorch_optimizer",
"werkzeug",
]
# Requirements primarily for IDE-related tooling
dev_requirements = [
"attrs",
"isort",
"lsprotocol",
"matplotlib",
"networkx",
"pytest",
"pygls",
"wandb",
]
setup(
name="praxis",
version="0.1.0",
decription="as above, so below",
author="Ryan Brooks",
author_email="ryan@src.eco",
url="https://src.eco",
packages=find_packages(),
license="MIT",
install_requires=base_requirements,
extras_require={
"all": base_requirements + host_requirements + dev_requirements,
"dev": dev_requirements,
},
)