Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
8cd36771
Commit
8cd36771
authored
Jul 28, 2025
by
gushiqiao
Committed by
GitHub
Jul 28, 2025
Browse files
Fix logger bug
Fix logger bug
parents
d1d55ad0
d2bb2fea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
docs/EN/source/deploy_guides/deploy_local_windows.md
docs/EN/source/deploy_guides/deploy_local_windows.md
+2
-2
docs/ZH_CN/source/deploy_guides/deploy_local_windows.md
docs/ZH_CN/source/deploy_guides/deploy_local_windows.md
+2
-2
lightx2v/common/ops/attn/flash_attn.py
lightx2v/common/ops/attn/flash_attn.py
+2
-0
lightx2v/common/ops/attn/ring_attn.py
lightx2v/common/ops/attn/ring_attn.py
+1
-0
lightx2v/common/ops/attn/sage_attn.py
lightx2v/common/ops/attn/sage_attn.py
+1
-1
No files found.
docs/EN/source/deploy_guides/deploy_local_windows.md
View file @
8cd36771
...
@@ -29,8 +29,8 @@ Refer to [Quick Start Guide](../getting_started/quickstart.md) to install enviro
...
@@ -29,8 +29,8 @@ Refer to [Quick Start Guide](../getting_started/quickstart.md) to install enviro
#### One-Click Gradio Startup (Recommended)
#### One-Click Gradio Startup (Recommended)
**📦 Download Software Package**
**📦 Download Software Package**
-
[
Baidu Cloud
](
https://pan.baidu.com/s/1
lLb2LYl8kbmjluaM9-jCjg?pwd=ugd4
)
-
[
Baidu Cloud
](
https://pan.baidu.com/s/1
4bMAbOuFFSj8yzt4Zdmyqw
)
-
[
Quark Cloud
](
https://pan.quark.cn/s/
d0b8be4bc619
)
-
[
Quark Cloud
](
https://pan.quark.cn/s/
97b4ad6bc76c
)
**📁 Directory Structure**
**📁 Directory Structure**
After extraction, ensure the directory structure is as follows:
After extraction, ensure the directory structure is as follows:
...
...
docs/ZH_CN/source/deploy_guides/deploy_local_windows.md
View file @
8cd36771
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
#### 一键启动Gradio(推荐)
#### 一键启动Gradio(推荐)
**📦 下载软件包**
**📦 下载软件包**
-
[
百度云
](
https://pan.baidu.com/s/1
lLb2LYl8kbmjluaM9-jCjg?pwd=ugd4
)
-
[
百度云
](
https://pan.baidu.com/s/1
4bMAbOuFFSj8yzt4Zdmyqw
)
-
[
夸克网盘
](
https://pan.quark.cn/s/
d0b8be4bc619
)
-
[
夸克网盘
](
https://pan.quark.cn/s/
97b4ad6bc76c
)
**📁 目录结构**
**📁 目录结构**
解压后,确保目录结构如下:
解压后,确保目录结构如下:
...
...
lightx2v/common/ops/attn/flash_attn.py
View file @
8cd36771
from
loguru
import
logger
try
:
try
:
import
flash_attn
import
flash_attn
from
flash_attn.flash_attn_interface
import
flash_attn_varlen_func
from
flash_attn.flash_attn_interface
import
flash_attn_varlen_func
...
...
lightx2v/common/ops/attn/ring_attn.py
View file @
8cd36771
...
@@ -4,6 +4,7 @@ from lightx2v.utils.registry_factory import ATTN_WEIGHT_REGISTER
...
@@ -4,6 +4,7 @@ from lightx2v.utils.registry_factory import ATTN_WEIGHT_REGISTER
import
torch.distributed
as
dist
import
torch.distributed
as
dist
from
.utils.ring_comm
import
RingComm
from
.utils.ring_comm
import
RingComm
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
from
loguru
import
logger
try
:
try
:
import
flash_attn
import
flash_attn
...
...
lightx2v/common/ops/attn/sage_attn.py
View file @
8cd36771
import
torch
import
torch
from
.template
import
AttnWeightTemplate
from
.template
import
AttnWeightTemplate
from
lightx2v.utils.registry_factory
import
ATTN_WEIGHT_REGISTER
from
lightx2v.utils.registry_factory
import
ATTN_WEIGHT_REGISTER
from
loguru
import
logger
if
torch
.
cuda
.
get_device_capability
(
0
)
==
(
8
,
9
):
if
torch
.
cuda
.
get_device_capability
(
0
)
==
(
8
,
9
):
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment