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
6c328a16
Commit
6c328a16
authored
Aug 07, 2025
by
helloyongyang
Browse files
update some logs
parent
a5a2e49d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
lightx2v/models/runners/graph_runner.py
lightx2v/models/runners/graph_runner.py
+8
-2
lightx2v/models/runners/wan/wan_audio_runner.py
lightx2v/models/runners/wan/wan_audio_runner.py
+1
-1
lightx2v/models/runners/wan/wan_causvid_runner.py
lightx2v/models/runners/wan/wan_causvid_runner.py
+2
-2
lightx2v/models/runners/wan/wan_skyreels_v2_df_runner.py
lightx2v/models/runners/wan/wan_skyreels_v2_df_runner.py
+1
-1
No files found.
lightx2v/models/runners/graph_runner.py
View file @
6c328a16
...
...
@@ -9,10 +9,16 @@ class GraphRunner:
self
.
compile
()
def
compile
(
self
):
logger
.
info
(
"start compile..."
)
logger
.
info
(
"="
*
60
)
logger
.
info
(
"🚀 Starting Model Compilation - Please wait, this may take a while... 🚀"
)
logger
.
info
(
"="
*
60
)
with
ProfilingContext4Debug
(
"compile"
):
self
.
runner
.
run_step
()
logger
.
info
(
"end compile..."
)
logger
.
info
(
"="
*
60
)
logger
.
info
(
"✅ Model Compilation Completed ✅"
)
logger
.
info
(
"="
*
60
)
def
run_pipeline
(
self
):
return
self
.
runner
.
run_pipeline
()
lightx2v/models/runners/wan/wan_audio_runner.py
View file @
6c328a16
...
...
@@ -360,7 +360,7 @@ class VideoGenerator:
with
ProfilingContext4Debug
(
"step_pre"
):
self
.
model
.
scheduler
.
step_pre
(
step_index
=
step_index
)
with
ProfilingContext4Debug
(
"infer"
):
with
ProfilingContext4Debug
(
"infer
_main
"
):
self
.
model
.
infer
(
inputs
)
with
ProfilingContext4Debug
(
"step_post"
):
...
...
lightx2v/models/runners/wan/wan_causvid_runner.py
View file @
6c328a16
...
...
@@ -89,7 +89,7 @@ class WanCausVidRunner(WanRunner):
self
.
model
.
scheduler
.
latents
=
self
.
model
.
scheduler
.
last_sample
self
.
model
.
scheduler
.
step_pre
(
step_index
=
self
.
model
.
scheduler
.
infer_steps
-
1
)
with
ProfilingContext4Debug
(
"infer"
):
with
ProfilingContext4Debug
(
"infer
_main
"
):
self
.
model
.
infer
(
self
.
inputs
,
kv_start
,
kv_end
)
kv_start
+=
self
.
num_frame_per_block
*
self
.
frame_seq_length
...
...
@@ -108,7 +108,7 @@ class WanCausVidRunner(WanRunner):
with
ProfilingContext4Debug
(
"step_pre"
):
self
.
model
.
scheduler
.
step_pre
(
step_index
=
step_index
)
with
ProfilingContext4Debug
(
"infer"
):
with
ProfilingContext4Debug
(
"infer
_main
"
):
self
.
model
.
infer
(
self
.
inputs
,
kv_start
,
kv_end
)
with
ProfilingContext4Debug
(
"step_post"
):
...
...
lightx2v/models/runners/wan/wan_skyreels_v2_df_runner.py
View file @
6c328a16
...
...
@@ -110,7 +110,7 @@ class WanSkyreelsV2DFRunner(WanRunner): # Diffustion foring for SkyReelsV2 DF I
with
ProfilingContext4Debug
(
"step_pre"
):
self
.
model
.
scheduler
.
step_pre
(
step_index
=
step_index
)
with
ProfilingContext4Debug
(
"infer"
):
with
ProfilingContext4Debug
(
"infer
_main
"
):
self
.
model
.
infer
(
self
.
inputs
)
with
ProfilingContext4Debug
(
"step_post"
):
...
...
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