Skip to content

Add libaio to cuvs-bench-cpu, improve bench dependencies#1480

Merged
rapids-bot[bot] merged 7 commits intorapidsai:mainfrom
tarang-jain:cuvs-bench-cpu
Nov 7, 2025
Merged

Add libaio to cuvs-bench-cpu, improve bench dependencies#1480
rapids-bot[bot] merged 7 commits intorapidsai:mainfrom
tarang-jain:cuvs-bench-cpu

Conversation

@tarang-jain
Copy link
Copy Markdown
Contributor

libaio is used directly at run time by the diskann_ssd benchmarking wrapper in cuvs-bench-cpu.

@tarang-jain tarang-jain requested a review from a team as a code owner October 30, 2025 21:55
@tarang-jain tarang-jain requested a review from AyodeAwe October 30, 2025 21:55
@tarang-jain tarang-jain self-assigned this Oct 30, 2025
@tarang-jain tarang-jain added bug Something isn't working non-breaking Introduces a non-breaking change labels Oct 30, 2025
Comment thread conda/recipes/cuvs-bench/recipe.yaml Outdated
- if: linux64
then: mkl =2023
then:
- libaio # Required for diskann_ssd at runtime
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is libaio also needed to build the package? Do we need an entry in host for that?

The entry in ignore_run_exports wasn't doing anything because no run exports were being added. Run exports would only be present if libaio was in host to begin with.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Its needed to build DiskANN and we are directly linking the wrapper to it here:

NAME DISKANN_MEMORY PATH src/diskann/diskann_benchmark.cpp LINKS diskann::diskann aio

Copy link
Copy Markdown
Contributor Author

@tarang-jain tarang-jain Nov 7, 2025

Choose a reason for hiding this comment

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

Looks like libaio is in host for cuvs-bench-cpu, right?

@bdice bdice requested a review from a team as a code owner November 7, 2025 19:39
Copy link
Copy Markdown
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

Discussed with @tarang-jain over a call. We found some other improvements to conda recipes:

  • We can remove all C++ dependencies in cuvs-bench recipe because it is pure Python. Those dependencies are already coming from libcuvs-bench-ann and don't need to be respecified in Python.
  • We don't need to use benchmark conda packages anywhere anymore, we always use CPM to fetch and statically link Google Benchmark here (we've already made this change elsewhere in RAPIDS)
  • Small fix to get_nlohmann_json.cmake -- the log message was for glog by mistake

@bdice bdice changed the title Add libaio to Run Set Add libaio to cuvs-bench-cpu, improve bench dependencies Nov 7, 2025
@tarang-jain
Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot rapids-bot Bot merged commit 29a569c into rapidsai:main Nov 7, 2025
84 checks passed
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.

3 participants