Skip to content

Commit 60f436c

Browse files
ramilbakhshyievabhinavdangeti
authored andcommittedJul 12, 2024
Add cuda-toolkit package dependency to faiss-gpu and faiss-gpu-raft conda build recipes (facebookresearch#3440)
Summary: Pull Request resolved: facebookresearch#3440 This change is required to unblock the migration to GitHub Actions. `cuda-toolkit` was only specified in the `libfaiss` package and it was not available in `faiss-gpu` or `faiss-gpu-raft`. This currently works on CircleCI because the runner image has CUDA toolkit of the needed version installed on the system and the build logic falls back to that but breaks on GitHub Actions because their runner images do not come with CUDA toolkit pre-installed. Reviewed By: junjieqi Differential Revision: D57371597 fbshipit-source-id: 8bededd53e2528f033fac797b296d74b47f9403e
1 parent adea553 commit 60f436c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎conda/faiss-gpu-raft/meta.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ outputs:
8787
- swig
8888
- cmake >=3.24.0
8989
- make # [not win]
90+
- cuda-toolkit {{ cudatoolkit }}
9091
host:
9192
- python {{ python }}
9293
- numpy >=1.19,<2

‎conda/faiss-gpu/meta.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ outputs:
8383
- swig
8484
- cmake >=3.24.0
8585
- make # [not win]
86+
- cuda-toolkit {{ cudatoolkit }}
8687
host:
8788
- python {{ python }}
8889
- numpy >=1.19,<2

0 commit comments

Comments
 (0)