Skip to content

Commit

Permalink
Update llm_performance_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-shaojun authored Jul 30, 2024
1 parent 9b36877 commit cf47053
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/llm_performance_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,16 @@ jobs:
python -m pip install --upgrade expecttest
bash python/llm/test/run-llm-install-tests.sh
- name: Test on xpu(transformers==4.36.2)
- name: Test on xpu(transformers==4.41.2)
shell: bash
run: |
date_for_test_version=$(date -d yesterday +%Y-%m-%d)
sed -i "s/date.today()/\"$date_for_test_version\"/g" python/llm/dev/benchmark/all-in-one/run.py
source /opt/intel/oneapi/setvars.sh
export USE_XETLA=OFF
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
# upgrade transformers
python -m pip install transformers==4.41.2
cp python/llm/test/benchmark/arc-perf-test.yaml python/llm/dev/benchmark/all-in-one/config.yaml
cd python/llm/dev/benchmark/all-in-one
mkdir test_batch1
Expand Down Expand Up @@ -182,14 +184,14 @@ jobs:
python run.py
mv *.csv test_batch4
- name: Test on xpu(transformers==4.37.0)
- name: Test on xpu(transformers==4.41.2)
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
export USE_XETLA=OFF
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
# upgrade transformers for model Qwen/Qwen1.5-7B-Chat
python -m pip install transformers==4.37.0
python -m pip install transformers==4.41.2
# batch_size 1
cp python/llm/test/benchmark/arc-perf-transformers-437.yaml python/llm/dev/benchmark/all-in-one/config.yaml
cd python/llm/dev/benchmark/all-in-one
Expand All @@ -214,14 +216,14 @@ jobs:
python run.py
mv *.csv test_batch4
- name: Test on xpu(transformers==4.40.0)
- name: Test on xpu(transformers==4.41.2)
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
export USE_XETLA=OFF
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
# upgrade transformers for model Qwen/Qwen1.5-MoE-A2.7B-Chat
python -m pip install transformers==4.40.0
python -m pip install transformers==4.41.2
python -m pip install trl
# batch_size 1
cp python/llm/test/benchmark/arc-perf-transformers-440.yaml python/llm/dev/benchmark/all-in-one/config.yaml
Expand Down

0 comments on commit cf47053

Please sign in to comment.