Skip to content

Commit

Permalink
Add cuda-toolkit package dependency to faiss-gpu and faiss-gpu-raft c…
Browse files Browse the repository at this point in the history
…onda 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
  • Loading branch information
ramilbakhshyiev authored and facebook-github-bot committed May 15, 2024
1 parent b8e4489 commit 2050a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda/faiss-gpu-raft/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ outputs:
- swig
- cmake >=3.24.0
- make # [not win]
- cuda-toolkit {{ cudatoolkit }}
host:
- python {{ python }}
- numpy >=1.19,<2
Expand Down
1 change: 1 addition & 0 deletions conda/faiss-gpu/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ outputs:
- swig
- cmake >=3.24.0
- make # [not win]
- cuda-toolkit {{ cudatoolkit }}
host:
- python {{ python }}
- numpy >=1.19,<2
Expand Down

0 comments on commit 2050a03

Please sign in to comment.