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
1bbe8c6f
Commit
1bbe8c6f
authored
Jul 30, 2025
by
gushiqiao
Browse files
Fix bugs
parent
e1f7729e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
configs/wan22/wan_i2v_audio.json
configs/wan22/wan_i2v_audio.json
+2
-2
lightx2v/models/runners/default_runner.py
lightx2v/models/runners/default_runner.py
+1
-1
No files found.
configs/wan22/wan_i2v_audio.json
View file @
1bbe8c6f
...
...
@@ -20,12 +20,12 @@
"use_image_encoder"
:
false
,
"use_31_block"
:
false
,
"lora_configs"
:
[
{
{
"name"
:
"high_noise_model"
,
"path"
:
"/mnt/Text2Video/wuzhuguanyu/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank64.safetensors"
,
"strength"
:
1.0
},
{
{
"name"
:
"low_noise_model"
,
"path"
:
"/mnt/Text2Video/wuzhuguanyu/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank64.safetensors"
,
"strength"
:
1.0
...
...
lightx2v/models/runners/default_runner.py
View file @
1bbe8c6f
...
...
@@ -176,7 +176,7 @@ class DefaultRunner(BaseRunner):
self
.
model
=
self
.
load_transformer
()
self
.
init_scheduler
()
self
.
model
.
scheduler
.
prepare
(
self
.
inputs
[
"image_encoder_output"
])
if
self
.
config
.
get
(
"model_cls"
)
==
"wan2.2"
:
if
self
.
config
.
get
(
"model_cls"
)
==
"wan2.2"
and
self
.
config
[
"task"
]
==
"i2v"
:
self
.
inputs
[
"image_encoder_output"
][
"vae_encoder_out"
]
=
None
latents
,
generator
=
self
.
run
()
self
.
end_run
()
...
...
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