diff --git a/.github/workflows/llm_performance_tests.yml b/.github/workflows/llm_performance_tests.yml index 48cc7dc7..e2b28426 100644 --- a/.github/workflows/llm_performance_tests.yml +++ b/.github/workflows/llm_performance_tests.yml @@ -28,7 +28,7 @@ jobs: # uses: ./.github/workflows/llm-binary-build.yml llm-performance-test-on-arc: - if: ${{ github.event.schedule || github.event.inputs.artifact == 'llm-performance-test-on-arc' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests + if: ${{ github.event.schedule || github.event_name == 'workflow_dispatch' || github.event.inputs.artifact == 'llm-performance-test-on-arc' || 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 @@ -153,12 +153,12 @@ jobs: python ../../../test/benchmark/check_results.py -c test1 -y ../../../test/benchmark/arc-perf-test.yaml python ../../../test/benchmark/check_results.py -c test2 -y ../../../test/benchmark/arc-perf-transformers-434.yaml find . -name "*test*.csv" -delete - if [ ${{ github.event.schedule}} ]; then + if [ ${{ github.event.schedule}} || [ ${{ github.event_name }} == "workflow_dispatch" ]; then curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/gpu/ fi llm-performance-test-on-spr: - if: ${{ github.event.schedule || 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' || 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 @@ -230,7 +230,7 @@ jobs: done llm-performance-test-on-core: - if: ${{ github.event.schedule || 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' || 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 @@ -297,12 +297,12 @@ jobs: 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 + if [ ${{ github.event.schedule}} || [ ${{ github.event_name }} == "workflow_dispatch" ]; then curl -T ./*.csv ${LLM_FTP_URL}/llm/nightly_perf/core_${{ matrix.platform }}/ fi llm-performance-test-on-igpu: - if: ${{ github.event.schedule || github.event.inputs.artifact == 'llm-performance-test-on-igpu' || github.event.inputs.artifact == 'all' }} # please comment it for PR tests + if: ${{ github.event.schedule || github.event_name == 'workflow_dispatch' || github.event.inputs.artifact == 'llm-performance-test-on-igpu' || 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 @@ -868,7 +868,7 @@ jobs: shell: cmd run: | cd %CSV_SAVE_PATH% - IF "${{ github.event_name }}"=="schedule" ( + IF "${{ github.event_name }}"=="schedule" OR "${{ github.event_name }}"=="workflow_dispatch" ( for %%f in (*.html) do ( curl -T "%%f" %FTP_IGPU_NIGHTLY_PERF_PATH% )