Skip to content

Commit 60b19a0

Browse files
committed
REL v26.04.00 release
1 parent b7e620b commit 60b19a0

21 files changed

Lines changed: 246 additions & 246 deletions

.pre-commit-config.yaml

Lines changed: 181 additions & 181 deletions
Original file line numberDiff line numberDiff line change
@@ -2,185 +2,185 @@
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: 'v1.19.1'
29-
hooks:
30-
- id: mypy
31-
additional_dependencies: [types-cachetools]
32-
args: ["--config-file=pyproject.toml",
33-
"python/cuvs/cuvs",
34-
"cpp/cmake/modules",
35-
"cpp/tests/python"]
36-
pass_filenames: false
37-
- repo: https://github.com/PyCQA/pydocstyle
38-
rev: 6.1.1
39-
hooks:
40-
- id: pydocstyle
41-
# https://github.com/PyCQA/pydocstyle/issues/603
42-
additional_dependencies: [toml]
43-
args: ["--config=pyproject.toml"]
44-
- repo: https://github.com/pre-commit/mirrors-clang-format
45-
rev: v20.1.4
46-
hooks:
47-
- id: clang-format
48-
types_or: [c, c++, cuda]
49-
args: ["-fallback-style=none", "-style=file", "-i"]
50-
- repo: local
51-
hooks:
52-
- id: no-deprecationwarning
53-
name: no-deprecationwarning
54-
description: 'Enforce that DeprecationWarning is not introduced (use FutureWarning instead)'
55-
entry: '(category=|\s)DeprecationWarning[,)]'
56-
language: pygrep
57-
types_or: [python, cython]
58-
- id: cmake-format
59-
name: cmake-format
60-
entry: ./cpp/scripts/run-cmake-format.sh cmake-format
61-
language: python
62-
types: [cmake]
63-
exclude: .*/thirdparty/.*|.*FindAVX.cmake.*
64-
# Note that pre-commit autoupdate does not update the versions
65-
# of dependencies, so we'll have to update this manually.
66-
additional_dependencies:
67-
- cmakelang==0.6.13
68-
verbose: true
69-
require_serial: true
70-
- id: cmake-lint
71-
name: cmake-lint
72-
entry: ./cpp/scripts/run-cmake-format.sh cmake-lint
73-
language: python
74-
types: [cmake]
75-
# Note that pre-commit autoupdate does not update the versions
76-
# of dependencies, so we'll have to update this manually.
77-
additional_dependencies:
78-
- cmakelang==0.6.13
79-
verbose: true
80-
require_serial: true
81-
exclude: .*/thirdparty/.*
82-
- id: include-check
83-
name: include-check
84-
entry: python ./cpp/scripts/include_checker.py cpp/bench cpp/include cpp/tests
85-
pass_filenames: false
86-
language: python
87-
additional_dependencies: [gitpython]
88-
- id: cargo-fmt
89-
name: cargo-fmt
90-
entry: cargo fmt --manifest-path rust/Cargo.toml --all
91-
pass_filenames: false
92-
files: rust/.*
93-
language: rust
94-
- repo: https://github.com/codespell-project/codespell
95-
rev: v2.2.2
96-
hooks:
97-
- id: codespell
98-
additional_dependencies: [tomli]
99-
args: ["--toml", "pyproject.toml"]
100-
exclude: |
101-
(?x)
102-
^CHANGELOG[.]md$|
103-
^cpp/cmake/patches/cutlass/build-export[.]patch$
104-
- repo: https://github.com/rapidsai/pre-commit-hooks
105-
rev: v1.3.3
106-
hooks:
107-
- id: verify-copyright
108-
name: verify-copyright-cuvs
109-
args: [--fix, --spdx]
110-
files: |
111-
(?x)
112-
[.](cmake|c|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx|rs|java)$|
113-
CMakeLists[.]txt$|
114-
CMakeLists_standalone[.]txt$|
115-
meta[.]yaml$|
116-
pyproject[.]toml$|
117-
^python/cuvs_bench/cuvs_bench/split_groundtruth/split_groundtruth[.]pl$|
118-
Dockerfile$|
119-
pom[.]xml$|
120-
^java/cuvs-java/src/assembly/native-with-deps[.]xml$|
121-
^java/docker-build/build-in-docker$|
122-
^java/docker-build/run-in-docker$|
123-
^[.]flake8$|
124-
recipe[.]yaml$|
125-
^[.]pre-commit-config[.]yaml$
126-
exclude: |
127-
(?x)^(
128-
docs/source/sphinxext/github_link[.]py$|
129-
cpp/cmake/modules/FindAVX[.]cmake$|
130-
cpp/src/neighbors/detail/faiss_distance_utils[.]h$|
131-
cpp/src/distance/detail/fused_distance_nn/gemm[.]h$|
132-
cpp/src/distance/detail/fused_distance_nn/epilogue[.]cuh$|
133-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_normvec_smem[.]h$|
134-
cpp/src/distance/detail/fused_distance_nn/persistent_gemm[.]h$|
135-
cpp/src/distance/detail/fused_distance_nn/epilogue_elementwise[.]cuh$|
136-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_reduced_vec[.]h$|
137-
cpp/src/distance/detail/fused_distance_nn/custom_epilogue_with_broadcast[.]h$
138-
)
139-
- id: verify-copyright
140-
name: verify-copyright-scikit-learn
141-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
142-
files: |
143-
(?x)^(
144-
docs/source/sphinxext/github_link[.]py$
145-
)
146-
- id: verify-copyright
147-
name: verify-copyright-cutlass
148-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND BSD-3-Clause"]
149-
files: |
150-
(?x)^(
151-
cpp/src/distance/detail/fused_distance_nn/gemm[.]h$|
152-
cpp/src/distance/detail/fused_distance_nn/epilogue[.]cuh$|
153-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_normvec_smem[.]h$|
154-
cpp/src/distance/detail/fused_distance_nn/persistent_gemm[.]h$|
155-
cpp/src/distance/detail/fused_distance_nn/epilogue_elementwise[.]cuh$|
156-
cpp/src/distance/detail/fused_distance_nn/predicated_tile_iterator_reduced_vec[.]h$|
157-
cpp/src/distance/detail/fused_distance_nn/custom_epilogue_with_broadcast[.]h$
158-
)
159-
- id: verify-copyright
160-
name: verify-copyright-faiss
161-
args: [--fix, --spdx, "--spdx-license-identifier=Apache-2.0 AND MIT"]
162-
files: |
163-
(?x)^(
164-
cpp/src/neighbors/detail/faiss_distance_utils[.]h$
165-
)
166-
- id: verify-alpha-spec
167-
- id: verify-codeowners
168-
args: [--fix, --project-prefix=cuvs]
169-
- id: verify-pyproject-license
170-
# ignore the top-level pyproject.toml, which doesn't
171-
# have or need a [project] table
172-
exclude: |
173-
(?x)
174-
^pyproject[.]toml$
175-
- repo: https://github.com/rapidsai/dependency-file-generator
176-
rev: v1.20.0
177-
hooks:
178-
- id: rapids-dependency-file-generator
179-
args: ["--clean", "--warn-all", "--strict"]
180-
- repo: https://github.com/shellcheck-py/shellcheck-py
181-
rev: v0.10.0.1
182-
hooks:
183-
- id: shellcheck
184-
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: 'v1.19.1'
29+
hooks:
30+
- id: mypy
31+
additional_dependencies: [types-cachetools]
32+
args: ["--config-file=pyproject.toml", "python/cuvs/cuvs", "cpp/cmake/modules", "cpp/tests/python"]
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.3.3
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+
- id: verify-pyproject-license
171+
# ignore the top-level pyproject.toml, which doesn't
172+
# have or need a [project] table
173+
exclude: |
174+
(?x)
175+
^pyproject[.]toml$
176+
- repo: https://github.com/rapidsai/dependency-file-generator
177+
rev: v1.20.0
178+
hooks:
179+
- id: rapids-dependency-file-generator
180+
args: ["--clean", "--warn-all", "--strict"]
181+
- repo: https://github.com/shellcheck-py/shellcheck-py
182+
rev: v0.10.0.1
183+
hooks:
184+
- id: shellcheck
185185
default_language_version:
186-
python: python3
186+
python: python3

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ dependencies:
3232
- libcusolver-dev
3333
- libcusparse-dev
3434
- libopenblas<=0.3.30
35-
- librmm==26.4.*,>=0.0.0a0
35+
- librmm==26.4.*
3636
- make
3737
- nccl>=2.19
3838
- ninja
3939
- numpy>=1.23,<3.0
4040
- numpydoc
4141
- openblas
4242
- pre-commit
43-
- pylibraft==26.4.*,>=0.0.0a0
43+
- pylibraft==26.4.*
4444
- pytest
4545
- pytest-cov
4646
- rapids-build-backend>=0.4.0,<0.5.0

0 commit comments

Comments
 (0)