forked from ml-energy/leaderboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
26 lines (23 loc) · 749 Bytes
/
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
from setuptools import setup, find_packages
extras_require = {
"colosseum-controller": [
"fastapi",
"fschat==0.2.23",
"text_generation @ git+https://github.com/ml-energy/text_generation_energy@master",
],
"app": [
"plotly==5.15.0",
"gradio==3.39.0",
"text_generation @ git+https://github.com/ml-energy/text_generation_energy@master",
],
"benchmark": ["zeus-ml", "fschat==0.2.23", "torch==2.0.1", "tyro", "rich"],
"dev": ["pytest"],
}
extras_require["all"] = list(set(sum(extras_require.values(), [])))
setup(
name="spitfight",
version="0.0.1",
url="https://github.com/ml-energy/leaderboard",
packages=find_packages("."),
extras_require=extras_require,
)