degrade pandas version (#9643)
This commit is contained in:
parent
70f5e7bf0d
commit
1ff4bc43a6
2 changed files with 8 additions and 3 deletions
3
.github/workflows/llm_performance_tests.yml
vendored
3
.github/workflows/llm_performance_tests.yml
vendored
|
|
@ -95,6 +95,7 @@ jobs:
|
||||||
python ../../../test/benchmark/concat_csv.py
|
python ../../../test/benchmark/concat_csv.py
|
||||||
cp ./*.csv $CSV_SAVE_PATH
|
cp ./*.csv $CSV_SAVE_PATH
|
||||||
cd ../../../test/benchmark
|
cd ../../../test/benchmark
|
||||||
|
python -m pip install pandas==1.5.3
|
||||||
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/
|
||||||
if [ ${{ github.event.schedule}} ]; then
|
if [ ${{ github.event.schedule}} ]; then
|
||||||
|
|
@ -148,6 +149,7 @@ jobs:
|
||||||
python run.py
|
python run.py
|
||||||
cp ./*.csv /mnt/disk1/nightly_perf_cpu/
|
cp ./*.csv /mnt/disk1/nightly_perf_cpu/
|
||||||
cd ../../../test/benchmark
|
cd ../../../test/benchmark
|
||||||
|
python -m pip install pandas==1.5.3
|
||||||
python csv_to_html.py -f /mnt/disk1/nightly_perf_cpu/
|
python csv_to_html.py -f /mnt/disk1/nightly_perf_cpu/
|
||||||
|
|
||||||
llm-performance-test-on-core:
|
llm-performance-test-on-core:
|
||||||
|
|
@ -201,6 +203,7 @@ jobs:
|
||||||
python run.py
|
python run.py
|
||||||
cp ./*.csv $CSV_SAVE_PATH
|
cp ./*.csv $CSV_SAVE_PATH
|
||||||
cd ../../../test/benchmark
|
cd ../../../test/benchmark
|
||||||
|
python -m pip install pandas==1.5.3
|
||||||
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/
|
||||||
if [ ${{ github.event.schedule}} ]; then
|
if [ ${{ github.event.schedule}} ]; then
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,11 @@ import sys
|
||||||
import argparse
|
import argparse
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
def highlight_vals(val, max=-3.0, color='yellow'):
|
def highlight_vals(val, max=3.0):
|
||||||
if val < max:
|
if val > max:
|
||||||
return 'background-color: %s' % color
|
return 'background-color: %s' % 'green'
|
||||||
|
elif val < -max:
|
||||||
|
return 'background-color: %s' % 'red'
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue