Skip to content

Commit d89ae54

Browse files
authored
Merge branch 'main' into hnsw-optim
2 parents 64e2d6d + fd3403e commit d89ae54

36 files changed

Lines changed: 951 additions & 423 deletions

.github/actions/build_cmake/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ runs:
7373
:
7474
# regular CUDA for GPU builds
7575
elif [ "${{ inputs.gpu }}" = "ON" ] && [ "${{ inputs.cuvs }}" = "OFF" ]; then
76-
conda install -y -q cuda-libraries-dev=12.6 cuda-nvcc=12.6 cuda-nvtx=12.6 cuda-cupti=12.6 cuda-cudart-dev=12.6 gxx_linux-64=12.4 -c "nvidia/label/cuda-12.6"
76+
conda install -y -q cuda-libraries-dev=13.2 cuda-nvcc=13.2 cuda-nvtx=13.2 cuda-cupti=13.2 cuda-cudart-dev=13.2 gxx_linux-64=14.2 -c "nvidia/label/cuda-13.2"
7777
# and CUDA from cuVS channel for cuVS builds
7878
elif [ "${{ inputs.cuvs }}" = "ON" ]; then
79-
conda install -y -q libcuvs=26.02 'cuda-version=12.9' sysroot_linux-64=2.34 -c rapidsai -c rapidsai-nightly -c conda-forge
79+
conda install -y -q libcuvs=26.02 'cuda-version=13.2' sysroot_linux-64=2.34 -c rapidsai -c rapidsai-nightly -c conda-forge
8080
# Clean index cache to prevent sqlite3 "database is locked" errors
8181
# from conda-libmamba-solver's shards cache between consecutive installs.
8282
# See: https://github.com/conda/conda-libmamba-solver/issues/667
@@ -93,7 +93,10 @@ runs:
9393
: # skip torch install via conda, we need to install via pip to get
9494
# ROCm-enabled version until it's supported in conda by PyTorch
9595
elif [ "${{ inputs.gpu }}" = "ON" ]; then
96-
conda install -y -q "pytorch>=2.7" "pytorch-gpu>=2.7" -c pytorch -c "nvidia/label/12.9"
96+
# PyTorch deprecated its official Anaconda channel (pytorch/pytorch#138506),
97+
# so we install via pip for CUDA builds. --break-system-packages is needed
98+
# because the CI runner's Python is PEP 668 externally-managed.
99+
pip install "torch>=2.7" --break-system-packages --index-url https://download.pytorch.org/whl/cu132
97100
else
98101
# TestLowLevelIVF.IVFRQ hangs on pytorch>=2.7, so left it as <2.5 for now.
99102
conda install -y -q "pytorch<2.5" -c pytorch

.github/workflows/build-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ jobs:
277277
- name: Build and Package (conda)
278278
uses: ./.github/actions/build_conda
279279
linux-x86_64-GPU-conda:
280-
name: Linux x86_64 GPU (conda, CUDA 12.6)
280+
name: Linux x86_64 GPU (conda, CUDA 13.2)
281281
runs-on: 4-core-ubuntu-gpu-t4
282282
env:
283-
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
283+
CUDA_ARCHS: "75-real;80;86-real;90;100;120"
284284
steps:
285285
- name: Checkout
286286
uses: actions/checkout@v4
@@ -290,7 +290,7 @@ jobs:
290290
- name: Build and Package (conda)
291291
uses: ./.github/actions/build_conda
292292
with:
293-
cuda: "12.6"
293+
cuda: "13.2"
294294
linux-x86_64-svs:
295295
name: Linux x86_64 w/ SVS (cmake)
296296
needs: linux-x86_64-cmake

