README.md 2.27 KB
Newer Older
Dongz's avatar
Dongz committed
1
# LightX2V: Light Video Generation Inference Framework
helloyongyang's avatar
helloyongyang committed
2

helloyongyang's avatar
helloyongyang committed
3
4
5
6
7
<div align="center">
  <picture>
    <img alt="LightLLM" src="assets/img_lightx2v.jpg" width=75%>
  </picture>
</div>
helloyongyang's avatar
helloyongyang committed
8

helloyongyang's avatar
helloyongyang committed
9
--------------------------------------------------------------------------------
PengGao's avatar
PengGao committed
10
11
12
![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/ModelTC/lightx2v)

helloyongyang's avatar
helloyongyang committed
13

helloyongyang's avatar
helloyongyang committed
14
15
16
17
18
19
20
21
22
23
## Supported Model List

[HunyuanVideo-T2V](https://huggingface.co/tencent/HunyuanVideo)

[HunyuanVideo-I2V](https://huggingface.co/tencent/HunyuanVideo-I2V)

[Wan2.1-T2V](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B)

[Wan2.1-I2V](https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-480P)

24
25
[Wan2.1-T2V-CausVid](https://huggingface.co/lightx2v/Wan2.1-T2V-14B-CausVid)

26
[SkyReels-V2-DF](https://huggingface.co/Skywork/SkyReels-V2-DF-14B-540P)
helloyongyang's avatar
helloyongyang committed
27

28

29
## How to Run
helloyongyang's avatar
helloyongyang committed
30

helloyongyang's avatar
helloyongyang committed
31
Please refer to the [documentation](https://github.com/ModelTC/lightx2v/tree/main/docs) in lightx2v.
Dongz's avatar
Dongz committed
32

33
## Contributing Guidelines
Dongz's avatar
Dongz committed
34

35
We have prepared a `pre-commit` hook to enforce consistent code formatting across the project. If your code complies with the standards, you should not see any errors, you can clean up your code following the steps below:
Dongz's avatar
Dongz committed
36
37
38
39

1. Install the required dependencies:

```shell
helloyongyang's avatar
helloyongyang committed
40
pip install ruff pre-commit
Dongz's avatar
Dongz committed
41
42
```

43
2. Then, run the following command before commit:
Dongz's avatar
Dongz committed
44
45

```shell
helloyongyang's avatar
helloyongyang committed
46
pre-commit run --all-files
Dongz's avatar
Dongz committed
47
48
```

49
50
51
52
53
54
3. Finally, please double-check your code to ensure it complies with the following additional specifications as much as possible:
  - Avoid hard-coding local paths: Make sure your submissions do not include hard-coded local paths, as these paths are specific to individual development environments and can cause compatibility issues. Use relative paths or configuration files instead.
  - Clear error handling: Implement clear error-handling mechanisms in your code so that error messages can accurately indicate the location of the problem, possible causes, and suggested solutions, facilitating quick debugging.
  - Detailed comments and documentation: Add comments to complex code sections and provide comprehensive documentation to explain the functionality of the code, input-output requirements, and potential error scenarios.

Thank you for your contributions!