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
90e312f3
Commit
90e312f3
authored
Aug 18, 2025
by
gushiqiao
Committed by
GitHub
Aug 18, 2025
Browse files
Update wan_runner.py
parent
de3ada69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lightx2v/models/runners/wan/wan_runner.py
lightx2v/models/runners/wan/wan_runner.py
+1
-1
No files found.
lightx2v/models/runners/wan/wan_runner.py
View file @
90e312f3
...
...
@@ -464,7 +464,7 @@ class Wan22DenseRunner(WanRunner):
"cpu_offload"
:
vae_offload
,
"offload_cache"
:
self
.
config
.
get
(
"vae_offload_cache"
,
False
),
}
if
self
.
config
.
task
!=
[
"i2v"
,
"flf2v"
]:
if
self
.
config
.
task
not
in
[
"i2v"
,
"flf2v"
]:
return
None
else
:
return
Wan2_2_VAE
(
**
vae_config
)
...
...
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