forked from maitrix-org/llm-reasoners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (32 loc) · 1.43 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
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='reasoners',
version='0.0.0',
packages=['exllama', 'reasoners'], # find_packages(exclude=('examples', 'examples.*')),
entry_points={
'console_scripts': ['reasoners-visualizer=reasoners.visualization:main'],
},
install_requires=['tqdm',
'fire',
'numpy',
'scipy',
'torch',
'datasets',
'huggingface_hub',
'transformers',
'sentencepiece',
'openai',
'tarski',
'peft',
'optimum',
'ninja',
'bitsandbytes',
'llama1@git+https://github.com/AegeanYan/llama@llama_v1', # llama 2 have some alias problem so you may need to clone the forked llama1 at private repo. please check the setup.py
'llama@git+https://github.com/facebookresearch/llama@main',
'fairscale'],
include_package_data=True,
extras_require={
'awq': ['awq@git+https://github.com/mit-han-lab/llm-awq',
'awq_inference_engine@git+https://github.com/mit-han-lab/llm-awq.git@main#subdirectory=awq/kernels'],
},
python_requires='>=3.10')