-
Notifications
You must be signed in to change notification settings - Fork 184
feat(libcuvs): port libcuvs to rattler-build #751
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
Changes from 34 commits
1986c44
821af31
92524e4
64e54f6
dd1cf19
e0220b5
9a14480
622b3b7
20aeba6
c0c69fd
cc42cbb
1e6e721
a3a994b
fb62054
060860c
b597650
50e81ce
1e2bf00
5896758
e105ec7
0b030ea
4712a0b
5d123d9
0164827
19e5c65
0724d95
9bfa4f9
17aa2c0
f68704e
2eb7ddd
77947cb
71be315
4ed9709
17085c8
6933581
6ec34e6
c84e471
0c84f88
5d8c652
08373fd
2e230c7
6ef134e
851825f
21caaee
95897cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| # Copyright (c) 2025, NVIDIA CORPORATION. | ||
| schema_version: 1 | ||
|
|
||
| context: | ||
| version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} | ||
| date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' | ||
| py_version: ${{ env.get("RAPIDS_PY_VERSION") }} | ||
| py_buildstring: ${{ py_version | version_to_buildstring }} | ||
| head_rev: ${{ git.head_rev(".")[:8] }} | ||
| linux64: ${{ linux and x86_64 }} | ||
|
|
||
| package: | ||
| name: cuvs-bench-cpu | ||
| version: ${{ version }} | ||
|
|
||
| source: | ||
| path: ../../.. | ||
|
|
||
| build: | ||
| string: py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} | ||
| script: | ||
| content: | | ||
|
|
||
| # Remove `-fdebug-prefix-map` line from CFLAGS and CXXFLAGS so the | ||
| # incrementing version number in the compile line doesn't break the | ||
| # cache | ||
| set -x | ||
| export CFLAGS=$(echo $CFLAGS | sed -E 's@\-fdebug\-prefix\-map[^ ]*@@g') | ||
| export CXXFLAGS=$(echo $CXXFLAGS | sed -E 's@\-fdebug\-prefix\-map[^ ]*@@g') | ||
| set +x | ||
|
Comment on lines
+24
to
+30
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion: rapidsai/rapids-cmake#798 (comment) |
||
|
|
||
| ./build.sh bench-ann --cpu-only --no-nvtx --build-metrics=bench_ann_cpu --incl-cache-stats | ||
| cmake --install cpp/build --component ann_bench | ||
|
|
||
| secrets: | ||
| - AWS_ACCESS_KEY_ID | ||
| - AWS_SECRET_ACCESS_KEY | ||
| - AWS_SESSION_TOKEN | ||
| env: | ||
| CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} | ||
| CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} | ||
| CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} | ||
| PARALLEL_LEVEL: ${{ env.get("PARALLEL_LEVEL") }} | ||
| RAPIDS_ARTIFACTS_DIR: ${{ env.get("RAPIDS_ARTIFACTS_DIR") }} | ||
| SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} | ||
| SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} | ||
| SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} | ||
| SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} | ||
| SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} | ||
| SCCACHE_S3_KEY_PREFIX: libcuvs-${{ env.get("RAPIDS_CONDA_ARCH") }} | ||
|
|
||
| requirements: | ||
| build: | ||
| - ${{ compiler("c") }} | ||
| - ${{ compiler("cxx") }} | ||
| - cmake ${{ cmake_version }} | ||
| - ninja | ||
| - ${{ stdlib("c") }} | ||
| host: | ||
| - benchmark | ||
| - glog ${{ glog_version }} | ||
| - nlohmann_json ${{ nlohmann_json_version }} | ||
| - openblas | ||
| - pip | ||
| - python =${{ py_version }} | ||
| - rapids-build-backend>=0.3.0,<0.4.0.dev0 | ||
| - if: linux64 | ||
| then: | ||
| - libaio | ||
| - libboost-devel=1.87 | ||
| - mkl-devel=2023 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For follow-up: Why is this pinned to mkl 2023? The latest is 2025.0.1. https://anaconda.org/conda-forge/mkl/files |
||
| run: | ||
| - benchmark | ||
| - click | ||
| - glog ${{ glog_version }} | ||
| - h5py ${{ h5py_version }} | ||
| - matplotlib-base | ||
| - numpy >=1.23,<3.0a0 | ||
| - pandas | ||
| - pyyaml | ||
| - python | ||
| - requests | ||
| - scikit-learn>=1.5 | ||
| - if: linux64 | ||
| then: | ||
| - mkl =2023 | ||
|
|
||
| tests: | ||
| - python: | ||
| imports: | ||
| - cuvs_bench | ||
| - cuvs_bench.generate_groundtruth | ||
| - cuvs_bench.get_dataset | ||
| - cuvs_bench.plot | ||
| - cuvs_bench.run | ||
| - cuvs_bench.split_groundtruth | ||
| pip_check: false | ||
|
|
||
| about: | ||
| homepage: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.urls.Homepage }} | ||
| license: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.license.text }} | ||
| summary: cuVS CPU benchmark | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.