-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (83 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
89 lines (83 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
[project]
name = "ltxv-trainer"
version = "0.1.0"
description = "LTXV training democratized."
readme = "README.md"
authors = [
{ name = "Matan Ben-Yosef", email = "mbyosef@lightricks.com" }
]
requires-python = ">=3.10"
dependencies = [
"accelerate>=1.2.1",
"av>=14.2.1",
"bitsandbytes >=0.45.2; sys_platform == 'linux'",
"decord >=0.6.0; sys_platform == 'linux'",
"diffusers>=0.32.1",
"gradio==5.33.0",
"imageio>=2.37.0",
"imageio-ffmpeg>=0.6.0",
"opencv-python>=4.11.0.86",
"optimum-quanto>=0.2.6",
"pandas>=2.2.3",
"peft>=0.14.0",
"pillow-heif>=0.21.0",
"protobuf>=5.29.3",
"pydantic>=2.10.4",
"rich>=13.9.4",
"safetensors>=0.5.0",
"scenedetect>=0.6.5.2",
"sentencepiece>=0.2.0",
"setuptools>=75.6.0",
"torch>=2.6.0",
"torchvision>=0.21.0",
"typer>=0.15.1",
"wandb>=0.19.11",
]
[dependency-groups]
dev = [
"pre-commit>=4.0.1",
"ruff>=0.8.6",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py311"
line-length = 120
exclude = []
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"W", # pycodestyle (warnings)
"I", # isort
"N", # pep8-naming
"ANN", # flake8-annotations
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"EXE", # flake8-executable
"PIE", # flake8-pie
"T20", # flake8-print
"PT", # flake8-pytest
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
"PTH", # flake8--use-pathlib
"ERA", # flake8-eradicate
"RUF", # ruff specific rules
"PL", # pylint
]
ignore = [
"ANN002", # Missing type annotation for *args
"ANN003", # Missing type annotation for **kwargs
"ANN204", # Missing type annotation for special method
"COM812", # Missing trailing comma
"PTH123", # `open()` should be replaced by `Path.open()`
"PLR2004", # Magic value used in comparison, consider replacing with a constant variable
]
[tool.ruff.lint.pylint]
max-args = 10
[tool.ruff.lint.isort]
known-first-party = ["ltxv_trainer"]