Unverified Commit 34c1b7b1 authored by Yang Yong (雍洋)'s avatar Yang Yong (雍洋) Committed by GitHub
Browse files

Update pyproject.toml (#441)

parent 857dab1f
...@@ -80,15 +80,9 @@ conda activate lightx2v ...@@ -80,15 +80,9 @@ conda activate lightx2v
#### Step 3: Install Dependencies #### Step 3: Install Dependencies
```bash ```bash
# Install basic dependencies
pip install -v -e . pip install -v -e .
# Full dependencies
pip install -v -e .[full]
``` ```
> 💡 **Note**: The Hunyuan model needs to run under transformers version 4.45.2. If you don't need to run the Hunyuan model, you can skip the transformers version restriction.
#### Step 4: Install Attention Operators #### Step 4: Install Attention Operators
**Option A: Flash Attention 2** **Option A: Flash Attention 2**
......
...@@ -80,14 +80,9 @@ conda activate lightx2v ...@@ -80,14 +80,9 @@ conda activate lightx2v
#### 步骤 3: 安装依赖及代码 #### 步骤 3: 安装依赖及代码
```bash ```bash
# 基础安装(核心推理功能)
pip install -v -e . pip install -v -e .
# 完整安装(含推理功能和服务端)
pip install -v -e .[full]
``` ```
> 💡 **提示**: 混元模型需要在 4.45.2 版本的 transformers 下运行,如果您不需要运行混元模型,可以跳过 transformers 版本限制。
#### 步骤 4: 安装注意力机制算子 #### 步骤 4: 安装注意力机制算子
......
...@@ -13,25 +13,22 @@ version = "0.1.0" ...@@ -13,25 +13,22 @@ version = "0.1.0"
authors = [ authors = [
{name = "LightX2V Contributors"}, {name = "LightX2V Contributors"},
] ]
description = "LightX2V: 轻量级视频生成推理框架" description = "LightX2V: Light Video Generation Inference Framework"
readme = "README.md" readme = "README.md"
license = "Apache-2.0" license = "Apache-2.0"
requires-python = ">=3.8" requires-python = ">=3.10"
classifiers = [ classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Multimedia :: Video", "Topic :: Multimedia :: Video",
] ]
keywords = ["video generation", "AI", "deep learning", "diffusion models", "text-to-video", "image-to-video"]
dependencies = [ dependencies = [
"numpy", "numpy",
...@@ -58,10 +55,6 @@ dependencies = [ ...@@ -58,10 +55,6 @@ dependencies = [
"pydantic", "pydantic",
"prometheus-client", "prometheus-client",
"gguf", "gguf",
]
[project.optional-dependencies]
full = [
"vllm", "vllm",
"fastapi", "fastapi",
"uvicorn", "uvicorn",
...@@ -81,20 +74,13 @@ full = [ ...@@ -81,20 +74,13 @@ full = [
Homepage = "https://github.com/ModelTC/LightX2V" Homepage = "https://github.com/ModelTC/LightX2V"
Documentation = "https://lightx2v-en.readthedocs.io/en/latest/" Documentation = "https://lightx2v-en.readthedocs.io/en/latest/"
Repository = "https://github.com/ModelTC/LightX2V" Repository = "https://github.com/ModelTC/LightX2V"
"Bug Tracker" = "https://github.com/ModelTC/LightX2V/issues"
[tool.setuptools] [tool.setuptools]
include-package-data = true include-package-data = true
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
include = ["lightx2v*"] include = ["lightx2v*"]
exclude = ["lightx2v_kernel*"]
[tool.setuptools.package-data]
lightx2v = [
"configs/*.json",
"assets/**/*",
]
[tool.ruff] [tool.ruff]
exclude = [ exclude = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment