Skip to content

Commit fc27938

Browse files
committed
REL v25.12.00 release
1 parent 0f9904e commit fc27938

21 files changed

+240
-238
lines changed

.pre-commit-config.yaml

Lines changed: 175 additions & 173 deletions
Original file line numberDiff line numberDiff line change
@@ -2,177 +2,179 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
repos:
5-
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
7-
hooks:
8-
- id: check-json
9-
- id: trailing-whitespace
10-
- id: end-of-file-fixer
11-
- id: check-symlinks
12-
- repo: https://github.com/PyCQA/isort
13-
rev: 5.12.0
14-
hooks:
15-
- id: isort
16-
# Use the config file specific to each subproject so that each
17-
# project can specify its own first/third-party packages.
18-
args: ["--config-root=python/", "--resolve-all-configs"]
19-
files: python/.*
20-
types: [cython]
21-
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.14.3
23-
hooks:
24-
- id: ruff-check
25-
args: [--fix]
26-
- id: ruff-format
27-
- repo: https://github.com/pre-commit/mirrors-mypy
28-
rev: 'v0.971'
29-
hooks:
30-
- id: mypy
31-
additional_dependencies: [types-cachetools]
32-
args: ["--config-file=pyproject.toml",
33-
"python/cuvs/cuvs"]
34-
pass_filenames: false
35-
- repo: https://github.com/PyCQA/pydocstyle
36-
rev: 6.1.1
37-
hooks:
38-
- id: pydocstyle
39-
# https://github.com/PyCQA/pydocstyle/issues/603
40-
additional_dependencies: [toml]
41-
args: ["--config=pyproject.toml"]
42-
- repo: https://github.com/pre-commit/mirrors-clang-format
43-
rev: v20.1.4
44-
hooks:
45-
- id: clang-format
46-
types_or: [c, c++, cuda]
47-
args: ["-fallback-style=none", "-style=file", "-i"]
48-
- repo: local
49-
hooks:
50-
- id: no-deprecationwarning
51-
name: no-deprecationwarning
52-
description: 'Enforce that DeprecationWarning is not introduced (use FutureWarning instead)'
53-
entry: '(category=|\s)DeprecationWarning[,)]'
54-
language: pygrep
55-
types_or: [python, cython]
56-
- id: cmake-format
57-
name: cmake-format
58-
entry: ./cpp/scripts/run-cmake-format.sh cmake-format
59-
language: python
60-
types: [cmake]
61-
exclude: .*/thirdparty/.*|.*FindAVX.cmake.*
62-
# Note that pre-commit autoupdate does not update the versions
63-
# of dependencies, so we'll have to update this manually.
64-
additional_dependencies:
65-
- cmakelang==0.6.13
66-
verbose: true
67-
require_serial: true
68-
- id: cmake-lint
69-
name: cmake-lint
70-
entry: ./cpp/scripts/run-cmake-format.sh cmake-lint
71-
language: python
72-
types: [cmake]
73-
# Note that pre-commit autoupdate does not update the versions
74-
# of dependencies, so we'll have to update this manually.
75-
additional_dependencies:
76-
- cmakelang==0.6.13
77-
verbose: true
78-
require_serial: true
79-
exclude: .*/thirdparty/.*
80-
- id: include-check
81-
name: include-check
82-
entry: python ./cpp/scripts/include_checker.py cpp/bench cpp/include cpp/tests
83-
pass_filenames: false
84-
language: python
85-
additional_dependencies: [gitpython]
86-
- id: cargo-fmt
87-
name: cargo-fmt
88-
entry: cargo fmt --manifest-path rust/Cargo.toml --all
89-
pass_filenames: false
90-
files: rust/.*
91-
language: rust
92-
- repo: https://github.com/codespell-project/codespell
93-
rev: v2.2.2
94-
hooks:
95-
- id: codespell
96-
additional_dependencies: [tomli]
97-
args: ["--toml", "pyproject.toml"]
98-
exclude: |
99-
(?x)
100-
^CHANGELOG[.]md$|
101-
^cpp/cmake/patches/cutlass/build-export[.]patch$
102-
- repo: https://github.com/rapidsai/pre-commit-hooks
103-
rev: v1.2.1
104-
hooks:
105-
- id: verify-copyright
106-
name: verify-copyright-cuvs
107-
args: [--fix, --spdx]
108-
files: |
109-
(?x)
110-
[.](cmake|c|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|rs|java)$|
111-
CMakeLists[.]txt$|
112-
CMakeLists_standalone[.]txt$|
113-
meta[.]yaml$|
114-
pyproject[.]toml$|
115-
^python/cuvs_bench/cuvs_bench/split_groundtruth/split_groundtruth[.]pl$|
116-
Dockerfile$|
117-
pom[.]xml$|
118-
^java/cuvs-java/src/assembly/native-with-deps[.]xml$|
119-
^java/docker-build/build-in-docker$|
120-
^java/docker-build/run-in-docker$|
121-
^[.]flake8$|
122-
recipe[.]yaml$|
123-
^[.]pre-commit-config[.]yaml$
124-
exclude: |
125-
(?x)^(
126-
docs/source/sphinxext/github_link[.]py$|
127-
cpp/cmake/modules/FindAVX[.]cmake$|
128-
cpp/src/neighbors/detail/faiss_distance_utils[.]h$|
129-
cpp/src/distance/detail/fused_distance_nn/gemm[.]h$|
130-
cpp/src/distance/detail/fused_distance_nn/epilogue[.]cuh$|
131-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_normvec_smem[.]h$|
132-
cpp/src/distance/detail/fused_distance_nn/persistent_gemm[.]h$|
133-
cpp/src/distance/detail/fused_distance_nn/epilogue_elementwise[.]cuh$|
134-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_reduced_vec[.]h$|
135-
cpp/src/distance/detail/fused_distance_nn/custom_epilogue_with_broadcast[.]h$
136-
)
137-
- id: verify-copyright
138-
name: verify-copyright-scikit-learn
139-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
140-
files: |
141-
(?x)^(
142-
docs/source/sphinxext/github_link[.]py$
143-
)
144-
- id: verify-copyright
145-
name: verify-copyright-cutlass
146-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
147-
files: |
148-
(?x)^(
149-
cpp/src/distance/detail/fused_distance_nn/gemm[.]h$|
150-
cpp/src/distance/detail/fused_distance_nn/epilogue[.]cuh$|
151-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_normvec_smem[.]h$|
152-
cpp/src/distance/detail/fused_distance_nn/persistent_gemm[.]h$|
153-
cpp/src/distance/detail/fused_distance_nn/epilogue_elementwise[.]cuh$|
154-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_reduced_vec[.]h$|
155-
cpp/src/distance/detail/fused_distance_nn/custom_epilogue_with_broadcast[.]h$
156-
)
157-
- id: verify-copyright
158-
name: verify-copyright-faiss
159-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
160-
files: |
161-
(?x)^(
162-
cpp/src/neighbors/detail/faiss_distance_utils[.]h$
163-
)
164-
- id: verify-alpha-spec
165-
- id: verify-codeowners
166-
args: [--fix, --project-prefix=cuvs]
167-
- repo: https://github.com/rapidsai/dependency-file-generator
168-
rev: v1.20.0
169-
hooks:
170-
- id: rapids-dependency-file-generator
171-
args: ["--clean", "--warn-all", "--strict"]
172-
- repo: https://github.com/shellcheck-py/shellcheck-py
173-
rev: v0.10.0.1
174-
hooks:
175-
- id: shellcheck
176-
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v5.0.0
7+
hooks:
8+
- id: check-json
9+
- id: trailing-whitespace
10+
- id: end-of-file-fixer
11+
- id: check-symlinks
12+
- repo: https://github.com/PyCQA/isort
13+
rev: 5.12.0
14+
hooks:
15+
- id: isort
16+
# Use the config file specific to each subproject so that each
17+
# project can specify its own first/third-party packages.
18+
args: ["--config-root=python/", "--resolve-all-configs"]
19+
files: python/.*
20+
types: [cython]
21+
- repo: https://github.com/astral-sh/ruff-pre-commit
22+
rev: v0.14.3
23+
hooks:
24+
- id: ruff-check
25+
args: [--fix]
26+
- id: ruff-format
27+
- repo: https://github.com/pre-commit/mirrors-mypy
28+
rev: 'v0.971'
29+
hooks:
30+
- id: mypy
31+
additional_dependencies: [types-cachetools]
32+
args: ["--config-file=pyproject.toml", "python/cuvs/cuvs"]
33+
pass_filenames: false
34+
- repo: https://github.com/PyCQA/pydocstyle
35+
rev: 6.1.1
36+
hooks:
37+
- id: pydocstyle
38+
# https://github.com/PyCQA/pydocstyle/issues/603
39+
additional_dependencies: [toml]
40+
args: ["--config=pyproject.toml"]
41+
- repo: https://github.com/pre-commit/mirrors-clang-format
42+
rev: v20.1.4
43+
hooks:
44+
- id: clang-format
45+
types_or: [c, c++, cuda]
46+
args: ["-fallback-style=none", "-style=file", "-i"]
47+
- repo: local
48+
hooks:
49+
- id: no-deprecationwarning
50+
name: no-deprecationwarning
51+
description: 'Enforce that DeprecationWarning is not introduced (use FutureWarning instead)'
52+
entry: '(category=|\s)DeprecationWarning[,)]'
53+
language: pygrep
54+
types_or: [python, cython]
55+
- id: cmake-format
56+
name: cmake-format
57+
entry: ./cpp/scripts/run-cmake-format.sh cmake-format
58+
language: python
59+
types: [cmake]
60+
exclude: .*/thirdparty/.*|.*FindAVX.cmake.*
61+
# Note that pre-commit autoupdate does not update the versions
62+
# of dependencies, so we'll have to update this manually.
63+
additional_dependencies:
64+
- cmakelang==0.6.13
65+
verbose: true
66+
require_serial: true
67+
- id: cmake-lint
68+
name: cmake-lint
69+
entry: ./cpp/scripts/run-cmake-format.sh cmake-lint
70+
language: python
71+
types: [cmake]
72+
# Note that pre-commit autoupdate does not update the versions
73+
# of dependencies, so we'll have to update this manually.
74+
additional_dependencies:
75+
- cmakelang==0.6.13
76+
verbose: true
77+
require_serial: true
78+
exclude: .*/thirdparty/.*
79+
- id: include-check
80+
name: include-check
81+
entry: python ./cpp/scripts/include_checker.py cpp/bench cpp/include cpp/tests
82+
pass_filenames: false
83+
language: python
84+
additional_dependencies: [gitpython]
85+
- id: cargo-fmt
86+
name: cargo-fmt
87+
entry: cargo fmt --manifest-path rust/Cargo.toml --all
88+
pass_filenames: false
89+
files: rust/.*
90+
language: rust
91+
- repo: https://github.com/codespell-project/codespell
92+
rev: v2.2.2
93+
hooks:
94+
- id: codespell
95+
additional_dependencies: [tomli]
96+
args: ["--toml", "pyproject.toml"]
97+
exclude: |
98+
(?x)
99+
^CHANGELOG[.]md$|
100+
^cpp/cmake/patches/cutlass/build-export[.]patch$
101+
- repo: https://github.com/rapidsai/pre-commit-hooks
102+
rev: v1.2.1
103+
hooks:
104+
- id: verify-copyright
105+
name: verify-copyright-cuvs
106+
args: [--fix, --spdx]
107+
files: |
108+
(?x)
109+
[.](cmake|c|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|rs|java)$|
110+
CMakeLists[.]txt$|
111+
CMakeLists_standalone[.]txt$|
112+
meta[.]yaml$|
113+
pyproject[.]toml$|
114+
^python/cuvs_bench/cuvs_bench/split_groundtruth/split_groundtruth[.]pl$|
115+
Dockerfile$|
116+
pom[.]xml$|
117+
^java/cuvs-java/src/assembly/native-with-deps[.]xml$|
118+
^java/docker-build/build-in-docker$|
119+
^java/docker-build/run-in-docker$|
120+
^[.]flake8$|
121+
recipe[.]yaml$|
122+
^[.]pre-commit-config[.]yaml$
123+
exclude: |
124+
(?x)^(
125+
docs/source/sphinxext/github_link[.]py$|
126+
cpp/cmake/modules/FindAVX[.]cmake$|
127+
cpp/src/neighbors/detail/faiss_distance_utils[.]h$|
128+
cpp/src/distance/detail/fused_distance_nn/gemm[.]h$|
129+
cpp/src/distance/detail/fused_distance_nn/epilogue[.]cuh$|
130+
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_normvec_smem[.]h$|
131+
cpp/src/distance/detail/fused_distance_nn/persistent_gemm[.]h$|
132+
cpp/src/distance/detail/fused_distance_nn/epilogue_elementwise[.]cuh$|
133+
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_reduced_vec[.]h$|
134+
cpp/src/distance/detail/fused_distance_nn/custom_epilogue_with_broadcast[.]h$
135+
)
136+
- id: verify-copyright
137+
name: verify-copyright-scikit-learn
138+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
139+
files: |
140+
(?x)^(
141+
docs/source/sphinxext/github_link[.]py$
142+
)
143+
- id: verify-copyright
144+
name: verify-copyright-cutlass
145+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
146+
files: |
147+
(?x)^(
148+
cpp/src/distance/detail/fused_distance_nn/gemm[.]h$|
149+
cpp/src/distance/detail/fused_distance_nn/epilogue[.]cuh$|
150+
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_normvec_smem[.]h$|
151+
cpp/src/distance/detail/fused_distance_nn/persistent_gemm[.]h$|
152+
cpp/src/distance/detail/fused_distance_nn/epilogue_elementwise[.]cuh$|
153+
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_reduced_vec[.]h$|
154+
cpp/src/distance/detail/fused_distance_nn/custom_epilogue_with_broadcast[.]h$
155+
)
156+
- id: verify-copyright
157+
name: verify-copyright-faiss
158+
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
159+
files: |
160+
(?x)^(
161+
cpp/src/neighbors/detail/faiss_distance_utils[.]h$
162+
)
163+
- id: verify-alpha-spec
164+
args:
165+
- --fix
166+
- --mode
167+
- release
168+
- id: verify-codeowners
169+
args: [--fix, --project-prefix=cuvs]
170+
- repo: https://github.com/rapidsai/dependency-file-generator
171+
rev: v1.20.0
172+
hooks:
173+
- id: rapids-dependency-file-generator
174+
args: ["--clean", "--warn-all", "--strict"]
175+
- repo: https://github.com/shellcheck-py/shellcheck-py
176+
rev: v0.10.0.1
177+
hooks:
178+
- id: shellcheck
177179
default_language_version:
178-
python: python3
180+
python: python3

conda/environments/all_cuda-129_arch-aarch64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ dependencies:
3131
- libcurand-dev
3232
- libcusolver-dev
3333
- libcusparse-dev
34-
- librmm==25.12.*,>=0.0.0a0
34+
- librmm==25.12.*
3535
- make
3636
- nccl>=2.19
3737
- ninja
3838
- numpy>=1.23,<3.0a0
3939
- numpydoc
4040
- openblas
4141
- pre-commit
42-
- pylibraft==25.12.*,>=0.0.0a0
42+
- pylibraft==25.12.*
4343
- pytest-cov
4444
- pytest<9.0.0a0
4545
- rapids-build-backend>=0.4.0,<0.5.0.dev0

conda/environments/all_cuda-129_arch-x86_64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ dependencies:
3131
- libcurand-dev
3232
- libcusolver-dev
3333
- libcusparse-dev
34-
- librmm==25.12.*,>=0.0.0a0
34+
- librmm==25.12.*
3535
- make
3636
- nccl>=2.19
3737
- ninja
3838
- numpy>=1.23,<3.0a0
3939
- numpydoc
4040
- openblas
4141
- pre-commit
42-
- pylibraft==25.12.*,>=0.0.0a0
42+
- pylibraft==25.12.*
4343
- pytest-cov
4444
- pytest<9.0.0a0
4545
- rapids-build-backend>=0.4.0,<0.5.0.dev0

0 commit comments

Comments
 (0)