Skip to content

Commit 4bd3242

Browse files
authored
Merge branch 'main' into issue789-4
2 parents 6bc911c + 1137e15 commit 4bd3242

46 files changed

Lines changed: 1000 additions & 157 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/doc_preview/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ runs:
4141
:---:
4242
| <p></p> :rocket: View preview at <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/ <br>
4343
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-core/ <br>
44-
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-bindings/ <br><br>
44+
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-bindings/ <br>
45+
| <br> https://nvidia.github.io/cuda-python/pr-preview/pr-${{ inputs.pr-number }}/cuda-pathfinder/ <br><br>
4546
| <h6><br> Preview will be ready when the GitHub Pages deployment is complete. <br><br></h6>
4647
4748
# The steps below are executed only when building on main.

.github/dependabot.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,15 @@ updates:
77
- package-ecosystem: github-actions
88
directory: /
99
schedule:
10-
interval: weekly
10+
interval: "monthly"
11+
time: "09:00"
12+
timezone: "America/Los_Angeles"
13+
14+
# Keep churn down: only one open PR from this ecosystem at a time
15+
open-pull-requests-limit: 1
16+
17+
groups:
18+
actions-monthly:
19+
applies-to: version-updates
20+
patterns: ["*"]
21+
update-types: ["minor", "patch"]

.github/workflows/bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
security-events: write
2121
steps:
2222
- name: Perform Bandit Analysis
23-
uses: PyCQA/bandit-action@67a458d90fa11fb1463e91e7f4c8f068b5863c7f # v1.0.1
23+
uses: PyCQA/bandit-action@8a1b30610f61f3f792fe7556e888c9d7dffa52de

.github/workflows/build-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
# - cuda-core
2020
# - cuda-bindings
2121
# - cuda-python
22+
# - cuda-pathfinder
2223
# - all
2324
git-tag:
2425
description: "Target git tag to build docs for"

.github/workflows/test-wheel-linux.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,16 +321,15 @@ jobs:
321321
pip install $(ls cuda_python*.whl)[all]
322322
fi
323323
324-
- name: Install cuda.pathfinder nvidia_wheels_cu13
325-
if: startsWith(matrix.CUDA_VER, '13.')
324+
- name: Install cuda.pathfinder extra wheels for testing
326325
run: |
326+
set -euo pipefail
327327
pushd cuda_pathfinder
328-
pip install -v .[nvidia_wheels_cu13]
329-
pip freeze
328+
pip install --only-binary=:all: -v ".[nvidia_wheels_cu${TEST_CUDA_MAJOR},nvidia_wheels_host]"
329+
pip list
330330
popd
331331
332332
- name: Run cuda.pathfinder tests with all_must_work
333-
if: startsWith(matrix.CUDA_VER, '13.')
334333
env:
335334
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
336335
run: run-tests pathfinder

.github/workflows/test-wheel-windows.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,17 +288,15 @@ jobs:
288288
pip install "$((Get-ChildItem -Filter cuda_python*.whl).FullName)[all]"
289289
}
290290
291-
- name: Install cuda.pathfinder nvidia_wheels_cu13
292-
if: startsWith(matrix.CUDA_VER, '13.')
291+
- name: Install cuda.pathfinder extra wheels for testing
293292
shell: bash --noprofile --norc -xeuo pipefail {0}
294293
run: |
295294
pushd cuda_pathfinder
296-
pip install -v .[nvidia_wheels_cu13]
297-
pip freeze
295+
pip install --only-binary=:all: -v ".[nvidia_wheels_cu${TEST_CUDA_MAJOR},nvidia_wheels_host]"
296+
pip list
298297
popd
299298
300299
- name: Run cuda.pathfinder tests with all_must_work
301-
if: startsWith(matrix.CUDA_VER, '13.')
302300
env:
303301
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
304302
shell: bash --noprofile --norc -xeuo pipefail {0}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ instance/
111111

112112
# Sphinx documentation
113113
docs_src/_build/
114+
*/docs/source/generated/
114115

115116
# PyBuilder
116117
.pybuilder/

.pre-commit-config.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ci:
1212
skip: [bandit]
1313
submodules: false
1414

15-
gen_exclude: &gen_exclude '^cuda_bindings/cuda/bindings/.*\.in?$|cuda_bindings/docs/source/module/.*\.rst?$'
16-
1715
# Please update the rev: SHAs below with this command:
1816
# pre-commit autoupdate --freeze
1917
repos:
@@ -54,9 +52,8 @@ repos:
5452
- id: check-yaml
5553
- id: debug-statements
5654
- id: end-of-file-fixer
57-
exclude: *gen_exclude
55+
exclude: &gen_exclude '^(?:cuda_bindings/cuda/bindings/.*\.in?|cuda_bindings/docs/source/module/.*\.rst?)$'
5856
- id: mixed-line-ending
59-
- id: requirements-txt-fixer
6057
- id: trailing-whitespace
6158
exclude: *gen_exclude
6259

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It c
44

55
* [cuda.core](https://nvidia.github.io/cuda-python/cuda-core/latest): Pythonic access to CUDA Runtime and other core functionalities
66
* [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest): Low-level Python bindings to CUDA C APIs
7-
* [cuda.pathfinder](https://github.com/NVIDIA/cuda-python/blob/main/cuda_pathfinder/cuda/pathfinder/README.md): Utilities for locating CUDA components installed in the user's Python environment
7+
* [cuda.pathfinder](https://nvidia.github.io/cuda-python/cuda-pathfinder/latest): Utilities for locating CUDA components installed in the user's Python environment
88
* [cuda.cccl.cooperative](https://nvidia.github.io/cccl/python/cooperative): A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels
99
* [cuda.cccl.parallel](https://nvidia.github.io/cccl/python/parallel): A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. that are callable on the *host*
1010
* [numba.cuda](https://nvidia.github.io/numba-cuda/): Numba's target for CUDA GPU programming by directly compiling a restricted subset of Python code into CUDA kernels and device functions following the CUDA execution model.

ci/tools/env-vars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ elif [[ "${1}" == "test" ]]; then
6969
echo "SETUP_SANITIZER=${SETUP_SANITIZER}" >> $GITHUB_ENV
7070
echo "SKIP_CUDA_BINDINGS_TEST=${SKIP_CUDA_BINDINGS_TEST}" >> $GITHUB_ENV
7171
echo "SKIP_CYTHON_TEST=${SKIP_CYTHON_TEST}" >> $GITHUB_ENV
72+
echo "TEST_CUDA_MAJOR=${TEST_CUDA_MAJOR}" >> $GITHUB_ENV
7273
fi
7374

7475
echo "CUDA_BINDINGS_ARTIFACT_BASENAME=${CUDA_BINDINGS_ARTIFACT_BASENAME}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)