Commit f663c5ee authored by jerrrrry's avatar jerrrrry
Browse files

Update .gitlab-ci.yml

parent 12543911
...@@ -76,10 +76,7 @@ benchmark_sdxl: ...@@ -76,10 +76,7 @@ benchmark_sdxl:
- export MODEL_PATH="$CI_PROJECT_DIR/stable-diffusion-xl-base-1.0" - export MODEL_PATH="$CI_PROJECT_DIR/stable-diffusion-xl-base-1.0"
- echo "Starting benchmark script, full log will be saved to benchmark.log..." - echo "Starting benchmark script, full log will be saved to benchmark.log..."
# 将 Python 脚本的所有输出(包括错误)都重定向到 benchmark.log 文件 # 将 Python 脚本的所有输出(包括错误)都重定向到 benchmark.log 文件
- python test.py > benchmark.log 2>&1 - python test.py
- echo "--- Benchmark finished ---"
- echo "Last 50 lines of the benchmark log:"
- tail -n 50 benchmark.log # 在主日志中显示最后50行,方便快速查看
artifacts: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths: paths:
......
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