From c2703f1c6161a483ef05fbadc861fc787b3e43b1 Mon Sep 17 00:00:00 2001 From: udaij12 Date: Fri, 13 Sep 2024 16:21:15 -0700 Subject: [PATCH 1/3] fixing upload version --- .github/workflows/benchmark_nightly.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark_nightly.yml b/.github/workflows/benchmark_nightly.yml index b2da7cbb5b..c5c878dfd5 100644 --- a/.github/workflows/benchmark_nightly.yml +++ b/.github/workflows/benchmark_nightly.yml @@ -2,8 +2,11 @@ name: Benchmark torchserve nightly on: # run every day at 2:15am - schedule: - - cron: '15 02 * * *' + # schedule: + # - cron: '15 02 * * *' + push: + branches: + - benchmark_fix jobs: nightly: @@ -55,7 +58,7 @@ jobs: NEURON_RT_NUM_CORES: 1 run: python benchmarks/auto_benchmark.py --input benchmarks/benchmark_config_neuronx.yaml --skip false - name: Save benchmark artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: nightly ${{ matrix.hardware }} artifact path: /tmp/ts_benchmark From 752bd2067a074568825f515da6ed43b578c82ecd Mon Sep 17 00:00:00 2001 From: udaij12 Date: Fri, 13 Sep 2024 16:24:48 -0700 Subject: [PATCH 2/3] fixing upload version --- .github/workflows/benchmark_nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark_nightly.yml b/.github/workflows/benchmark_nightly.yml index c5c878dfd5..d9feea1496 100644 --- a/.github/workflows/benchmark_nightly.yml +++ b/.github/workflows/benchmark_nightly.yml @@ -75,7 +75,7 @@ jobs: - name: Update benchmark artifacts for auto validation run: python benchmarks/utils/update_artifacts.py --output /tmp/ts_artifacts/${{ matrix.hardware }}_benchmark_validation - name: Upload the updated benchmark artifacts for auto validation - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.hardware }}_benchmark_validation path: /tmp/ts_artifacts From 8adaf639e697246ca8aa69a860ef81ebd4ad8618 Mon Sep 17 00:00:00 2001 From: udaij12 Date: Fri, 13 Sep 2024 16:25:30 -0700 Subject: [PATCH 3/3] fixing upload version --- .github/workflows/benchmark_nightly.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark_nightly.yml b/.github/workflows/benchmark_nightly.yml index d9feea1496..7d3db8e51b 100644 --- a/.github/workflows/benchmark_nightly.yml +++ b/.github/workflows/benchmark_nightly.yml @@ -2,11 +2,8 @@ name: Benchmark torchserve nightly on: # run every day at 2:15am - # schedule: - # - cron: '15 02 * * *' - push: - branches: - - benchmark_fix + schedule: + - cron: '15 02 * * *' jobs: nightly: