-
Notifications
You must be signed in to change notification settings - Fork 157
/
pyproject.toml
executable file
·157 lines (150 loc) · 2.9 KB
/
pyproject.toml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[tool.black]
line-length = 240
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[tomli]>=6.3"]
build-backend = "setuptools.build_meta"
[project]
name = "lmms_eval"
version = "0.2.4"
authors = [
{ name = "LMMMs-Lab Evaluation Team", email = "[email protected]" },
]
description = "A framework for evaluating large multi-modality language models"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
license = { text = "MIT" }
dependencies = [
"accelerate>=0.29.1",
"black==24.1.0",
"isort==5.13.2",
"datasets==2.16.1",
"evaluate>=0.4.0",
"httpx==0.23.3",
"jsonlines",
"numexpr",
"numpy==1.26.4",
"peft>=0.2.0",
"pybind11>=2.6.2",
"pytablewriter",
"sacrebleu>=1.5.0",
"scikit-learn>=0.24.1",
"sqlitedict==2.1.0",
"torch>=2.1.0", # to enable sdpa mode for running 34B model on one 80GB GPU
"torchvision>=0.16.0",
"timm",
"einops",
"ftfy",
"openai",
"opencv-python-headless",
"av",
"hf_transfer",
"nltk",
"sentencepiece==0.1.99",
"yt-dlp",
"pycocoevalcap",
"tqdm-multiprocess",
"transformers>=4.39.2",
"transformers-stream-generator",
"zstandard",
"pillow",
"pyyaml",
"sympy",
"mpmath",
"Jinja2",
"openpyxl",
"loguru",
"hf_transfer",
"tenacity==8.3.0",
"wandb>=0.16.0",
"tiktoken",
"pre-commit",
"pydantic",
"packaging",
"decord",
"zss",
"protobuf==3.20",
"sentence_transformers",
]
[project.optional-dependencies]
metrics = [
"pywsd",
"spacy",
"anls",
"rouge",
"capture_metric",
"Levenshtein",
]
gemini = [
"google-generativeai",
]
reka = [
"httpx==0.23.3",
"reka-api",
]
qwen = [
"decord",
"qwen_vl_utils",
]
mmsearch = [
"playwright",
"requests",
"matplotlib",
"duckduckgo_search",
"langchain",
"langchain-community",
"beautifulsoup4",
"FlagEmbedding",
"rouge",
]
all = [
"gemini",
"reka",
"metrics",
"qwen",
"mmsearch"
]
[tool.setuptools.packages.find]
include = ["lmms_eval*"]
exclude = [
"assets*",
"benchmark*",
"docs",
"dist*",
"playground*",
"scripts*",
"tests*",
"checkpoints*",
"project_checkpoints*",
"debug_checkpoints*",
"mlx_configs*",
"wandb*",
"notebooks*",
"logs*",
]
[tool.wheel]
exclude = [
"assets*",
"benchmark*",
"docs",
"dist*",
"playground*",
"scripts*",
"tests*",
"checkpoints*",
"project_checkpoints*",
"debug_checkpoints*",
"mlx_configs*",
"wandb*",
"notebooks*",
"logs*",
]
[project.scripts]
lmms-eval = "lmms_eval.__main__:cli_evaluate"
[project.urls]
Homepage = "https://lmms-lab.github.io"
Repository = "https://github.com/EvolvingLMMs-Lab/lmms-eval"