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
#### Step 3: Install Dependencies
```bash
# Install basic dependencies
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
**Option A: Flash Attention 2**
......
......@@ -80,14 +80,9 @@ conda activate lightx2v
#### 步骤 3: 安装依赖及代码
```bash
# 基础安装(核心推理功能)
pip install -v -e .
# 完整安装(含推理功能和服务端)
pip install -v -e .[full]
```
> 💡 **提示**: 混元模型需要在 4.45.2 版本的 transformers 下运行,如果您不需要运行混元模型,可以跳过 transformers 版本限制。
#### 步骤 4: 安装注意力机制算子
......
......@@ -13,25 +13,22 @@ version = "0.1.0"
authors = [
{name = "LightX2V Contributors"},
]
description = "LightX2V: 轻量级视频生成推理框架"
description = "LightX2V: Light Video Generation Inference Framework"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"
requires-python = ">=3.10"
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",
......@@ -58,10 +55,6 @@ dependencies = [
"pydantic",
"prometheus-client",
"gguf",
]
[project.optional-dependencies]
full = [
"vllm",
"fastapi",
"uvicorn",
......@@ -81,20 +74,13 @@ full = [
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/**/*",
]
exclude = ["lightx2v_kernel*"]
[tool.ruff]
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