Skip to content

[doc-only] Prepare for cuda-pathfinder v1.4.1 release #1728

Merged
rwgk merged 12 commits intoNVIDIA:mainfrom
rwgk:pathfinder_1.4.1_relnotes
Mar 6, 2026
Merged

[doc-only] Prepare for cuda-pathfinder v1.4.1 release #1728
rwgk merged 12 commits intoNVIDIA:mainfrom
rwgk:pathfinder_1.4.1_relnotes

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Mar 5, 2026

This PR adds Cursor-generated, manually curated release notes.

rwgk added 10 commits February 25, 2026 22:04
This commit adds support for finding and loading CUPTI libraries on Linux
through cuda.pathfinder. It implements support for all enumerated installation
methods:

- Site-packages: nvidia/cuda_cupti/lib (CUDA 12) and nvidia/cu13/lib (CUDA 13)
- Conda: $CONDA_PREFIX/lib (colocated with other CUDA libraries)
- CTK via CUDA_HOME: $CUDA_HOME/extras/CUPTI/lib64
- CTK via canary probe: system CTK root discovery (similar to nvvm)

Changes:
- Add 'cupti' to supported library names and SONAMEs
- Add site-packages paths for CUDA 12 and 13
- Add cupti to CTK root canary discoverable libraries
- Update find_nvidia_dynamic_lib to handle extras/CUPTI/lib64 path
- Add logic to distinguish CTK (extras/CUPTI/lib64) vs conda (lib) paths
- Update _find_so_using_lib_dir to support versioned libraries via glob
- Add comprehensive mock tests covering all installation methods

Fixes NVIDIA#1572 (Linux support)

Made-with: Cursor
Resolved conflicts by:
- Adding cupti to descriptor_catalog.py with proper configuration
- Updating search_platform.py to handle versioned libraries via glob
- Removing old find_nvidia_dynamic_lib.py (refactored into new structure)
- Resolving supported_nvidia_libs.py conflicts (now derives from catalog)

The cupti support is now integrated into the new descriptor-based architecture.

Made-with: Cursor
Migrated test_load_nvidia_dynamic_lib_using_mocker.py from the old
_FindNvidiaDynamicLib API to the new descriptor-based SearchContext API.

Changes:
- Replace _FindNvidiaDynamicLib imports with search_steps and load_nvidia_dynamic_lib modules
- Update mocks to use run_find_steps, LOADER, and SearchContext
- Use LIB_DESCRIPTORS to get cupti descriptor
- Update all test functions to work with the new search step architecture

Made-with: Cursor
These variables (_CTK_ROOT_CANARY_ANCHOR_LIBNAMES and
_CTK_ROOT_CANARY_DISCOVERABLE_LIBNAMES) were added in the cupti PR but
are not used in the new descriptor-based architecture. The new code
uses desc.ctk_root_canary_anchor_libnames directly from descriptors.

Made-with: Cursor
Remove tests covered by real CI:
- Site-packages tests (CUDA 12 and 13) - covered by real CI
- CTK tests (CUDA_HOME and canary probe) - covered by real CI
- Search order tests involving site-packages/CTK - covered by real CI

Keep tests not covered by real CI:
- Conda discovery test - Conda not covered by real CI
- Error path test (not found) - error path not covered
- Conda vs CTK search order test - Conda not covered by real CI

Also remove unused imports and helper functions.

Made-with: Cursor
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Mar 5, 2026

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgk rwgk requested a review from cpcloud March 5, 2026 21:58
Copy link
Contributor

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but let's avoid merging until the cupti work is merged.

@rwgk
Copy link
Collaborator Author

rwgk commented Mar 6, 2026

/ok to test

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

@rwgk
Copy link
Collaborator Author

rwgk commented Mar 6, 2026

I manually checked the rendered pathfinder release notes: looks good. Merging.

@rwgk rwgk merged commit 09069a3 into NVIDIA:main Mar 6, 2026
18 checks passed
@rwgk rwgk deleted the pathfinder_1.4.1_relnotes branch March 6, 2026 19:20
@rwgk
Copy link
Collaborator Author

rwgk commented Mar 6, 2026

I manually cancelled the GitHub Action running against the main branch after this PR was merged, than ran these commands:

git tag cuda-pathfinder-v1.4.1 && git push upstream cuda-pathfinder-v1.4.1

The tagging automatically triggered this new workflow, needed for the pathfinder release:

https://github.com/NVIDIA/cuda-python/actions/runs/22778515167

github-actions bot pushed a commit that referenced this pull request Mar 7, 2026
Removed preview folders for the following PRs:
- PR #1713
- PR #1724
- PR #1728
- PR #1733
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants