pyproject.toml 2.7 KB
Newer Older
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
94
95
96
97
98
[build-system]
requires = [
    "setuptools>=61.0",
    "wheel",
    "packaging",
    "ninja",
]
build-backend = "setuptools.build_meta"

[project]
name = "lightx2v"
version = "0.1.0"
authors = [
    {name = "LightX2V Contributors"},
]
description = "LightX2V: 轻量级视频生成推理框架"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3",
    "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",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Topic :: Multimedia :: Video",
]
keywords = ["video generation", "AI", "deep learning", "diffusion models", "text-to-video", "image-to-video"]

dependencies = [
    "numpy",
    "scipy",
    "torch<=2.8.0",
    "torchvision<=0.23.0",
    "torchaudio<=2.8.0",
    "diffusers",
    "transformers",
    "tokenizers",
    "tqdm",
    "accelerate",
    "safetensors",
    "opencv-python",
    "imageio",
    "imageio-ffmpeg",
    "einops",
    "loguru",
    "sgl-kernel",
    "qtorch",
    "ftfy",
    "gradio",
    "aiohttp",
    "pydantic",
    "prometheus-client",
    "gguf",
]

[project.optional-dependencies]
full = [
    "vllm",
    "fastapi",
    "uvicorn",
    "PyJWT",
    "requests",
    "aio-pika",
    "asyncpg>=0.27.0",
    "aioboto3>=12.0.0",
    "alibabacloud_dypnsapi20170525==1.2.2",
    "redis==6.4.0",
    "tos",
    "decord",
    "av",
]

[project.urls]
Homepage = "https://github.com/ModelTC/LightX2V"
Documentation = "https://lightx2v-en.readthedocs.io/en/latest/"
Repository = "https://github.com/ModelTC/LightX2V"
"Bug Tracker" = "https://github.com/ModelTC/LightX2V/issues"


[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
include = ["lightx2v*"]

[tool.setuptools.package-data]
lightx2v = [
    "configs/*.json",
    "assets/**/*",
]

Dongz's avatar
Dongz committed
99
[tool.ruff]
PengGao's avatar
PengGao committed
100
101
102
103
104
105
106
107
108
109
110
111
112
113
exclude = [
    ".git",
    ".mypy_cache",
    ".ruff_cache",
    ".venv",
    "dist",
    "build",
    "__pycache__",
    "*.egg-info",
    ".pytest_cache",
    ".cluade",
    ".cursor",
    "lightx2v_kernel",
]
Dongz's avatar
Dongz committed
114
115
116
117
118
target-version = "py311"
line-length = 200
indent-width = 4


PengGao's avatar
PengGao committed
119
[tool.ruff.lint]
PengGao's avatar
PengGao committed
120
extend-select = ["I", "F401"]
PengGao's avatar
PengGao committed
121
122
123
124
125
126
127
128
129
130
ignore = ["F"]

[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
"**/lightx2v_kernel/*" = ["F401"]
"**/{cookbook,docs}/*" = ["E402", "F401", "F811", "F841"]

[tool.ruff.lint.isort]
known-first-party = ["lightx2v"]
case-sensitive = true