Skip to content

Commit 66c989a

Browse files
junjieqifacebook-github-bot
authored andcommitted
Pin Nightlies with testing on PR (facebookresearch#4088)
Summary: Pull Request resolved: facebookresearch#4088 Test Plan: https://github.com/facebookresearch/faiss/actions/runs/12325339739 Reviewed By: gtwang01 Differential Revision: D67227820 Pulled By: junjieqi fbshipit-source-id: c516ea6c26415f521dff90f7de1ab6e65d173e44
1 parent bfdda6a commit 66c989a

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

conda/faiss-gpu-cuvs/meta.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,24 @@ outputs:
4646
requirements:
4747
build:
4848
- {{ compiler('cxx') }}
49-
- sysroot_linux-64 # [linux64]
49+
- sysroot_linux-64 =2.17 # [linux64]
5050
- llvm-openmp # [osx]
5151
- cmake >=3.26.4
52-
- make # [not win]
52+
- make =4.2 # [not win]
5353
- _openmp_mutex =4.5=2_kmp_llvm # [x86_64]
5454
- mkl =2023 # [x86_64]
5555
- mkl-devel =2023 # [x86_64]
5656
- cuda-toolkit {{ cudatoolkit }}
5757
host:
5858
- _openmp_mutex =4.5=2_kmp_llvm # [x86_64]
5959
- mkl =2023 # [x86_64]
60-
- openblas # [not x86_64]
60+
- openblas =0.3 # [not x86_64]
6161
- libcuvs =24.08
6262
- cuda-version {{ cudatoolkit }}
6363
run:
6464
- _openmp_mutex =4.5=2_kmp_llvm # [x86_64]
6565
- mkl =2023 # [x86_64]
66-
- openblas # [not x86_64]
66+
- openblas =0.3 # [not x86_64]
6767
- cuda-cudart {{ cuda_constraints }}
6868
- libcublas {{ libcublas_constraints }}
6969
- libcuvs =24.08
@@ -88,9 +88,9 @@ outputs:
8888
build:
8989
- {{ compiler('cxx') }}
9090
- sysroot_linux-64 =2.17 # [linux64]
91-
- swig
91+
- swig =4.0
9292
- cmake >=3.24.0
93-
- make # [not win]
93+
- make =4.2 # [not win]
9494
- _openmp_mutex =4.5=2_kmp_llvm # [x86_64]
9595
- mkl =2023 # [x86_64]
9696
- cuda-toolkit {{ cudatoolkit }}
@@ -107,9 +107,9 @@ outputs:
107107
- {{ pin_subpackage('libfaiss', exact=True) }}
108108
test:
109109
requires:
110-
- numpy
110+
- numpy >=1.19,<2
111111
- scipy
112-
- pytorch
112+
- pytorch <2.5
113113
- pytorch-cuda {{ cuda_constraints }}
114114
commands:
115115
- python -X faulthandler -m unittest discover -v -s tests/ -p "test_*"

conda/faiss-gpu/meta.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ outputs:
4747
requirements:
4848
build:
4949
- {{ compiler('cxx') }}
50-
- sysroot_linux-64 # [linux64]
50+
- sysroot_linux-64 =2.17 # [linux64]
5151
- llvm-openmp # [osx]
5252
- cmake >=3.24.0
53-
- make # [not win]
53+
- make =4.2 # [not win]
5454
- mkl-devel =2023 # [x86_64]
5555
- cuda-toolkit {{ cudatoolkit }}
5656
host:
5757
- mkl =2023 # [x86_64]
58-
- openblas # [not x86_64]
58+
- openblas =0.3 # [not x86_64]
5959
run:
6060
- mkl =2023 # [x86_64]
61-
- openblas # [not x86_64]
61+
- openblas =0.3 # [not x86_64]
6262
- cuda-cudart {{ cuda_constraints }}
6363
- libcublas {{ libcublas_constraints }}
6464
test:
@@ -81,9 +81,9 @@ outputs:
8181
build:
8282
- {{ compiler('cxx') }}
8383
- sysroot_linux-64 =2.17 # [linux64]
84-
- swig
84+
- swig =4.0
8585
- cmake >=3.24.0
86-
- make # [not win]
86+
- make =4.2 # [not win]
8787
- cuda-toolkit {{ cudatoolkit }}
8888
host:
8989
- python {{ python }}
@@ -96,9 +96,9 @@ outputs:
9696
- {{ pin_subpackage('libfaiss', exact=True) }}
9797
test:
9898
requires:
99-
- numpy
99+
- numpy >=1.19,<2
100100
- scipy
101-
- pytorch
101+
- pytorch <2.5
102102
- pytorch-cuda {{ cuda_constraints }}
103103
commands:
104104
- python -X faulthandler -m unittest discover -v -s tests/ -p "test_*"

conda/faiss/meta.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ outputs:
3737
requirements:
3838
build:
3939
- {{ compiler('cxx') }}
40-
- sysroot_linux-64 # [linux64]
40+
- sysroot_linux-64 =2.17 # [linux64]
4141
- llvm-openmp # [osx]
4242
- cmake >=3.24.0
43-
- make # [not win]
43+
- make =4.2 # [not win]
4444
- mkl-devel =2023 # [x86_64]
4545
host:
4646
- mkl =2023 # [x86_64]
47-
- openblas # [not x86_64]
47+
- openblas =0.3 # [not x86_64]
4848
run:
4949
- mkl =2023 # [x86_64]
50-
- openblas # [not x86_64]
50+
- openblas =0.3 # [not x86_64]
5151
test:
5252
requires:
5353
- conda-build
@@ -68,9 +68,9 @@ outputs:
6868
build:
6969
- {{ compiler('cxx') }}
7070
- sysroot_linux-64 =2.17 # [linux64]
71-
- swig
71+
- swig =4.0
7272
- cmake >=3.24.0
73-
- make # [not win]
73+
- make =4.2 # [not win]
7474
host:
7575
- python {{ python }}
7676
- numpy >=1.19,<2
@@ -82,9 +82,9 @@ outputs:
8282
- {{ pin_subpackage('libfaiss', exact=True) }}
8383
test:
8484
requires:
85-
- numpy
85+
- numpy >=1.19,<2
8686
- scipy
87-
- pytorch
87+
- pytorch <2.5
8888
commands:
8989
- python -X faulthandler -m unittest discover -v -s tests/ -p "test_*"
9090
- python -X faulthandler -m unittest discover -v -s tests/ -p "torch_*"

0 commit comments

Comments
 (0)