From 19c2b015dda5fed5fe0471ba8ad804b656b51f77 Mon Sep 17 00:00:00 2001 From: Shaojun Liu <61072813+liu-shaojun@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:05:19 +0800 Subject: [PATCH] fix dependabot alerts (#5203) --- .github/workflows/llm-c-evaluation.yml | 12 ++++++------ .github/workflows/llm-harness-evaluation.yml | 12 ++++++------ .github/workflows/llm-ppl-evaluation.yml | 12 ++++++------ .github/workflows/llm-whisper-evaluation.yml | 12 ++++++------ python/requirements/nano/requirements_torch.txt | 2 +- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/llm-c-evaluation.yml b/.github/workflows/llm-c-evaluation.yml index d747454e43f..79eb0a46f95 100644 --- a/.github/workflows/llm-c-evaluation.yml +++ b/.github/workflows/llm-c-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "00 15 * * *" # GMT time, 15:00 GMT == 23:00 Beijing Time - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-c-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-c-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: @@ -204,7 +204,7 @@ jobs: pip install pandas==1.5.3 - name: Download ceval results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: ceval_results path: results @@ -259,7 +259,7 @@ jobs: fi - name: Download ceval results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: results_${{ needs.set-matrix.outputs.date }} path: ${{ env.ACC_FOLDER }} diff --git a/.github/workflows/llm-harness-evaluation.yml b/.github/workflows/llm-harness-evaluation.yml index b03a63ab76d..9590af3d7cb 100644 --- a/.github/workflows/llm-harness-evaluation.yml +++ b/.github/workflows/llm-harness-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "30 12 * * *" # GMT time, 12:30 GMT == 20:30 China - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-harness-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-harness-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: @@ -226,7 +226,7 @@ jobs: pip install --upgrade pip pip install jsonlines pytablewriter regex - name: Download all results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: harness_results path: results @@ -266,7 +266,7 @@ jobs: fi - name: Download harness results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: harness_results path: ${{ env.ACC_FOLDER}}/${{ env.DATE }} diff --git a/.github/workflows/llm-ppl-evaluation.yml b/.github/workflows/llm-ppl-evaluation.yml index ae1e606c3cc..a06f290c819 100644 --- a/.github/workflows/llm-ppl-evaluation.yml +++ b/.github/workflows/llm-ppl-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "00 12 * * *" # GMT time, 12:00 GMT == 20:00 China - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-ppl-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-ppl-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: @@ -211,7 +211,7 @@ jobs: pip install --upgrade pip pip install jsonlines pytablewriter regex - name: Download all results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: ppl_results path: results @@ -250,7 +250,7 @@ jobs: fi - name: Download ppl results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: ppl_results path: ${{ env.ACC_FOLDER}}/${{ env.DATE }} diff --git a/.github/workflows/llm-whisper-evaluation.yml b/.github/workflows/llm-whisper-evaluation.yml index 3c77873ded8..eca3c5eb19a 100644 --- a/.github/workflows/llm-whisper-evaluation.yml +++ b/.github/workflows/llm-whisper-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "00 13 * * *" # GMT time, 13:00 GMT == 21:00 China - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-whisper-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-whisper-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: @@ -176,14 +176,14 @@ jobs: - name: Download all results for nightly run if: github.event_name == 'schedule' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: whisper_results path: ${{ env.NIGHTLY_FOLDER}}/${{ env.OUTPUT_PATH }} - name: Download all results for pr run if: github.event_name == 'pull_request' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: whisper_results path: ${{ env.PR_FOLDER}}/${{ env.OUTPUT_PATH }} diff --git a/python/requirements/nano/requirements_torch.txt b/python/requirements/nano/requirements_torch.txt index 68e677ba809..c902f4e25ed 100644 --- a/python/requirements/nano/requirements_torch.txt +++ b/python/requirements/nano/requirements_torch.txt @@ -11,4 +11,4 @@ torchmetrics==0.11.0 opencv-python-headless PyTurboJPEG opencv-transforms -cryptography==42.0.4 +cryptography>=43.0.1