-
Notifications
You must be signed in to change notification settings - Fork 94
/
pyproject.toml
80 lines (67 loc) · 1.92 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
include = ["colpali_engine"]
[project]
name = "colpali_engine"
dynamic = ["version"]
description = "The code used to train and run inference with the ColPali architecture."
authors = [
{ name = "Manuel Faysse", email = "manuel.faysse@illuin.tech" },
{ name = "Hugues Sibille", email = "hugues.sibille@illuin.tech" },
{ name = "Tony Wu", email = "tony.wu@illuin.tech" },
]
maintainers = [
{ name = "Manuel Faysse", email = "manuel.faysse@illuin.tech" },
{ name = "Tony Wu", email = "tony.wu@illuin.tech" },
]
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"GPUtil",
"numpy<2.0.0",
"peft>=0.11.0,<0.12.0",
"pillow>=9.2.0,<11.0.0",
"requests",
"torch>=2.2.0",
"transformers>=4.46.1,<4.47.0",
]
[project.optional-dependencies]
train = [
"accelerate>=0.34.0,<1.1.0",
"bitsandbytes",
"configue>=5.0.0",
"datasets>=2.19.1",
"mteb>=1.16.3,<1.17.0",
"typer>=0.12.3, <1.0.0",
]
interpretability = [
"einops>=0.8.0,<1.0.0",
"matplotlib>=3.9.0,<4.0.0",
"seaborn>=0.13.2,<1.0.0",
]
dev = ["pytest>=8.0.0", "ruff>=0.4.0"]
all = ["colpali-engine[dev]", "colpali-engine[train]"]
[project.urls]
homepage = "https://github.com/illuin-tech/colpali"
[tool.pytest.ini_options]
filterwarnings = ["ignore::Warning"]
markers = ["slow: marks test as slow"]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]