From e670122a398d84d13edb1817c18185cfaccc8aef Mon Sep 17 00:00:00 2001 From: liu-shaojun Date: Mon, 1 Jul 2024 01:42:15 +0000 Subject: [PATCH] pip install pydantic for spr&core perf test --- .github/workflows/llm_performance_tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/llm_performance_tests.yml b/.github/workflows/llm_performance_tests.yml index cddbb52697b..3db380fae93 100644 --- a/.github/workflows/llm_performance_tests.yml +++ b/.github/workflows/llm_performance_tests.yml @@ -13,7 +13,7 @@ on: schedule: - cron: "30 16 * * *" # GMT time, 16:30 GMT == 00:30 China # please uncomment it for PR tests - # pull_request: + pull_request: # branches: [main] # paths: # - ".github/workflows/llm_performance_tests.yml" @@ -311,7 +311,7 @@ jobs: llm-performance-test-on-spr: - if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.spr ) || github.event.inputs.artifact == 'llm-performance-test-on-spr' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests + # if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.spr ) || github.event.inputs.artifact == 'llm-performance-test-on-spr' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests # needs: llm-cpp-build # please uncomment it for PR tests strategy: fail-fast: false @@ -340,6 +340,7 @@ jobs: python -m pip install --upgrade einops python -m pip install --upgrade tiktoken python -m pip install --upgrade transformers_stream_generator + python -m pip install --upgrade pydantic # please uncomment it and comment the "Install IPEX-LLM from Pypi" part for PR tests # - name: Download llm binary @@ -383,7 +384,7 @@ jobs: done llm-performance-test-on-core: - if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.core ) || github.event.inputs.artifact == 'llm-performance-test-on-core' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests + # if: ${{ github.event.schedule || ( github.event_name == 'workflow_dispatch' && inputs.core ) || github.event.inputs.artifact == 'llm-performance-test-on-core' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests # needs: llm-cpp-build # please uncomment it for PR tests strategy: fail-fast: false @@ -414,6 +415,7 @@ jobs: python -m pip install --upgrade wheel python -m pip install --upgrade omegaconf pandas python -m pip install --upgrade tiktoken einops transformers_stream_generator + python -m pip install --upgrade pydantic # please uncomment it and comment the "Install IPEX-LLM from Pypi" part for PR tests # - name: Download llm binary