From 2d1bf203094f399eeea8cee2a0ea1e54299ce082 Mon Sep 17 00:00:00 2001 From: WeiguangHan Date: Fri, 22 Dec 2023 13:55:01 +0800 Subject: [PATCH] LLM: small fix llm_performance_tests.html (#9753) * LLM: small fix llm_performance_tests.html * reslove some comments * revert the llm_performance_test.yaml --- .github/workflows/llm_performance_tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/llm_performance_tests.yml b/.github/workflows/llm_performance_tests.yml index 6262a952..35f5b45a 100644 --- a/.github/workflows/llm_performance_tests.yml +++ b/.github/workflows/llm_performance_tests.yml @@ -93,14 +93,18 @@ jobs: sed -i 's/test1/test2/g' run.py python run.py python ../../../test/benchmark/concat_csv.py - cd ../../../test/benchmark + for file in *.csv; do + if [[ $file != *test* ]]; then + cp "$file" $CSV_SAVE_PATH + fi + done python -m pip install pandas==1.5.3 + cd ../../../test/benchmark python csv_to_html.py -f $CSV_SAVE_PATH cd ../../dev/benchmark/all-in-one/ python ../../../test/benchmark/check_results.py -c test1 -y ../../../test/benchmark/arc-perf-test.yaml python ../../../test/benchmark/check_results.py -c test2 -y ../../../test/benchmark/arc-perf-transformers-434.yaml find . -name "*test*.csv" -delete - cp ./*.csv $CSV_SAVE_PATH if [ ${{ github.event.schedule}} ]; then curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/ fi