-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (81 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (81 loc) · 1.47 KB
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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "vlmaxxing"
version = "0.1.0"
description = "Research code for training-free anti-recomputation in video VLMs."
readme = "README.md"
requires-python = ">=3.12,<3.13"
license = { text = "MIT" }
authors = [
{ name = "JF Bastien" },
]
dependencies = [
"numpy>=2.2.4",
"pillow>=11.2.1",
]
[dependency-groups]
dev = [
"mypy>=1.15.0",
"pytest>=8.3.5",
"ruff>=0.11.7",
]
paper = [
"matplotlib>=3.10.1",
"numpy>=2.2.4",
"pandas>=2.2.3",
"pillow>=11.2.1",
]
research = [
"av>=14.4.0",
"httpx>=0.28.1",
]
vlm = [
"mlx>=0.31.1",
"mlx-vlm>=0.4.4",
"torch",
"torchvision",
]
benchmark = [
"datasets>=4.8.4",
"gdown>=5.2.0",
"huggingface_hub>=1.10.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/codec_through"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = [
"rlt",
]
[tool.ruff.lint]
select = [
"B",
"E",
"F",
"I",
"SIM",
"UP",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.uv]
required-version = ">=0.11.8"
exclude-newer = "7 days"
[tool.mypy]
python_version = "3.12"
files = ["src", "tests"]
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["mlx", "mlx.*", "mlx_lm", "mlx_lm.*", "mlx_vlm", "mlx_vlm.*", "av"]
ignore_missing_imports = true