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
1e42d3d3
Unverified
Commit
1e42d3d3
authored
Dec 10, 2025
by
Musisoul
Committed by
GitHub
Dec 10, 2025
Browse files
Change vae parallel padding size to enhance video quality (#591)
parent
2620398e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lightx2v/models/video_encoders/hf/wan/vae.py
lightx2v/models/video_encoders/hf/wan/vae.py
+2
-2
No files found.
lightx2v/models/video_encoders/hf/wan/vae.py
View file @
1e42d3d3
...
...
@@ -1234,7 +1234,7 @@ class WanVAE:
chunk_h
=
total_h
//
world_size_h
chunk_w
=
total_w
//
world_size_w
padding_size
=
1
padding_size
=
2
# Calculate H dimension slice
if
cur_rank_h
==
0
:
...
...
@@ -1317,7 +1317,7 @@ class WanVAE:
chunk_h
=
total_h
//
world_size_h
chunk_w
=
total_w
//
world_size_w
padding_size
=
1
padding_size
=
2
# Calculate H dimension slice
if
cur_rank_h
==
0
:
...
...
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