-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
executable file
·134 lines (127 loc) · 2.57 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
[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.1"
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",
"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",
"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",
"pywsd",
"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",
"Levenshtein",
"hf_transfer",
"tenacity==8.3.0",
"wandb>=0.16.0",
"tiktoken",
"pre-commit",
"pydantic",
"packaging",
"decord",
"zss",
"pywsd",
"spacy",
"anls",
"rouge",
"capture_metric",
]
[project.optional-dependencies]
vila = [
"s2wrapper@git+https://github.com/bfshi/scaling_on_scales"
]
gemini = [
"google-generativeai",
]
all = [
"vila",
"gemini",
]
[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"