-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-23.04' into 23.02-lobpcg
- Loading branch information
Showing
591 changed files
with
32,255 additions
and
11,986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ jobs: | |
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: | ||
|
@@ -105,7 +105,7 @@ jobs: | |
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@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]" | ||
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@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]" | ||
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/[email protected]" | ||
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/[email protected]" | ||
test-unittest: "python -m pytest -v ./python/raft-dask/raft_dask/test" | ||
test-smoketest: "python ./ci/wheel_smoke_test_raft_dask.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
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 | ||
|
@@ -51,6 +51,6 @@ jobs: | |
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
package-name: raft_dask | ||
test-before-amd64: "pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]" | ||
test-before-arm64: "pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]" | ||
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/[email protected]" | ||
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/[email protected]" | ||
test-unittest: "python -m pytest -v ./python/raft-dask/raft_dask/test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ log | |
.DS_Store | ||
dask-worker-space/ | ||
*.egg-info/ | ||
*.bin | ||
|
||
## scikit-build | ||
_skbuild | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.