LLM: small fix llm_performance_tests.html (#9753)

* LLM: small fix llm_performance_tests.html

* reslove some comments

* revert the llm_performance_test.yaml
This commit is contained in:
WeiguangHan 2023-12-22 13:55:01 +08:00 committed by GitHub
parent fdf93c9267
commit 2d1bf20309

View file

@ -93,14 +93,18 @@ jobs:
sed -i 's/test1/test2/g' run.py sed -i 's/test1/test2/g' run.py
python run.py python run.py
python ../../../test/benchmark/concat_csv.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 python -m pip install pandas==1.5.3
cd ../../../test/benchmark
python csv_to_html.py -f $CSV_SAVE_PATH python csv_to_html.py -f $CSV_SAVE_PATH
cd ../../dev/benchmark/all-in-one/ 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 test1 -y ../../../test/benchmark/arc-perf-test.yaml
python ../../../test/benchmark/check_results.py -c test2 -y ../../../test/benchmark/arc-perf-transformers-434.yaml python ../../../test/benchmark/check_results.py -c test2 -y ../../../test/benchmark/arc-perf-transformers-434.yaml
find . -name "*test*.csv" -delete find . -name "*test*.csv" -delete
cp ./*.csv $CSV_SAVE_PATH
if [ ${{ github.event.schedule}} ]; then if [ ${{ github.event.schedule}} ]; then
curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/ curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/
fi fi