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
d2bb2fea
"examples/train_latent_text_to_image.py" did not exist on "0deeb06aac1d4303029b208331d8b04080bb5c0a"
Commit
d2bb2fea
authored
Jul 28, 2025
by
gushiqiao
Browse files
Fix logger bug
parent
d1d55ad0
Changes
5
Show 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 @
d2bb2fea
...
...
@@ -29,8 +29,8 @@ Refer to [Quick Start Guide](../getting_started/quickstart.md) to install enviro
#### One-Click Gradio Startup (Recommended)
**📦 Download Software Package**
-
[
Baidu Cloud
](
https://pan.baidu.com/s/1
lLb2LYl8kbmjluaM9-jCjg?pwd=ugd4
)
-
[
Quark Cloud
](
https://pan.quark.cn/s/
d0b8be4bc619
)
-
[
Baidu Cloud
](
https://pan.baidu.com/s/1
4bMAbOuFFSj8yzt4Zdmyqw
)
-
[
Quark Cloud
](
https://pan.quark.cn/s/
97b4ad6bc76c
)
**📁 Directory Structure**
After extraction, ensure the directory structure is as follows:
...
...
docs/ZH_CN/source/deploy_guides/deploy_local_windows.md
View file @
d2bb2fea
...
...
@@ -28,8 +28,8 @@
#### 一键启动Gradio(推荐)
**📦 下载软件包**
-
[
百度云
](
https://pan.baidu.com/s/1
lLb2LYl8kbmjluaM9-jCjg?pwd=ugd4
)
-
[
夸克网盘
](
https://pan.quark.cn/s/
d0b8be4bc619
)
-
[
百度云
](
https://pan.baidu.com/s/1
4bMAbOuFFSj8yzt4Zdmyqw
)
-
[
夸克网盘
](
https://pan.quark.cn/s/
97b4ad6bc76c
)
**📁 目录结构**
解压后,确保目录结构如下:
...
...
lightx2v/common/ops/attn/flash_attn.py
View file @
d2bb2fea
from
loguru
import
logger
try
:
import
flash_attn
from
flash_attn.flash_attn_interface
import
flash_attn_varlen_func
...
...
lightx2v/common/ops/attn/ring_attn.py
View file @
d2bb2fea
...
...
@@ -4,6 +4,7 @@ from lightx2v.utils.registry_factory import ATTN_WEIGHT_REGISTER
import
torch.distributed
as
dist
from
.utils.ring_comm
import
RingComm
import
torch.nn.functional
as
F
from
loguru
import
logger
try
:
import
flash_attn
...
...
lightx2v/common/ops/attn/sage_attn.py
View file @
d2bb2fea
import
torch
from
.template
import
AttnWeightTemplate
from
lightx2v.utils.registry_factory
import
ATTN_WEIGHT_REGISTER
from
loguru
import
logger
if
torch
.
cuda
.
get_device_capability
(
0
)
==
(
8
,
9
):
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