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: 8bededd53e2528f033fac797b296d74b47f9403epull/3441/head^2
parent
b8e4489b98
commit
2050a03090
|
@ -87,6 +87,7 @@ outputs:
|
|||
- swig
|
||||
- cmake >=3.24.0
|
||||
- make # [not win]
|
||||
- cuda-toolkit {{ cudatoolkit }}
|
||||
host:
|
||||
- python {{ python }}
|
||||
- numpy >=1.19,<2
|
||||
|
|
|
@ -83,6 +83,7 @@ outputs:
|
|||
- swig
|
||||
- cmake >=3.24.0
|
||||
- make # [not win]
|
||||
- cuda-toolkit {{ cudatoolkit }}
|
||||
host:
|
||||
- python {{ python }}
|
||||
- numpy >=1.19,<2
|
||||
|
|
Loading…
Reference in New Issue