From 43234bd486e4d3f77133d28f32043605cfe6e357 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Tue, 3 Sep 2024 09:20:46 +0200 Subject: [PATCH] use daily ci without sleep 10 --- .github/workflows/model_jobs.yml | 3 +-- .github/workflows/self-scheduled.yml | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/model_jobs.yml b/.github/workflows/model_jobs.yml index ddac81a9e3afb8..2ff186b8384759 100644 --- a/.github/workflows/model_jobs.yml +++ b/.github/workflows/model_jobs.yml @@ -41,8 +41,7 @@ jobs: fail-fast: false matrix: folders: ${{ fromJson(inputs.folder_slices)[inputs.slice_id] }} - runs-on: - group: '${{ inputs.machine_type }}' + runs-on: ['${{ inputs.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}'] container: image: ${{ inputs.docker }} options: --gpus all --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ diff --git a/.github/workflows/self-scheduled.yml b/.github/workflows/self-scheduled.yml index d5a1a179472519..2835698f229a78 100644 --- a/.github/workflows/self-scheduled.yml +++ b/.github/workflows/self-scheduled.yml @@ -50,9 +50,8 @@ jobs: name: Setup strategy: matrix: - machine_type: [daily-ci] - runs-on: - group: '${{ matrix.machine_type }}' + machine_type: [single-gpu] + runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, '${{ inputs.runner }}'] container: image: huggingface/transformers-all-latest-gpu options: --gpus 0 --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ @@ -103,7 +102,7 @@ jobs: strategy: fail-fast: false matrix: - machine_type: [aws-g4dn-2xlarge-cache] + machine_type: [single-gpu] slice_id: ${{ fromJSON(needs.setup.outputs.slice_ids) }} uses: ./.github/workflows/model_jobs.yml with: