You need to sign in or sign up before continuing.
Commit 686932ce authored by jerrrrry's avatar jerrrrry
Browse files

Update .gitlab-ci.yml

parent 2422cdb6
...@@ -12,7 +12,7 @@ benchmark_wan2.1: ...@@ -12,7 +12,7 @@ benchmark_wan2.1:
- demos - demos
script: script:
- echo "=========================================" - echo "========================================="
- echo "Step 1: Setting up the environment from /workspace/packages/wan2.1" - echo "Step 1:Setting up the environment from /workspace/packages/wan2.1"
- echo "=========================================" - echo "========================================="
# 定义预置文件的根目录 # 定义预置文件的根目录
- export PACKAGE_DIR="/workspace/packages/wan2.1" - export PACKAGE_DIR="/workspace/packages/wan2.1"
...@@ -25,7 +25,7 @@ benchmark_wan2.1: ...@@ -25,7 +25,7 @@ benchmark_wan2.1:
- ln -s /workspace/packages/wan2.1/Wan_2.1/models/ ./ - ln -s /workspace/packages/wan2.1/Wan_2.1/models/ ./
- echo "=========================================" - echo "========================================="
- echo "Step 2: Starting ComfyUI server" - echo "Step 2:Starting ComfyUI server"
- echo "=========================================" - echo "========================================="
# 创建日志目录 # 创建日志目录
- mkdir -p logs - mkdir -p logs
...@@ -36,7 +36,7 @@ benchmark_wan2.1: ...@@ -36,7 +36,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 3:Waiting for ComfyUI server to be ready"
- echo "=========================================" - echo "========================================="
# 等待服务器启动,最多等待5分钟 # 等待服务器启动,最多等待5分钟
- | - |
...@@ -57,7 +57,7 @@ benchmark_wan2.1: ...@@ -57,7 +57,7 @@ benchmark_wan2.1:
fi fi
- echo "=========================================" - echo "========================================="
- echo "Step 4: Running benchmark tests with different seeds" - echo "Step 4:Running benchmark tests with different seeds"
- echo "=========================================" - echo "========================================="
# 创建结果目录 # 创建结果目录
- mkdir -p results - mkdir -p results
...@@ -102,7 +102,7 @@ benchmark_wan2.1: ...@@ -102,7 +102,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 5:Collecting results"
- echo "=========================================" - echo "========================================="
# 查找并复制输出文件 # 查找并复制输出文件
- | - |
...@@ -124,7 +124,7 @@ benchmark_wan2.1: ...@@ -124,7 +124,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 6:Cleaning up"
- echo "=========================================" - echo "========================================="
# 停止ComfyUI服务器 # 停止ComfyUI服务器
- kill $COMFYUI_PID || true - 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