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

[FEA] CPU-only package and environments for ANN-benchmarks #1735

Closed
cjnolet opened this issue Aug 11, 2023 · 3 comments
Closed

[FEA] CPU-only package and environments for ANN-benchmarks #1735

cjnolet opened this issue Aug 11, 2023 · 3 comments
Assignees
Labels
feature request New feature or request Vector Search

Comments

@cjnolet
Copy link
Member

cjnolet commented Aug 11, 2023

We're running into this while trying to test the CPU-only algorithm(s) on hardware that don't contain GPUs. The current libraft-ann-bench package brings in cudatoolkit and the actual underlying C++ benchmark implementation is making calls to cuda runtime. In order for us to make fair comparisons with our reproducible benchmarks, we need to be able to support running hnswlib benchmark in a CPU-only mode.

@achirkin
Copy link
Contributor

Just a note that #1661 already does not require CUDA to run hnswlib at runtime and the change to make it compile without CUDA would be trivial as well.

@achirkin
Copy link
Contributor

Update: I went ahead and added the last bits to make hnswlib benchmarks compile and run without CUDA
(though ATM some changes to the main cpp/CMakeLists.txt required for this, which I didn't do).

@cjnolet
Copy link
Member Author

cjnolet commented Sep 10, 2023

Closed by #1773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request Vector Search
Projects
Development

No branches or pull requests

3 participants