Skip to content

CMake check for FAISS use in benchmarks#1591

Merged
rapids-bot[bot] merged 4 commits intorapidsai:mainfrom
irina-resh-nvda:bugfix/1590-inconsistent-faiss-use-in-benchmarks
Nov 26, 2025
Merged

CMake check for FAISS use in benchmarks#1591
rapids-bot[bot] merged 4 commits intorapidsai:mainfrom
irina-resh-nvda:bugfix/1590-inconsistent-faiss-use-in-benchmarks

Conversation

@irina-resh-nvda
Copy link
Copy Markdown
Contributor

@irina-resh-nvda irina-resh-nvda commented Nov 25, 2025

CUVS_ANN_BENCH_USE_FAISS is now set to OFF if all relevant flags are set OFF.

The status is reported in the cmake log:
-- Finding or building hnswlib
-- Checking for FAISS use in benchmarks...
-- CUVS_ANN_BENCH_USE_FAISS is OFF

closes #1590.

…H_USE_FAISS is now set to OFF if all relevant flags are set OFF.

The status is reported in the cmake log:
-- Finding or building hnswlib
-- Checking for FAISS use in benchmarks...
-- CUVS_ANN_BENCH_USE_FAISS is OFF

Closes rapidsai#1590.
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Nov 25, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@irina-resh-nvda irina-resh-nvda self-assigned this Nov 25, 2025
@irina-resh-nvda irina-resh-nvda added bug Something isn't working non-breaking Introduces a non-breaking change labels Nov 25, 2025
Copy link
Copy Markdown
Contributor

@tfeher tfeher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Irina for the PR, it is great to have a fix for this issue! Here are my comments:

Comment thread cpp/bench/ann/CMakeLists.txt Outdated
Comment thread cpp/bench/ann/CMakeLists.txt Outdated
Copy link
Copy Markdown
Contributor

@tfeher tfeher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Irina for the updates. The PR looks good to me.

@tfeher
Copy link
Copy Markdown
Contributor

tfeher commented Nov 25, 2025

/ok to test 864012f

@tfeher tfeher changed the title [REVIEW] Adds a more sensible check for FAISS use in benchmarks. CMake check for FAISS use in benchmarks Nov 25, 2025
@tfeher
Copy link
Copy Markdown
Contributor

tfeher commented Nov 25, 2025

/ok to test a3951ab

@tfeher
Copy link
Copy Markdown
Contributor

tfeher commented Nov 26, 2025

/ok to test cb964bd

@tfeher
Copy link
Copy Markdown
Contributor

tfeher commented Nov 26, 2025

/merge

@rapids-bot rapids-bot Bot merged commit 91c51b1 into rapidsai:main Nov 26, 2025
89 checks passed
enp1s0 pushed a commit to enp1s0/cuvs that referenced this pull request Dec 6, 2025
CUVS_ANN_BENCH_USE_FAISS is now set to OFF if all relevant flags are set OFF.

The status is reported in the cmake log:
-- Finding or building hnswlib
-- Checking for FAISS use in benchmarks...
-- CUVS_ANN_BENCH_USE_FAISS is OFF

closes rapidsai#1590.

Authors:
  - https://github.com/irina-resh-nvda

Approvers:
  - Tamas Bela Feher (https://github.com/tfeher)

URL: rapidsai#1591
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] CUVS_ANN_BENCH_USE_FAISS stays on even if all relevant build flags are set off

2 participants