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
27c5575f
Commit
27c5575f
authored
Sep 04, 2025
by
Yang Yong(雍洋)
Committed by
GitHub
Sep 04, 2025
Browse files
Support Multi Levels Profile Log (#290)
parent
dd870f3f
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
13 deletions
+13
-13
scripts/bench/run_lightx2v_3_distill.sh
scripts/bench/run_lightx2v_3_distill.sh
+1
-1
scripts/bench/run_lightx2v_4.sh
scripts/bench/run_lightx2v_4.sh
+1
-1
scripts/bench/run_lightx2v_5.sh
scripts/bench/run_lightx2v_5.sh
+1
-1
scripts/bench/run_lightx2v_5_distill.sh
scripts/bench/run_lightx2v_5_distill.sh
+1
-1
scripts/bench/run_lightx2v_6.sh
scripts/bench/run_lightx2v_6.sh
+1
-1
scripts/bench/run_lightx2v_6_distill.sh
scripts/bench/run_lightx2v_6_distill.sh
+1
-1
scripts/qwen_image/qwen_image_i2i.sh
scripts/qwen_image/qwen_image_i2i.sh
+1
-1
scripts/qwen_image/qwen_image_t2i.sh
scripts/qwen_image/qwen_image_t2i.sh
+1
-1
scripts/qwen_image/qwen_image_t2i_offload.sh
scripts/qwen_image/qwen_image_t2i_offload.sh
+1
-1
scripts/wan/run_wan_i2v_lazy_load.sh
scripts/wan/run_wan_i2v_lazy_load.sh
+2
-2
scripts/win/run_wan_i2v.bat
scripts/win/run_wan_i2v.bat
+1
-1
scripts/win/run_wan_t2v.bat
scripts/win/run_wan_t2v.bat
+1
-1
No files found.
scripts/bench/run_lightx2v_3_distill.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
export
DTYPE
=
BF16
...
...
scripts/bench/run_lightx2v_4.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
export
DTYPE
=
BF16
...
...
scripts/bench/run_lightx2v_5.sh
View file @
27c5575f
...
...
@@ -27,7 +27,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
DTYPE
=
BF16
export
SENSITIVE_LAYER_DTYPE
=
FP32
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
python
-m
lightx2v.infer
\
...
...
scripts/bench/run_lightx2v_5_distill.sh
View file @
27c5575f
...
...
@@ -27,7 +27,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
DTYPE
=
BF16
export
SENSITIVE_LAYER_DTYPE
=
FP32
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
python
-m
lightx2v.infer
\
...
...
scripts/bench/run_lightx2v_6.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
export
DTYPE
=
BF16
...
...
scripts/bench/run_lightx2v_6_distill.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
export
DTYPE
=
BF16
...
...
scripts/qwen_image/qwen_image_i2i.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
DTYPE
=
BF16
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
...
...
scripts/qwen_image/qwen_image_t2i.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
DTYPE
=
BF16
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
...
...
scripts/qwen_image/qwen_image_t2i_offload.sh
View file @
27c5575f
...
...
@@ -26,7 +26,7 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
DTYPE
=
BF16
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
...
...
scripts/wan/run_wan_i2v_lazy_load.sh
View file @
27c5575f
...
...
@@ -10,7 +10,7 @@ export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
source
${
lightx2v_path
}
/scripts/base/base.sh
export
DTYPE
=
FP16
export
SENSITIVE_LAYER_DTYPE
=
FP16
export
ENABLE_
PROFILING_DEBUG
=
true
export
PROFILING_DEBUG
_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
echo
"==============================================================================="
...
...
@@ -21,7 +21,7 @@ echo "model_path: ${model_path}"
echo
"-------------------------------------------------------------------------------"
echo
"Model Inference Data Type:
${
DTYPE
}
"
echo
"Sensitive Layer Data Type:
${
SENSITIVE_LAYER_DTYPE
}
"
echo
"Performance Profiling Debug
Mode:
${
ENABLE_
PROFILING_DEBUG
}
"
echo
"Performance Profiling Debug
Level:
${
PROFILING_DEBUG
_LEVEL
}
"
echo
"Graph Mode Optimization:
${
ENABLE_GRAPH_MODE
}
"
echo
"==============================================================================="
...
...
scripts/win/run_wan_i2v.bat
View file @
27c5575f
...
...
@@ -27,7 +27,7 @@ if "%model_path%"=="" (
:: 设置环境变量
set
TOKENIZERS_PARALLELISM
=
false
set
PYTHONPATH
=
%lightx2
v_path
%
;
%PYTHONPATH%
set
ENABLE_
PROFILING_DEBUG
=
true
set
PROFILING_DEBUG
_LEVEL
=
2
set
ENABLE_GRAPH_MODE
=
false
set
DTYPE
=
BF16
...
...
scripts/win/run_wan_t2v.bat
View file @
27c5575f
...
...
@@ -27,7 +27,7 @@ if "%model_path%"=="" (
:: 设置环境变量
set
TOKENIZERS_PARALLELISM
=
false
set
PYTHONPATH
=
%lightx2
v_path
%
;
%PYTHONPATH%
set
ENABLE_
PROFILING_DEBUG
=
true
set
PROFILING_DEBUG
_LEVEL
=
2
set
ENABLE_GRAPH_MODE
=
false
set
DTYPE
=
BF16
...
...
Prev
1
2
Next
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