Skip to content
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

[RELEASE] raft v23.04 #1405

Merged
merged 110 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
9963c12
DOC
raydouglass Jan 23, 2023
001ad8e
Merge pull request #1163 from rapidsai/branch-23.02
GPUtester Jan 23, 2023
4f33ddf
Merge pull request #1164 from rapidsai/branch-23.02
GPUtester Jan 23, 2023
7ca4dcb
Merge pull request #1174 from rapidsai/branch-23.02
GPUtester Jan 25, 2023
6d35222
Merge pull request #1180 from rapidsai/branch-23.02
GPUtester Jan 25, 2023
6efe8f1
Merge pull request #1183 from rapidsai/branch-23.02
GPUtester Jan 26, 2023
c94ea74
Merge pull request #1186 from rapidsai/branch-23.02
GPUtester Jan 26, 2023
427c6d3
Fix `ucx-py` version (#1184)
ajschmidt8 Jan 26, 2023
b0f99cd
Merge pull request #1193 from rapidsai/branch-23.02
GPUtester Jan 26, 2023
47ecc63
Merge pull request #1199 from rapidsai/branch-23.02
GPUtester Jan 27, 2023
43f56b6
Merge pull request #1203 from rapidsai/branch-23.02
GPUtester Jan 27, 2023
4b4377e
Merge pull request #1214 from rapidsai/branch-23.02
GPUtester Jan 31, 2023
429d0dd
Merge pull request #1216 from rapidsai/branch-23.02
GPUtester Jan 31, 2023
f40c86b
Merge pull request #1217 from rapidsai/branch-23.02
GPUtester Jan 31, 2023
6307c86
Merge pull request #1218 from rapidsai/branch-23.02
GPUtester Jan 31, 2023
af93c05
Merge pull request #1221 from rapidsai/branch-23.02
GPUtester Feb 1, 2023
40bea04
Merge pull request #1227 from rapidsai/branch-23.02
GPUtester Feb 2, 2023
d15fbe5
Merge pull request #1231 from rapidsai/branch-23.02
GPUtester Feb 2, 2023
f8d3f5b
Merge pull request #1234 from rapidsai/branch-23.02
GPUtester Feb 3, 2023
a850726
Remove uint32 distance idx specializations (#1235)
cjnolet Feb 3, 2023
88cb31d
Merge pull request #1244 from rapidsai/branch-23.02
GPUtester Feb 3, 2023
a39237c
Expose KMeans `init_plus_plus` in pylibraft (#1198)
betatim Feb 4, 2023
a426bc9
Expose raft::handle_t in the public header (#1192)
vyasr Feb 4, 2023
bc764b8
Fix for svd API (#1190)
lowener Feb 4, 2023
16746ee
Move date to build string in `conda` recipe (#1223)
ajschmidt8 Feb 6, 2023
47961a0
Merge branch-23.02 into branch-23.04
galipremsagar Feb 6, 2023
09f0fd9
Merge pull request #1251 from galipremsagar/branch-23.04-merge-branch…
raydouglass Feb 6, 2023
ab11cba
Consolidating ANN benchmarks and tests (#1243)
cjnolet Feb 8, 2023
ca34321
Keeping only compute similarity specializations for uint64_t for now …
cjnolet Feb 8, 2023
9ca33f3
Update shared workflow branches (#1256)
ajschmidt8 Feb 8, 2023
cd32d6f
Fix compile time explosion for minkowski distance (#1254)
ahendriksen Feb 9, 2023
d1e0d6c
Merge pull request #1263 from rapidsai/branch-23.02
GPUtester Feb 9, 2023
611bda2
Bump pinned deps to 23.4 (#1266)
vyasr Feb 10, 2023
bc3a9c5
Remove duplicate `librmm` runtime dependency (#1264)
ajschmidt8 Feb 10, 2023
c976be6
Reduce error handling verbosity in CI tests scripts (#1259)
AjayThorve Feb 10, 2023
5fdce85
Remove gpuCI scripts. (#1252)
bdice Feb 11, 2023
4440c39
Remove no longer instantiated templates from list of extern template …
vyasr Feb 11, 2023
a572397
Fixign a couple small kmeans bugs (#1274)
cjnolet Feb 11, 2023
1cb4c34
Unpin `dask` and `distributed` for development (#1253)
galipremsagar Feb 11, 2023
cca81c4
Add innerproduct to the pairwise distance api (#1226)
benfred Feb 13, 2023
2347e06
Remove deprecated headers (#1145)
lowener Feb 13, 2023
7d6e4dc
fix build on cuda 11.5 (#1277)
benfred Feb 14, 2023
27ca9b9
Fix the destruction of interruptible token registry (#1229)
achirkin Feb 15, 2023
e14ec63
Fix inconsistency between the building doc and CMakeLists.txt (#1248)
yong-wang Feb 16, 2023
013da20
Add docs build job (#1168)
AyodeAwe Feb 17, 2023
3414616
IVF-PQ: store cluster data in individual lists and reduce templates (…
achirkin Feb 18, 2023
02cfacf
CI: Remove specification of manual stage for check_style.sh script. (…
csadorf Feb 18, 2023
a277388
matrix::select_k specializations (#1268)
achirkin Feb 18, 2023
d45eb1e
support k up to 2048 in faiss select (#1287)
benfred Feb 18, 2023
bbfb869
Initial port of auto-find-k (#1070)
cjnolet Feb 21, 2023
ad768f4
Adding util to get the device id for a pointer address (#1297)
cjnolet Feb 23, 2023
9ace862
Fix nightly docs build script (#1305)
AyodeAwe Feb 24, 2023
90c8da1
Enable dfg in pre-commit. (#1293)
vyasr Feb 24, 2023
754ebc3
Stop using versioneer to manage versions (#1301)
vyasr Feb 28, 2023
ae15be7
Make docs builds less verbose (#1302)
AyodeAwe Feb 28, 2023
004f508
Fix docs build to be `pydata-sphinx-theme=0.13.0` compatible (#1311)
galipremsagar Mar 2, 2023
e7f0268
Update to GCC 11 (#1309)
bdice Mar 6, 2023
3ca7eac
Add stream overloads to `ivf_pq` serialize/deserialize methods (#1315)
divyegala Mar 7, 2023
206611c
Temporary buffer to view host or device memory in device (#1313)
divyegala Mar 8, 2023
cf083e4
Pass `AWS_SESSION_TOKEN` and `SCCACHE_S3_USE_SSL` vars to conda build…
ajschmidt8 Mar 8, 2023
8a22373
mdspan view for IVF-PQ API (#1236)
viclafargue Mar 9, 2023
0f774b9
Numerical stability fixes for l2 pairwise distance (#1319)
benfred Mar 9, 2023
362dc93
Consolidate linter configuration into pyproject.toml (#1317)
vyasr Mar 9, 2023
6b30de9
Using int64_t specializations for `ivf_pq` and `refine` (#1325)
cjnolet Mar 10, 2023
bcb0976
Fixing remaining bug in ann_quantized (#1327)
cjnolet Mar 10, 2023
e4aec7b
Simplify distance/detail to make is easier to dispatch to different k…
ahendriksen Mar 10, 2023
c71673c
Fixing select_k specializations (#1330)
cjnolet Mar 11, 2023
b12fc82
Small follow-up to specializations cleanup (#1332)
cjnolet Mar 12, 2023
cb78f5f
Generic linalg::map (#1329)
achirkin Mar 13, 2023
f8708e1
Migrate as much as possible to pyproject.toml (#1324)
vyasr Mar 14, 2023
7e328ff
Revert "Generic linalg::map (#1329)" (#1336)
cjnolet Mar 14, 2023
1053f29
Generic linalg::map (#1337)
achirkin Mar 14, 2023
667d873
Small updates to docs (#1339)
cjnolet Mar 14, 2023
03e26b5
IVF-Flat index splitting (#1271)
lowener Mar 15, 2023
8b4d2e5
Pass minimum target compile options through `raft::raft` (#1341)
cjnolet Mar 15, 2023
fb84190
New Sparse Matrix APIs (#1279)
cjnolet Mar 15, 2023
9f2a64f
Update and standardize IVF indexes API (#1328)
viclafargue Mar 16, 2023
8386807
Rename optional helper function (#1345)
viclafargue Mar 16, 2023
7074010
IVF-Flat Python wrappers (#1316)
tfeher Mar 17, 2023
4577cbe
Fix serialize documentation of ivf_flat (#1347)
lowener Mar 17, 2023
40f246d
Remove MANIFEST.in use auto-generated one for sdists and package_data…
vyasr Mar 17, 2023
e661035
Add dispatch based on compute architecture (#1335)
ahendriksen Mar 17, 2023
1a3c028
Replace faiss bfKnn (#1202)
benfred Mar 17, 2023
2586f80
Remove faiss_mr.hpp (#1351)
benfred Mar 18, 2023
c4671ed
Removing FAISS from build (#1340)
cjnolet Mar 18, 2023
81fd1e0
Adding small readme image (#1354)
cjnolet Mar 20, 2023
97f8ad7
Consolidate pre-compiled specializations into single `libraft` binary…
cjnolet Mar 20, 2023
56ac43a
Fix ivf flat specialization header IdxT from uint64_t -> int64_t (#1358)
ahendriksen Mar 20, 2023
05d899b
Stop setting package version attribute in wheels (#1359)
vyasr Mar 21, 2023
a7e619c
Remove usage of Dask's `get_worker` (#1365)
pentschev Mar 22, 2023
08e7012
Reduce compile times of distance specializations (#1307)
ahendriksen Mar 23, 2023
7c73f23
Add nccl to dependencies.yaml (#1361)
benfred Mar 23, 2023
419f0c2
Generate pyproject dependencies with dfg (#1364)
vyasr Mar 23, 2023
31847af
Python API for brute-force KNN (#1292)
cjnolet Mar 23, 2023
0df5cee
Relax UCX pin to allow 1.14 (#1366)
pentschev Mar 23, 2023
1b18d1f
Adding architecture diagram to README.md (#1370)
cjnolet Mar 24, 2023
8f1fa07
Improve the performance of radix top-k (#1175)
yong-wang Mar 24, 2023
9389108
RAFT skeleton project template (#1312)
cjnolet Mar 24, 2023
f4c7f1f
Adding some functions back in that seem to be a copy/paste error (#1373)
cjnolet Mar 24, 2023
76c828d
Add extern template for ivfflat_interleaved_scan (#1360)
ahendriksen Mar 25, 2023
0d3bd3d
add a distance epilogue function to the bfknn call (#1371)
benfred Mar 28, 2023
22ebc72
Add end-to-end CUDA ann-benchmarks to raft (#1304)
cjnolet Mar 28, 2023
c2cb779
Fixing index-url link on pip install docs (#1378)
cjnolet Mar 29, 2023
e963f5a
build.sh: Add option to log nvcc compile times (#1262)
ahendriksen Mar 29, 2023
e456207
Add Options to Generate Build Metrics Report (#1369)
divyegala Mar 30, 2023
e874921
Pin cupy in wheel tests to supported versions (#1383)
vyasr Mar 30, 2023
09720d8
Fix primitives benchmarks (#1389)
ahendriksen Mar 31, 2023
7cd298d
Use rapids-cmake new COMPONENT exporting feature (#1154)
robertmaynard Mar 31, 2023
790dba6
Pin `dask` and `distributed` for release (#1399)
galipremsagar Apr 6, 2023
a6e0e6b
CAGRA (#1375)
tfeher Apr 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (c) 2022-2023, NVIDIA CORPORATION.

[flake8]
filename = *.py, *.pyx, *.pxd, *.pxi
exclude = __init__.py, *.egg, build, docs, .git
force-check = True
ignore =
# line break before binary operator
W503,
# whitespace before :
E203
per-file-ignores =
# Rules ignored only in Cython:
# E211: whitespace before '(' (used in multi-line imports)
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>)
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*)
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax)
# E275: Missing whitespace after keyword (Doesn't work with Cython except?)
# E402: invalid syntax (works for Python, not Cython)
# E999: invalid syntax (works for Python, not Cython)
# W504: line break after binary operator (breaks lines that end with a pointer)
*.pyx: E211, E225, E226, E227, E275, E402, E999, W504
*.pxd: E211, E225, E226, E227, E275, E402, E999, W504
*.pxi: E211, E225, E226, E227, E275, E402, E999, W504
28 changes: 21 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
jobs:
cpp-build:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -37,7 +37,7 @@ jobs:
python-build:
needs: [cpp-build]
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -46,15 +46,27 @@ jobs:
upload-conda:
needs: [cpp-build, python-build]
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
skip_upload_pkgs: libraft-template
docs-build:
if: github.ref_type == 'branch' && github.event_name == 'push'
needs: python-build
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04
with:
build_type: branch
node_type: "gpu-latest-1"
arch: "amd64"
container_image: "rapidsai/ci:latest"
run_script: "ci/build_docs.sh"
wheel-build-pylibraft:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -63,10 +75,11 @@ jobs:
package-name: pylibraft
package-dir: python/pylibraft
skbuild-configure-options: "-DRAFT_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
uses-setup-env-vars: false
wheel-publish-pylibraft:
needs: wheel-build-pylibraft
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -76,7 +89,7 @@ jobs:
wheel-build-raft-dask:
needs: wheel-publish-pylibraft
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -85,10 +98,11 @@ jobs:
package-name: raft_dask
package-dir: python/raft-dask
skbuild-configure-options: "-DRAFT_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
uses-setup-env-vars: false
wheel-publish-raft-dask:
needs: wheel-build-raft-dask
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.04
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand Down
41 changes: 28 additions & 13 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,80 +17,95 @@ jobs:
- conda-cpp-tests
- conda-python-build
- conda-python-tests
- docs-build
- wheel-build-pylibraft
- wheel-tests-pylibraft
- wheel-build-raft-dask
- wheel-tests-raft-dask
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@branch-23.04
checks:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/checks.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/checks.yaml@branch-23.04
with:
enable_check_generated_files: false
conda-cpp-build:
needs: checks
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.04
with:
build_type: pull-request
node_type: cpu16
conda-cpp-tests:
needs: conda-cpp-build
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.04
with:
build_type: pull-request
conda-python-build:
needs: conda-cpp-build
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.04
with:
build_type: pull-request
conda-python-tests:
needs: conda-python-build
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.04
with:
build_type: pull-request
docs-build:
needs: conda-python-build
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04
with:
build_type: pull-request
node_type: "gpu-latest-1"
arch: "amd64"
container_image: "rapidsai/ci:latest"
run_script: "ci/build_docs.sh"
wheel-build-pylibraft:
needs: checks
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.04
with:
build_type: pull-request
package-name: pylibraft
package-dir: python/pylibraft
skbuild-configure-options: "-DRAFT_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
uses-setup-env-vars: false
wheel-tests-pylibraft:
needs: wheel-build-pylibraft
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.04
with:
build_type: pull-request
package-name: pylibraft
test-before-amd64: "pip install cupy-cuda11x"
# On arm also need to install cupy from the specific webpage.
test-before-arm64: "pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64"
test-before-arm64: "pip install 'cupy-cuda11x<12.0.0' -f https://pip.cupy.dev/aarch64"
test-unittest: "python -m pytest -v ./python/pylibraft/pylibraft/test"
test-smoketest: "python ./ci/wheel_smoke_test_pylibraft.py"
wheel-build-raft-dask:
needs: wheel-tests-pylibraft
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.04
with:
build_type: pull-request
package-name: raft_dask
package-dir: python/raft-dask
before-wheel: "RAPIDS_PY_WHEEL_NAME=pylibraft_cu11 rapids-download-wheels-from-s3 ./local-wheelhouse"
skbuild-configure-options: "-DRAFT_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF"
uses-setup-env-vars: false
wheel-tests-raft-dask:
needs: wheel-build-raft-dask
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.04
with:
build_type: pull-request
package-name: raft_dask
# Always want to test against latest dask/distributed.
test-before-amd64: "RAPIDS_PY_WHEEL_NAME=pylibraft_cu11 rapids-download-wheels-from-s3 ./local-pylibraft-dep && pip install --no-deps ./local-pylibraft-dep/pylibraft*.whl && pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.02"
test-before-arm64: "RAPIDS_PY_WHEEL_NAME=pylibraft_cu11 rapids-download-wheels-from-s3 ./local-pylibraft-dep && pip install --no-deps ./local-pylibraft-dep/pylibraft*.whl && pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.02"
test-before-amd64: "RAPIDS_PY_WHEEL_NAME=pylibraft_cu11 rapids-download-wheels-from-s3 ./local-pylibraft-dep && pip install --no-deps ./local-pylibraft-dep/pylibraft*.whl && pip install git+https://github.com/dask/dask.git@2023.3.2 git+https://github.com/dask/distributed.git@2023.3.2.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.04"
test-before-arm64: "RAPIDS_PY_WHEEL_NAME=pylibraft_cu11 rapids-download-wheels-from-s3 ./local-pylibraft-dep && pip install --no-deps ./local-pylibraft-dep/pylibraft*.whl && pip install git+https://github.com/dask/dask.git@2023.3.2 git+https://github.com/dask/distributed.git@2023.3.2.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.04"
test-unittest: "python -m pytest -v ./python/raft-dask/raft_dask/test"
test-smoketest: "python ./ci/wheel_smoke_test_raft_dask.py"
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,41 @@ on:
jobs:
conda-cpp-tests:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.04
with:
build_type: nightly
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
conda-python-tests:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.04
with:
build_type: nightly
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
wheel-tests-pylibraft:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.04
with:
build_type: nightly
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
package-name: pylibraft
test-before-amd64: "pip install cupy-cuda11x"
test-before-arm64: "pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64"
test-before-arm64: "pip install 'cupy-cuda11x<12.0.0' -f https://pip.cupy.dev/aarch64"
test-unittest: "python -m pytest -v ./python/pylibraft/pylibraft/test"
wheel-tests-raft-dask:
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.02
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.04
with:
build_type: nightly
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
package-name: raft_dask
test-before-amd64: "pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.02"
test-before-arm64: "pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.02"
test-before-amd64: "pip install git+https://github.com/dask/dask.git@2023.3.2 git+https://github.com/dask/distributed.git@2023.3.2.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.04"
test-before-arm64: "pip install git+https://github.com/dask/dask.git@2023.3.2 git+https://github.com/dask/distributed.git@2023.3.2.1 git+https://github.com/rapidsai/dask-cuda.git@branch-23.04"
test-unittest: "python -m pytest -v ./python/raft-dask/raft_dask/test"
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ log
.DS_Store
dask-worker-space/
*.egg-info/
*.bin

## scikit-build
_skbuild
Expand Down Expand Up @@ -52,3 +53,10 @@ doxygen_check/

## cibuildwheel
/wheelhouse

# doxygen
_xml

# sphinx
_html
_text
23 changes: 15 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.

repos:
- repo: https://github.com/PyCQA/isort
Expand All @@ -17,12 +17,11 @@ repos:
files: python/.*
# Explicitly specify the pyproject.toml at the repo root, not per-project.
args: ["--config", "pyproject.toml"]
exclude: .*_version.py,.*versioneer.py
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args: ["--config=setup.cfg"]
args: ["--config=.flake8"]
files: python/.*$
types: [file]
types_or: [python, cython]
Expand All @@ -32,16 +31,17 @@ repos:
hooks:
- id: mypy
additional_dependencies: [types-cachetools]
args: ["--config-file=setup.cfg",
args: ["--config-file=pyproject.toml",
"python/pylibraft/pylibraft",
"python/raft-dask/raft_dask"]
pass_filenames: false
exclude: .*_version.py
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
args: ["--config=setup.cfg"]
# https://github.com/PyCQA/pydocstyle/issues/603
additional_dependencies: [toml]
args: ["--config=pyproject.toml"]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v11.1.0
hooks:
Expand All @@ -62,7 +62,7 @@ repos:
entry: ./cpp/scripts/run-cmake-format.sh cmake-format
language: python
types: [cmake]
exclude: .*/thirdparty/.*
exclude: .*/thirdparty/.*|.*FindAVX.cmake.*
# Note that pre-commit autoupdate does not update the versions
# of dependencies, so we'll have to update this manually.
additional_dependencies:
Expand Down Expand Up @@ -94,10 +94,17 @@ repos:
language: python
additional_dependencies: [gitpython]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.2
hooks:
- id: codespell
additional_dependencies: [tomli]
args: ["--toml", "pyproject.toml"]
exclude: (?x)^(^CHANGELOG.md$)
- repo: https://github.com/rapidsai/dependency-file-generator
rev: v1.5.1
hooks:
- id: rapids-dependency-file-generator
args: ["--clean"]


default_language_version:
Expand Down
Loading