-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
102 lines (90 loc) · 1.99 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
[project]
name = "eval-mm"
description = "eval-mm is a tool for evaluating Multi-Modal Large Language Models."
authors = [
{ name = "Silviase", email = "koki.maeda@nlp.c.titech.ac.jp" },
{ name = "speed1313", email = "sugiura.issa.q29@kyoto-u.jp" },
]
dependencies = [
"datasets==2.18.0",
"requests>=2.32.3",
"python-dotenv>=1.0.1",
"openai>=1.42.0",
"rouge-score>=0.1.2",
"emoji>=2.12.1",
"fugashi>=1.3.2",
"unidic-lite>=1.0.8",
"sacrebleu[ja]>=2.4.3",
"pdf2image>=1.17.0",
"protobuf>=5.29.1",
"backoff>=2.2.1",
"scipy>=1.15.1",
]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">= 3.12.1"
dynamic = [
"version"
]
[project.urls]
Repository = "https://github.com/llm-jp/llm-jp-eval-mm"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/eval_mm/_version.py"
[tool.hatch.build]
exclude = [
"result",
"scripts",
]
[tool.uv.sources]
mantis-vl = { git = "https://github.com/TIGER-AI-Lab/Mantis" }
s2wrapper = { git = "https://github.com/bfshi/scaling_on_scales.git" }
[tool.hatch.metadata]
allow-direct-references = true
[dependency-groups]
dev = [
"flash-attn>=2.7.3",
"pytest>=8.3.4",
"seaborn>=0.13.2",
]
evovlm = [
"torch>=2.5.1",
"transformers==4.42.4",
"mantis-vl",
]
vilaja = [
"accelerate==0.27.2",
"deepspeed==0.9.5",
"einops>=0.8.0",
"psutils>=3.3.9",
"s2wrapper",
"sentencepiece>=0.2.0",
"torchvision>=0.20.1",
"transformers==4.37.2",
]
normal = [
"accelerate>=1.2.1",
"qwen-vl-utils>=0.0.8",
"sentencepiece>=0.2.0",
"timm>=1.0.13",
"torchvision>=0.20.1",
"transformers>=4.46.3",
]
pixtral = [
"mistral-common==1.5.0",
"vllm==0.6.5",
]
[tool.uv]
conflicts = [
[
{ group = "evovlm" },
{ group = "vilaja" },
{ group = "normal" },
{ group = "pixtral" },
],
]
no-build-isolation-package = ["flash-attn"]
[tool.hatch.build.targets.wheel]
packages = ["src/eval_mm"]