Skip to content

Commit 7856053

Browse files
Michael Norrisfacebook-github-bot
Michael Norris
authored andcommitted
Fix cuVS 12.4.0 nightly failure (facebookresearch#4153)
Summary: Pull Request resolved: facebookresearch#4153 The nightly failed again, but this time it was 12.4.0. The last diff fixed 11.8.0: D68781021 When I checked the last passing nightly, the 12.4.0 CUDA used 12.4.0 cuda-rt. So the solution is to keep cudart 12.6 for cuda 11.8.0, and cudart 12.4 for cuda 12.4.0 Reviewed By: junjieqi Differential Revision: D68837631 fbshipit-source-id: 5aeccd117e1de574f77e29c8c1ede1e83e0e396f
1 parent 1334d16 commit 7856053

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

conda/faiss-gpu-cuvs/meta.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
{% if cudatoolkit == '11.8.0' %}
1010
{% set cuda_constraints=">=11.4,<12" %}
1111
{% set libcublas_constraints=">=11.6,<12" %}
12+
{% set cudart_constraints="=12.6.77" %}
1213
{% elif cudatoolkit == '12.4.0' %}
1314
{% set cuda_constraints=">=12.1,<12.5" %}
1415
{% set libcublas_constraints=">=12.1,<13" %}
16+
{% set cudart_constraints=">=12.4,<12.5" %}
1517
{% endif %}
1618

1719
package:
@@ -54,12 +56,12 @@ outputs:
5456
- mkl =2023 # [x86_64]
5557
- mkl-devel =2023 # [x86_64]
5658
- cuda-toolkit {{ cudatoolkit }}
57-
- cuda-cudart =12.6.77
58-
- cuda-cudart-dev =12.6.77
59-
- cuda-cudart-static =12.6.77
60-
- cuda-cudart_linux-64 =12.6.77 # [linux64]
61-
- cuda-cudart-dev_linux-64 =12.6.77 # [linux64]
62-
- cuda-cudart-static_linux-64 =12.6.77 # [linux64]
59+
- cuda-cudart {{ cudart_constraints }}
60+
- cuda-cudart-dev {{ cudart_constraints }}
61+
- cuda-cudart-static {{ cudart_constraints }}
62+
- cuda-cudart_linux-64 {{ cudart_constraints }} # [linux64]
63+
- cuda-cudart-dev_linux-64 {{ cudart_constraints }} # [linux64]
64+
- cuda-cudart-static_linux-64 {{ cudart_constraints }} # [linux64]
6365
host:
6466
- _openmp_mutex =4.5=2_kmp_llvm # [x86_64]
6567
- mkl =2023 # [x86_64]

0 commit comments

Comments
 (0)