From ff7ebf4acaf765001a9b01a517fb3d3e841a7305 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 6 Jun 2024 14:34:50 +0200 Subject: [PATCH] Revert "Using CPU to build the images (caveat: Waiting on all 3 builds before" This reverts commit ab7578b9c0bea1cd7c69d7c83b2e4e778d99df78. --- .github/workflows/build.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d28ba29a..84266ce5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,9 +28,9 @@ jobs: concurrency: group: ${{ github.workflow }}-build-and-push-image-${{ matrix.name }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true - runs-on: [self-hosted, cpu] + runs-on: [self-hosted, nvidia-gpu , multi-gpu, 4-a10, ci] strategy: - matrix: + matrix: include: - name: "cuda" label: "" @@ -123,13 +123,6 @@ jobs: labels: ${{ steps.meta.outputs.labels || steps.meta-pr.outputs.labels }} cache-from: type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache${{ matrix.label }},mode=min cache-to: type=registry,ref=registry.internal.huggingface.tech/api-inference/community/text-generation-inference:cache${{ matrix.label }},mode=min - integration-tests: - concurrency: - group: ${{ github.workflow }}-build-and-push-image-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - runs-on: [self-hosted, nvidia-gpu , multi-gpu, 4-a10, ci] - needs: build-and-push-image - steps: - name: Set up Python if: matrix.name == 'cuda' uses: actions/setup-python@v4