Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GPU support to static linking #70

Merged
merged 5 commits into from
Aug 26, 2023
Merged

Add GPU support to static linking #70

merged 5 commits into from
Aug 26, 2023

Conversation

Enet4
Copy link
Owner

@Enet4 Enet4 commented Aug 26, 2023

  • Update faiss submodule revision to latest c_api_head
  • Tweak gen_bindings.sh
  • Update build.rs to effectively support both features "static" and "gpu"
  • Update README.md

@Enet4 Enet4 added the enhancement New feature or request label Aug 26, 2023
- retroactively cherry-pick facebookresearch/faiss#2656,
  adds support for CUDA 12
- update shebang
- add documentation
- remove clean-up of `faiss` folder
- set FAISS_ENABLE_GPU based on "gpu" feature
- try to find CUDA path from env variables
- include the necessary libraries if "gpu" feature is enabled
@Enet4 Enet4 merged commit ea0bc97 into master Aug 26, 2023
4 checks passed
@Enet4 Enet4 deleted the static-gpu branch August 26, 2023 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant