-
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) · 2.13 KB
/
pyproject.toml
File metadata and controls
91 lines (81 loc) · 2.13 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 = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vjepa2-mlx"
version = "0.0.1"
description = "MLX implementation of V-JEPA 2 for Apple Silicon"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{name = "Facebook Research"},
]
keywords = ["machine learning", "video", "vision", "mlx", "apple silicon"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"mlx>=0.20.0",
"mlx-lm>=0.19.0",
"numpy>=1.24.0",
"opencv-python>=4.8.0",
"pyyaml>=6.0",
"wandb>=0.15.0",
"tqdm>=4.65.0",
"safetensors>=0.4.0",
"decord2>=0.6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.7.0",
"isort>=5.12.0",
"flake8>=6.1.0",
]
notebook = [
"jupyter>=1.0.0",
"matplotlib>=3.7.0",
"ipywidgets>=8.1.0",
]
[project.urls]
Homepage = "https://github.com/facebookresearch/vjepa2"
Repository = "https://github.com/facebookresearch/vjepa2-mlx"
[project.scripts]
vjepa2-mlx-train = "vjepa2_mlx.train:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["vjepa2_mlx*"]
[tool.setuptools.package-data]
vjepa2_mlx = ["*.yaml", "*.yml"]
[tool.black]
line-length = 119
target-version = ["py311", "py312"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 119
skip_gitignore = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = ["-v", "--tb=short", "--strict-markers"]
markers = [
"slow: marks tests as slow",
"requires_weights: marks tests that require model weights",
"requires_torch: marks tests that require PyTorch",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning",
]