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
fbb19ffc
Unverified
Commit
fbb19ffc
authored
Nov 27, 2025
by
sandy
Committed by
GitHub
Nov 27, 2025
Browse files
[Bugfix] (#526)
parent
8e815fb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py
.../models/networks/hunyuan_video/infer/transformer_infer.py
+1
-1
lightx2v/models/runners/default_runner.py
lightx2v/models/runners/default_runner.py
+1
-2
No files found.
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py
View file @
fbb19ffc
...
@@ -106,7 +106,7 @@ class HunyuanVideo15TransformerInfer(BaseTransformerInfer):
...
@@ -106,7 +106,7 @@ class HunyuanVideo15TransformerInfer(BaseTransformerInfer):
self
.
seq_p_fp8_comm
=
self
.
config
[
"parallel"
].
get
(
"seq_p_fp8_comm"
,
False
)
self
.
seq_p_fp8_comm
=
self
.
config
[
"parallel"
].
get
(
"seq_p_fp8_comm"
,
False
)
else
:
else
:
self
.
seq_p_group
=
None
self
.
seq_p_group
=
None
elf
.
seq_p_fp8_comm
=
False
s
elf
.
seq_p_fp8_comm
=
False
self
.
infer_func
=
self
.
infer_without_offload
self
.
infer_func
=
self
.
infer_without_offload
if
self
.
config
.
get
(
"modulate_type"
,
"triton"
)
==
"triton"
:
if
self
.
config
.
get
(
"modulate_type"
,
"triton"
)
==
"triton"
:
self
.
modulate_func
=
fuse_scale_shift_kernel
self
.
modulate_func
=
fuse_scale_shift_kernel
...
...
lightx2v/models/runners/default_runner.py
View file @
fbb19ffc
...
@@ -284,10 +284,9 @@ class DefaultRunner(BaseRunner):
...
@@ -284,10 +284,9 @@ class DefaultRunner(BaseRunner):
if
self
.
config
.
get
(
"model_cls"
)
==
"wan2.2"
and
self
.
config
[
"task"
]
in
[
"i2v"
,
"s2v"
]:
if
self
.
config
.
get
(
"model_cls"
)
==
"wan2.2"
and
self
.
config
[
"task"
]
in
[
"i2v"
,
"s2v"
]:
self
.
inputs
[
"image_encoder_output"
][
"vae_encoder_out"
]
=
None
self
.
inputs
[
"image_encoder_output"
][
"vae_encoder_out"
]
=
None
if
hasattr
(
self
,
"sr_version"
)
and
self
.
sr_version
is
not
None
is
not
None
:
if
hasattr
(
self
,
"sr_version"
)
and
self
.
sr_version
is
not
None
:
self
.
lq_latents_shape
=
self
.
model
.
scheduler
.
latents
.
shape
self
.
lq_latents_shape
=
self
.
model
.
scheduler
.
latents
.
shape
self
.
model_sr
.
set_scheduler
(
self
.
scheduler_sr
)
self
.
model_sr
.
set_scheduler
(
self
.
scheduler_sr
)
self
.
config_sr
[
"is_sr_running"
]
=
True
self
.
config_sr
[
"is_sr_running"
]
=
True
self
.
inputs_sr
=
self
.
run_input_encoder
()
self
.
inputs_sr
=
self
.
run_input_encoder
()
self
.
config_sr
[
"is_sr_running"
]
=
False
self
.
config_sr
[
"is_sr_running"
]
=
False
...
...
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