-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 2.81 KB
/
pyproject.toml
File metadata and controls
93 lines (81 loc) · 2.81 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
92
93
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[project]
name = "avdeepfake1m"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Multimedia :: Video",
"Topic :: Utilities"
]
authors = [
{name = "ControlNet", email = "smczx@hotmail.com"}
]
dynamic = ["version"]
readme = "README.md"
keywords = ["pytorch", "AI"]
dependencies = [
"torch",
"lightning>=2",
"tqdm",
"einops",
"opencv-python",
"numpy>=1,<2",
"torchvision",
"torchaudio",
"av",
"pandas~=2.0",
"torchmetrics~=1.0",
]
[project.urls]
"Homepage" = "https://github.com/ControlNet/AV-Deepfake1M"
"Source Code" = "https://github.com/ControlNet/AV-Deepfake1M"
"Bug Tracker" = "https://github.com/ControlNet/AV-Deepfake1M/issues"
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "avdeepfake1m._evaluation"
python-source = "python"
[tool.pixi.project]
channels = ["pytorch", "conda-forge/label/rust_dev", "conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[tool.pixi.dependencies]
pytorch = { version = "~=2.2.2", channel = "pytorch" }
torchvision = { version = "~=0.17.2", channel = "pytorch" }
torchaudio = { version = "~=2.2.2", channel = "pytorch" }
cpuonly = { version = "~=2.0", channel = "pytorch" } # for developing the dataloader and evaluator only
python = "~=3.11.0"
numpy = { version = "~=1.0", channel = "conda-forge" }
ffmpeg = { version = "*", channel = "conda-forge" }
av = { version = "*", channel = "conda-forge" }
pandas = ">=2.2.3,<3"
torchmetrics = ">=1.4.2,<2"
[tool.pixi.target.linux-64.dependencies]
rust = { version = "*", channel = "conda-forge/label/rust_dev" }
[tool.pixi.target.osx-64.dependencies]
rust_osx-64 = { version = "*", channel = "conda-forge/label/rust_dev" }
[tool.pixi.target.win-64.dependencies]
rust_win-64 = { version = "*", channel = "conda-forge/label/rust_dev" }
[tool.pixi.target.osx-arm64.dependencies]
rust_osx-arm64 = { version = "*", channel = "conda-forge/label/rust_dev" }
[tool.pixi.pypi-dependencies]
avdeepfake1m = { path = ".", editable = true }
[tool.pixi.build-dependencies]
maturin = ">=1.7,<2.0"
setuptools = "*"
pip = "*"
[tool.pixi.tasks]
develop = "maturin develop"
build = "maturin build --release --find-interpreter"