parent
e3c1dae619
commit
016e840eed
1 changed files with 23 additions and 23 deletions
46
.github/workflows/llm_performance_tests.yml
vendored
46
.github/workflows/llm_performance_tests.yml
vendored
|
|
@ -1208,31 +1208,31 @@ jobs:
|
||||||
call conda deactivate
|
call conda deactivate
|
||||||
|
|
||||||
- name: Prepare igpu perf test for transformers 4.43 (4096-512 int4+fp16)
|
- name: Prepare igpu perf test for transformers 4.43 (4096-512 int4+fp16)
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/{today}_test3/{today}_test4/g' python/llm/dev/benchmark/all-in-one/run.py
|
sed -i 's/{today}_test3/{today}_test4/g' python/llm/dev/benchmark/all-in-one/run.py
|
||||||
sed -i "s/path to your local model hub/$MODEL_HUB_DIR/g" python/llm/test/benchmark/igpu-perf/4096-512_int4_fp16_443.yaml
|
sed -i "s/path to your local model hub/$MODEL_HUB_DIR/g" python/llm/test/benchmark/igpu-perf/4096-512_int4_fp16_443.yaml
|
||||||
|
|
||||||
- name: Test on igpu for transformers 4.43 (4096-512 int4+fp16)
|
- name: Test on igpu for transformers 4.43 (4096-512 int4+fp16)
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
call conda activate igpu-perf
|
call conda activate igpu-perf
|
||||||
pip install transformers==4.43.1
|
pip install transformers==4.43.1
|
||||||
pip install trl
|
pip install trl
|
||||||
|
|
||||||
set SYCL_CACHE_PERSISTENT=1
|
set SYCL_CACHE_PERSISTENT=1
|
||||||
set BIGDL_LLM_XMX_DISABLED=1
|
set BIGDL_LLM_XMX_DISABLED=1
|
||||||
|
|
||||||
cd python\llm\dev\benchmark\all-in-one
|
cd python\llm\dev\benchmark\all-in-one
|
||||||
move ..\..\..\test\benchmark\igpu-perf\4096-512_int4_fp16_443.yaml config.yaml
|
move ..\..\..\test\benchmark\igpu-perf\4096-512_int4_fp16_443.yaml config.yaml
|
||||||
set PYTHONIOENCODING=utf-8
|
set PYTHONIOENCODING=utf-8
|
||||||
python run.py >> %CSV_SAVE_PATH%\4096-512_int4_fp16\log\%LOG_FILE% 2>&1
|
python run.py >> %CSV_SAVE_PATH%\4096-512_int4_fp16\log\%LOG_FILE% 2>&1
|
||||||
if %ERRORLEVEL% neq 0 (exit /b 1)
|
if %ERRORLEVEL% neq 0 (exit /b 1)
|
||||||
python ..\..\..\test\benchmark\igpu-perf\check_csv_results.py --yaml-file config.yaml --suffix test4
|
python ..\..\..\test\benchmark\igpu-perf\check_csv_results.py --yaml-file config.yaml --suffix test4
|
||||||
if %ERRORLEVEL% neq 0 (exit /b 1)
|
if %ERRORLEVEL% neq 0 (exit /b 1)
|
||||||
|
|
||||||
pip uninstall trl -y
|
pip uninstall trl -y
|
||||||
call conda deactivate
|
call conda deactivate
|
||||||
|
|
||||||
- name: Concat csv and generate html (4096-512 int4+fp16)
|
- name: Concat csv and generate html (4096-512 int4+fp16)
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue