From d556efac78e51a74243f9ff5084e62c10d1495f8 Mon Sep 17 00:00:00 2001 From: Ramil Bakhshyiev Date: Wed, 15 May 2024 13:42:27 -0700 Subject: [PATCH] Enable both RAFT package builds and CUDA 12.1.1 GPU package build (#3441) Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3441 Migration to GitHub Actions Reviewed By: junjieqi Differential Revision: D57372738 fbshipit-source-id: 745b3c3f43c49045f8f5035e2af302ffa30d7755 --- .github/workflows/build.yml | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc7f73c147..6a9114628c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,6 +116,56 @@ jobs: - uses: ./.github/actions/build_conda with: label: main + linux-x86_64-GPU-RAFT-packages-CUDA11-8-0: + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + runs-on: 4-core-ubuntu-gpu-t4 + env: + CUDA_ARCHS: "70-real;72-real;75-real;80;86-real" + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + with: + fetch-depth: 0 + fetch-tags: true + - uses: ./.github/actions/build_conda + with: + label: main + raft: "ON" + cuda: "11.8.0" + compiler_version: "11.2" + linux-x86_64-GPU-packages-CUDA-12-1-1: + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + runs-on: 4-core-ubuntu-gpu-t4 + env: + CUDA_ARCHS: "70-real;72-real;75-real;80;86-real" + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + with: + fetch-depth: 0 + fetch-tags: true + - uses: ./.github/actions/build_conda + with: + label: main + cuda: "12.1.1" + compiler_version: "11.2" + linux-x86_64-GPU-RAFT-packages-CUDA12-1-1: + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + runs-on: 4-core-ubuntu-gpu-t4 + env: + CUDA_ARCHS: "70-real;72-real;75-real;80;86-real" + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + with: + fetch-depth: 0 + fetch-tags: true + - uses: ./.github/actions/build_conda + with: + label: main + raft: "ON" + cuda: "12.1.1" + compiler_version: "11.2" windows-x86_64-packages: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') runs-on: windows-2019