From bdf66298ad0012de04eaf6dd0290da3707008e1b Mon Sep 17 00:00:00 2001 From: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Date: Tue, 16 Apr 2024 12:15:57 +0200 Subject: [PATCH] FIX: Fix corner-case issue with the important models workflow (#30212) * Update push-important-models.yml * dummy commit * Update modeling_bark.py * test * test * test * another test * another test * test * final test * final test * test * another test * test * test * another test * test llama * revert everything * remove echo --- .github/workflows/push-important-models.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-important-models.yml b/.github/workflows/push-important-models.yml index a6ea03277d6055..93a17ea7f6993c 100644 --- a/.github/workflows/push-important-models.yml +++ b/.github/workflows/push-important-models.yml @@ -53,11 +53,12 @@ jobs: test_modified_files: needs: get_modified_models name: Slow & FA2 tests + runs-on: ubuntu-latest runs-on: [single-gpu, nvidia-gpu, a10, ci] container: image: huggingface/transformers-all-latest-gpu options: --gpus all --privileged --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ - if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' }} + if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.get_modified_models.outputs.matrix)[0] != null }} strategy: fail-fast: false matrix: @@ -133,4 +134,4 @@ jobs: authkey: ${{ secrets.TAILSCALE_SSH_AUTHKEY }} slackChannel: ${{ secrets.SLACK_CIFEEDBACK_CHANNEL }} slackToken: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }} - waitForSSH: true \ No newline at end of file + waitForSSH: true