.github/workflows/build-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
2323
with:
2424
label: main
25-
linux-x86_64-GPU-packages-CUDA-12-4-0:
26-
name: Linux x86_64 GPU packages (CUDA 12.6)
25+
linux-x86_64-GPU-packages-CUDA-13-2-0:
26+
name: Linux x86_64 GPU packages (CUDA 13.2)
2727
runs-on: 4-core-ubuntu-gpu-t4
2828
env:
29-
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
29+
CUDA_ARCHS: "75-real;80;86-real;90;100;120"
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v4
@@ -39,12 +39,12 @@ jobs:
3939
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
4040
with:
4141
label: main
42-
cuda: "12.6"
43-
linux-x86_64-GPU-CUVS-packages-CUDA12-4-0:
44-
name: Linux x86_64 GPU w/ cuVS packages (CUDA 12.6)
42+
cuda: "13.2"
43+
linux-x86_64-GPU-CUVS-packages-CUDA13-2-0:
44+
name: Linux x86_64 GPU w/ cuVS packages (CUDA 13.2)
4545
runs-on: 4-core-ubuntu-gpu-t4
4646
env:
47-
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
47+
CUDA_ARCHS: "75-real;80;86-real;90;100;120"
4848
steps:
4949
- name: Checkout
5050
uses: actions/checkout@v4
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
label: main
6060
cuvs: "ON"
61-
cuda: "12.6"
61+
cuda: "13.2"
6262
windows-x86_64-packages:
6363
name: Windows x86_64 packages
6464
runs-on: windows-2022

.github/workflows/index-io-backward-compatibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
eval "$(conda shell.bash hook)"
5353
conda create -n faiss_conda_read -y python=3.12
5454
conda activate faiss_conda_read
55-
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.1 "mkl>=2024.2.2,<2026"
55+
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.2 "mkl>=2024.2.2,<2026"
5656
conda list
5757
5858
- name: Run Conda reader (read Faiss index and verify)
@@ -89,7 +89,7 @@ jobs:
8989
eval "$(conda shell.bash hook)"
9090
conda create -n faiss_conda_write -y python=3.12
9191
conda activate faiss_conda_write
92-
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.1 "mkl>=2024.2.2,<2026"
92+
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.2 "mkl>=2024.2.2,<2026"
9393
conda list
9494
9595
- name: Create shared data directory

.github/workflows/nightly.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
2121
with:
2222
label: nightly
23-
linux-x86_64-GPU-CUDA-12-6-nightly:
24-
name: Linux x86_64 GPU nightlies (CUDA 12.6)
23+
linux-x86_64-GPU-CUDA-13-2-nightly:
24+
name: Linux x86_64 GPU nightlies (CUDA 13.2)
2525
runs-on: 4-core-ubuntu-gpu-t4
2626
env:
27-
CUDA_ARCHS: "70-real;72-real;75-real;80;86-real"
27+
CUDA_ARCHS: "75-real;80;86-real;90;100;120"
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v4
@@ -36,26 +36,25 @@ jobs:
3636
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
3737
with:
3838
label: nightly
39-
cuda: "12.6"
40-
# TODO: re-enable when we have a newer machine in CI that can run CUDA 13.2
41-
# linux-x86_64-GPU-CUVS-CUDA13-2-0-nightly:
42-
# name: Linux x86_64 GPU w/ cuVS nightlies (CUDA 13.2)
43-
# runs-on: 4-core-ubuntu-gpu-t4
44-
# env:
45-
# CUDA_ARCHS: "75-real;80;86-real;90;100"
46-
# steps:
47-
# - name: Checkout
48-
# uses: actions/checkout@v4
49-
# with:
50-
# fetch-depth: 0
51-
# fetch-tags: true
52-
# - uses: ./.github/actions/build_conda
53-
# env:
54-
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
55-
# with:
56-
# label: nightly
57-
# cuvs: "ON"
58-
# cuda: "13.2"
39+
cuda: "13.2"
40+
linux-x86_64-GPU-CUVS-CUDA13-2-0-nightly:
41+
name: Linux x86_64 GPU w/ cuVS nightlies (CUDA 13.2)
42+
runs-on: 4-core-ubuntu-gpu-t4
43+
env:
44+
CUDA_ARCHS: "75-real;80;86-real;90;100;120"
45+
steps:
46+
- name: Checkout
47+
uses: actions/checkout@v4
48+
with:
49+
fetch-depth: 0
50+
fetch-tags: true
51+
- uses: ./.github/actions/build_conda
52+
env:
53+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
54+
with:
55+
label: nightly
56+
cuvs: "ON"
57+
cuda: "13.2"
5958
windows-x86_64-nightly:
6059
name: Windows x86_64 nightlies
6160
runs-on: windows-2022

0 commit comments

Comments
 (0)