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
701075f4
Commit
701075f4
authored
Sep 15, 2025
by
Yang Yong(雍洋)
Committed by
GitHub
Sep 15, 2025
Browse files
refactor compiler (#301)
parent
60c421f4
Changes
66
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
7 deletions
+0
-7
scripts/wan/run_wan_i2v_lazy_load.sh
scripts/wan/run_wan_i2v_lazy_load.sh
+0
-2
scripts/wan22/run_wan22_distill_moe_flf2v.sh
scripts/wan22/run_wan22_distill_moe_flf2v.sh
+0
-1
scripts/wan22/run_wan22_moe_i2v_distill.sh
scripts/wan22/run_wan22_moe_i2v_distill.sh
+0
-1
scripts/win/run_wan_i2v.bat
scripts/win/run_wan_i2v.bat
+0
-1
scripts/win/run_wan_t2v.bat
scripts/win/run_wan_t2v.bat
+0
-1
test_cases/run_seko_talk_01_base.sh
test_cases/run_seko_talk_01_base.sh
+0
-1
No files found.
scripts/wan/run_wan_i2v_lazy_load.sh
View file @
701075f4
...
@@ -11,7 +11,6 @@ source ${lightx2v_path}/scripts/base/base.sh
...
@@ -11,7 +11,6 @@ source ${lightx2v_path}/scripts/base/base.sh
export
DTYPE
=
FP16
export
DTYPE
=
FP16
export
SENSITIVE_LAYER_DTYPE
=
FP16
export
SENSITIVE_LAYER_DTYPE
=
FP16
export
PROFILING_DEBUG_LEVEL
=
2
export
PROFILING_DEBUG_LEVEL
=
2
export
ENABLE_GRAPH_MODE
=
false
echo
"==============================================================================="
echo
"==============================================================================="
echo
"LightX2V Lazyload Environment Variables Summary:"
echo
"LightX2V Lazyload Environment Variables Summary:"
...
@@ -22,7 +21,6 @@ echo "--------------------------------------------------------------------------
...
@@ -22,7 +21,6 @@ echo "--------------------------------------------------------------------------
echo
"Model Inference Data Type:
${
DTYPE
}
"
echo
"Model Inference Data Type:
${
DTYPE
}
"
echo
"Sensitive Layer Data Type:
${
SENSITIVE_LAYER_DTYPE
}
"
echo
"Sensitive Layer Data Type:
${
SENSITIVE_LAYER_DTYPE
}
"
echo
"Performance Profiling Debug Level:
${
PROFILING_DEBUG_LEVEL
}
"
echo
"Performance Profiling Debug Level:
${
PROFILING_DEBUG_LEVEL
}
"
echo
"Graph Mode Optimization:
${
ENABLE_GRAPH_MODE
}
"
echo
"==============================================================================="
echo
"==============================================================================="
...
...
scripts/wan22/run_wan22_distill_moe_flf2v.sh
View file @
701075f4
...
@@ -8,7 +8,6 @@ export CUDA_VISIBLE_DEVICES=0
...
@@ -8,7 +8,6 @@ export CUDA_VISIBLE_DEVICES=0
# set environment variables
# set environment variables
source
${
lightx2v_path
}
/scripts/base/base.sh
source
${
lightx2v_path
}
/scripts/base/base.sh
export
SENSITIVE_LAYER_DTYPE
=
None
export
SENSITIVE_LAYER_DTYPE
=
None
export
ENABLE_GRAPH_MODE
=
false
python
-m
lightx2v.infer
\
python
-m
lightx2v.infer
\
--model_cls
wan2.2_moe_distill
\
--model_cls
wan2.2_moe_distill
\
...
...
scripts/wan22/run_wan22_moe_i2v_distill.sh
View file @
701075f4
...
@@ -26,7 +26,6 @@ export TOKENIZERS_PARALLELISM=false
...
@@ -26,7 +26,6 @@ export TOKENIZERS_PARALLELISM=false
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
PYTHONPATH
=
${
lightx2v_path
}
:
$PYTHONPATH
export
DTYPE
=
BF16
export
DTYPE
=
BF16
export
ENABLE_PROFILING_DEBUG
=
true
export
ENABLE_PROFILING_DEBUG
=
true
export
ENABLE_GRAPH_MODE
=
false
python
-m
lightx2v.infer
\
python
-m
lightx2v.infer
\
--model_cls
wan2.2_moe_distill
\
--model_cls
wan2.2_moe_distill
\
...
...
scripts/win/run_wan_i2v.bat
View file @
701075f4
...
@@ -28,7 +28,6 @@ if "%model_path%"=="" (
...
@@ -28,7 +28,6 @@ if "%model_path%"=="" (
set
TOKENIZERS_PARALLELISM
=
false
set
TOKENIZERS_PARALLELISM
=
false
set
PYTHONPATH
=
%lightx2
v_path
%
;
%PYTHONPATH%
set
PYTHONPATH
=
%lightx2
v_path
%
;
%PYTHONPATH%
set
PROFILING_DEBUG_LEVEL
=
2
set
PROFILING_DEBUG_LEVEL
=
2
set
ENABLE_GRAPH_MODE
=
false
set
DTYPE
=
BF16
set
DTYPE
=
BF16
echo
环境变量设置完成!
echo
环境变量设置完成!
...
...
scripts/win/run_wan_t2v.bat
View file @
701075f4
...
@@ -28,7 +28,6 @@ if "%model_path%"=="" (
...
@@ -28,7 +28,6 @@ if "%model_path%"=="" (
set
TOKENIZERS_PARALLELISM
=
false
set
TOKENIZERS_PARALLELISM
=
false
set
PYTHONPATH
=
%lightx2
v_path
%
;
%PYTHONPATH%
set
PYTHONPATH
=
%lightx2
v_path
%
;
%PYTHONPATH%
set
PROFILING_DEBUG_LEVEL
=
2
set
PROFILING_DEBUG_LEVEL
=
2
set
ENABLE_GRAPH_MODE
=
false
set
DTYPE
=
BF16
set
DTYPE
=
BF16
echo
环境变量设置完成!
echo
环境变量设置完成!
...
...
test_cases/run_seko_talk_01_base.sh
View file @
701075f4
...
@@ -10,7 +10,6 @@ source ${lightx2v_path}/scripts/base/base.sh
...
@@ -10,7 +10,6 @@ source ${lightx2v_path}/scripts/base/base.sh
export
PYTORCH_CUDA_ALLOC_CONF
=
expandable_segments:True
export
PYTORCH_CUDA_ALLOC_CONF
=
expandable_segments:True
export
ENABLE_GRAPH_MODE
=
false
export
SENSITIVE_LAYER_DTYPE
=
None
export
SENSITIVE_LAYER_DTYPE
=
None
python
-m
lightx2v.infer
\
python
-m
lightx2v.infer
\
...
...
Prev
1
2
3
4
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