Skip to content

[pathfinder] Add DynamicLibUnknownError, DynamicLibNotAvailableError and prepare for v1.4.0 release#1688

Merged
rwgk merged 4 commits intoNVIDIA:mainfrom
rwgk:DynamicLibUnknownError
Feb 25, 2026
Merged

[pathfinder] Add DynamicLibUnknownError, DynamicLibNotAvailableError and prepare for v1.4.0 release#1688
rwgk merged 4 commits intoNVIDIA:mainfrom
rwgk:DynamicLibUnknownError

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Feb 24, 2026

Close #1684

Also prepare for cuda-pathfinder v1.4.0 release.

Replace the short-lived ValueError validation path from 1.3.5 with DynamicLibNotFoundError subclasses so downstream exception handling remains compatible while exposing more precise failure reasons.

Co-authored-by: Cursor <cursoragent@cursor.com>
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Feb 24, 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.

Add the 1.4.0 pathfinder release notes entry and publish the 1.4.0 docs version link in nv-versions.json for the upcoming release.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rwgk rwgk force-pushed the DynamicLibUnknownError branch from 0ce38b2 to 9ce8030 Compare February 24, 2026 23:33
Document the planned PyPI yank for cuda-pathfinder 1.3.5 in the release notes, including upgrade guidance to 1.4.0 and links to the tracking issue and PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rwgk
Copy link
Collaborator Author

rwgk commented Feb 24, 2026

/ok to test

@rwgk
Copy link
Collaborator Author

rwgk commented Feb 24, 2026

cuda-pathfinder 1.3.5 yank playbook removed

See commit 99ad650

@rwgk rwgk requested a review from cpcloud February 24, 2026 23:54
@github-actions

This comment has been minimized.

Update the 1.3.5 and 1.4.0 release notes to remove the YANK NOTICE and document that the ValueError behavior in 1.3.5 was a regression that is fixed in 1.4.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rwgk
Copy link
Collaborator Author

rwgk commented Feb 25, 2026

/ok to test

exception regression in ``load_nvidia_dynamic_lib()`` (unsupported
library names incorrectly raising ``ValueError``).

This bug was corrected in ``cuda-pathfinder>=1.4.0``, restoring backward-compatible
Copy link
Contributor

Choose a reason for hiding this comment

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

This reads awkward to me. Bugs are corrected in specific releases, and by implication that means >=. Combining those two notions just makes this strange to read.

Not blocking though.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree, this should just be 1.4.0, but it's not misleading, I don't want to run the CI again for this, and not use [doc-only] in the PR description because that could be confusing when we look at it later. I'll go ahead and merge this as-is, then make the release.

@rwgk rwgk merged commit 8d0ccdd into NVIDIA:main Feb 25, 2026
86 checks passed
@rwgk rwgk deleted the DynamicLibUnknownError branch February 25, 2026 16:19
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

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.

CuPy noticed the error type change for load_nvidia_dynamic_lib("nccl") (windows)

2 participants