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
ci-demos
wan2.1
Commits
d5333583
Commit
d5333583
authored
Jan 24, 2026
by
jerrrrry
Browse files
Update .gitlab-ci.yml
parent
053c50f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
.gitlab-ci.yml
.gitlab-ci.yml
+16
-5
No files found.
.gitlab-ci.yml
View file @
d5333583
...
@@ -24,7 +24,18 @@ benchmark_wan2.1:
...
@@ -24,7 +24,18 @@ benchmark_wan2.1:
-
ln -s /workspace/packages/wan2.1/Wan_2.1/models/ ./models
-
ln -s /workspace/packages/wan2.1/Wan_2.1/models/ ./models
-
echo "========================================="
-
echo "========================================="
-
echo "Step 2 Starting ComfyUI server"
-
echo "Step 2 Setting up ComfyUI directories"
-
echo "========================================="
# 创建ComfyUI需要的目录结构
-
mkdir -p custom_nodes
-
mkdir -p input
-
mkdir -p output
-
mkdir -p temp
-
echo "Created ComfyUI directory structure"
-
ls -la
-
echo "========================================="
-
echo "Step 3 Starting ComfyUI server"
-
echo "========================================="
-
echo "========================================="
# 创建日志目录
# 创建日志目录
-
mkdir -p logs
-
mkdir -p logs
...
@@ -35,7 +46,7 @@ benchmark_wan2.1:
...
@@ -35,7 +46,7 @@ benchmark_wan2.1:
-
echo "ComfyUI server started with PID $COMFYUI_PID"
-
echo "ComfyUI server started with PID $COMFYUI_PID"
-
echo "========================================="
-
echo "========================================="
-
echo "Step
3
Waiting for ComfyUI server to be ready"
-
echo "Step
4
Waiting for ComfyUI server to be ready"
-
echo "========================================="
-
echo "========================================="
# 等待服务器启动,最多等待5分钟
# 等待服务器启动,最多等待5分钟
-
|
-
|
...
@@ -56,7 +67,7 @@ benchmark_wan2.1:
...
@@ -56,7 +67,7 @@ benchmark_wan2.1:
fi
fi
-
echo "========================================="
-
echo "========================================="
-
echo "Step
4
Running benchmark tests with different seeds"
-
echo "Step
5
Running benchmark tests with different seeds"
-
echo "========================================="
-
echo "========================================="
# 创建结果目录
# 创建结果目录
-
mkdir -p results
-
mkdir -p results
...
@@ -101,7 +112,7 @@ benchmark_wan2.1:
...
@@ -101,7 +112,7 @@ benchmark_wan2.1:
echo "Test 2 execution time $duration seconds" >> results/performance.log
echo "Test 2 execution time $duration seconds" >> results/performance.log
-
echo "========================================="
-
echo "========================================="
-
echo "Step
5
Collecting results"
-
echo "Step
6
Collecting results"
-
echo "========================================="
-
echo "========================================="
# 查找并复制输出文件
# 查找并复制输出文件
-
|
-
|
...
@@ -123,7 +134,7 @@ benchmark_wan2.1:
...
@@ -123,7 +134,7 @@ benchmark_wan2.1:
grep "Prompt executed in" results/test2_output.log >> results/summary.txt
grep "Prompt executed in" results/test2_output.log >> results/summary.txt
-
echo "========================================="
-
echo "========================================="
-
echo "Step
6
Cleaning up"
-
echo "Step
7
Cleaning up"
-
echo "========================================="
-
echo "========================================="
# 停止ComfyUI服务器
# 停止ComfyUI服务器
-
kill $COMFYUI_PID ||
true
-
kill $COMFYUI_PID ||
true
...
...
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