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
|
||||
cp ./*.csv $CSV_SAVE_PATH
|
||||
cd ../../../test/benchmark
|
||||
python -m pip install pandas==1.5.3
|
||||
python csv_to_html.py -f $CSV_SAVE_PATH
|
||||
cd ../../dev/benchmark/all-in-one/
|
||||
if [ ${{ github.event.schedule}} ]; then
|
||||
|
|
@ -148,6 +149,7 @@ jobs:
|
|||
python run.py
|
||||
cp ./*.csv /mnt/disk1/nightly_perf_cpu/
|
||||
cd ../../../test/benchmark
|
||||
python -m pip install pandas==1.5.3
|
||||
python csv_to_html.py -f /mnt/disk1/nightly_perf_cpu/
|
||||
|
||||
llm-performance-test-on-core:
|
||||
|
|
@ -201,6 +203,7 @@ jobs:
|
|||
python run.py
|
||||
cp ./*.csv $CSV_SAVE_PATH
|
||||
cd ../../../test/benchmark
|
||||
python -m pip install pandas==1.5.3
|
||||
python csv_to_html.py -f $CSV_SAVE_PATH
|
||||
cd ../../dev/benchmark/all-in-one/
|
||||
if [ ${{ github.event.schedule}} ]; then
|
||||
|
|
|
|||
|
|
@ -21,9 +21,11 @@ import sys
|
|||
import argparse
|
||||
import pandas as pd
|
||||
|
||||
def highlight_vals(val, max=-3.0, color='yellow'):
|
||||
if val < max:
|
||||
return 'background-color: %s' % color
|
||||
def highlight_vals(val, max=3.0):
|
||||
if val > max:
|
||||
return 'background-color: %s' % 'green'
|
||||
elif val < -max:
|
||||
return 'background-color: %s' % 'red'
|
||||
else:
|
||||
return ''
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue