Commit d5333583 authored by jerrrrry's avatar jerrrrry
Browse files

Update .gitlab-ci.yml

parent 053c50f4
......@@ -24,7 +24,18 @@ benchmark_wan2.1:
- ln -s /workspace/packages/wan2.1/Wan_2.1/models/ ./models
- 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 "========================================="
# 创建日志目录
- mkdir -p logs
......@@ -35,7 +46,7 @@ benchmark_wan2.1:
- echo "ComfyUI server started with PID $COMFYUI_PID"
- echo "========================================="
- echo "Step 3 Waiting for ComfyUI server to be ready"
- echo "Step 4 Waiting for ComfyUI server to be ready"
- echo "========================================="
# 等待服务器启动,最多等待5分钟
- |
......@@ -56,7 +67,7 @@ benchmark_wan2.1:
fi
- echo "========================================="
- echo "Step 4 Running benchmark tests with different seeds"
- echo "Step 5 Running benchmark tests with different seeds"
- echo "========================================="
# 创建结果目录
- mkdir -p results
......@@ -101,7 +112,7 @@ benchmark_wan2.1:
echo "Test 2 execution time $duration seconds" >> results/performance.log
- echo "========================================="
- echo "Step 5 Collecting results"
- echo "Step 6 Collecting results"
- echo "========================================="
# 查找并复制输出文件
- |
......@@ -123,7 +134,7 @@ benchmark_wan2.1:
grep "Prompt executed in" results/test2_output.log >> results/summary.txt
- echo "========================================="
- echo "Step 6 Cleaning up"
- echo "Step 7 Cleaning up"
- echo "========================================="
# 停止ComfyUI服务器
- kill $COMFYUI_PID || true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment