mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-12 02:13:36 +00:00
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/5273 Compilation time is huge because we target a bunch of arches. Reduce number of arches and try libmamba solver. Had to skip a few new hanging tests. Reviewed By: junjieqi Differential Revision: D107388234 fbshipit-source-id: 052f80d215a9da95f5867eb70fc361867f2657a8
107 lines
2.8 KiB
YAML
107 lines
2.8 KiB
YAML
on:
|
|
workflow_call:
|
|
secrets:
|
|
ANACONDA_API_TOKEN:
|
|
required: true
|
|
env:
|
|
OMP_NUM_THREADS: '10'
|
|
MKL_THREADING_LAYER: GNU
|
|
jobs:
|
|
linux-x86_64-packages:
|
|
name: Linux x86_64 packages
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Build and Package (conda)
|
|
uses: ./.github/actions/build_conda
|
|
env:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
with:
|
|
label: main
|
|
linux-x86_64-GPU-packages-CUDA-13-2-0:
|
|
name: Linux x86_64 GPU packages (CUDA 13.2)
|
|
runs-on: 4-core-ubuntu-gpu-t4
|
|
env:
|
|
CUDA_ARCHS: "75-real;80;86-real;90;100;120"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Build and Package (conda)
|
|
uses: ./.github/actions/build_conda
|
|
env:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
with:
|
|
label: main
|
|
cuda: "13.2"
|
|
linux-x86_64-GPU-CUVS-packages-CUDA13-2-0:
|
|
name: Linux x86_64 GPU w/ cuVS packages (CUDA 13.2)
|
|
runs-on: 4-core-ubuntu-gpu-t4
|
|
env:
|
|
CUDA_ARCHS: "75-real;80;90;100;120"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Build and Package (conda)
|
|
uses: ./.github/actions/build_conda
|
|
env:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
with:
|
|
label: main
|
|
cuvs: "ON"
|
|
cuda: "13.2"
|
|
windows-x86_64-packages:
|
|
name: Windows x86_64 packages
|
|
runs-on: windows-2022
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Build and Package (conda)
|
|
uses: ./.github/actions/build_conda
|
|
env:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
with:
|
|
label: main
|
|
osx-arm64-packages:
|
|
name: OSX arm64 packages
|
|
runs-on: macos-14
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Build and Package (conda)
|
|
uses: ./.github/actions/build_conda
|
|
env:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
with:
|
|
label: main
|
|
linux-arm64-packages:
|
|
name: Linux arm64 packages
|
|
runs-on: 2-core-ubuntu-arm
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- name: Build and Package (conda)
|
|
uses: ./.github/actions/build_conda
|
|
env:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
with:
|
|
label: main
|