Add cuda-toolkit package dependency to faiss-gpu and faiss-gpu-raft conda build recipes (#3440)

Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/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
pull/3441/head^2
Ramil Bakhshyiev 2024-05-15 13:06:00 -07:00 committed by Facebook GitHub Bot
parent b8e4489b98
commit 2050a03090
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ outputs:
- swig - swig
- cmake >=3.24.0 - cmake >=3.24.0
- make # [not win] - make # [not win]
- cuda-toolkit {{ cudatoolkit }}
host: host:
- python {{ python }} - python {{ python }}
- numpy >=1.19,<2 - numpy >=1.19,<2

View File

@ -83,6 +83,7 @@ outputs:
- swig - swig
- cmake >=3.24.0 - cmake >=3.24.0
- make # [not win] - make # [not win]
- cuda-toolkit {{ cudatoolkit }}
host: host:
- python {{ python }} - python {{ python }}
- numpy >=1.19,<2 - numpy >=1.19,<2