Skip to content

fix(core): depend on released cuda-pathfinder >=1.4.1#1735

Merged
cpcloud merged 4 commits intoNVIDIA:mainfrom
cpcloud:pathfinder-issue-980-new-pr
Mar 7, 2026
Merged

fix(core): depend on released cuda-pathfinder >=1.4.1#1735
cpcloud merged 4 commits intoNVIDIA:mainfrom
cpcloud:pathfinder-issue-980-new-pr

Conversation

@cpcloud
Copy link
Contributor

@cpcloud cpcloud commented Mar 6, 2026

Fixes #980

Supersedes #1733.

Summary

  • update cuda-core to depend on released cuda-pathfinder >=1.4.1 instead of unreleased >=1.4.2
  • add a TODO in cuda_core/pyproject.toml to bump to >=1.4.2 once that release is available

Test plan

  • nix run 'nixpkgs#pre-commit' -- run check-toml --files cuda_core/pyproject.toml

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Mar 6, 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.

cpcloud added 4 commits March 6, 2026 18:54
Add a shared `optional_cuda_import` API in cuda.pathfinder so optional module checks only suppress genuinely unavailable modules or dynamic libs while still surfacing nested import bugs. Wire cuda.core NVVM/nvJitLink detection to this helper and declare cuda-pathfinder as a direct cuda-core dependency.

Made-with: Cursor
Apply ruff-preferred import ordering in pathfinder exports and rename an unused test lambda argument so repository-wide pre-commit checks pass cleanly.

Made-with: Cursor
Raise the cuda-core dependency floor to cuda-pathfinder>=1.4.2, move the new optional import note to 1.4.2 release notes, and simplify nvJitLink warning text by inlining the fixed version detail.

Made-with: Cursor
Set the cuda-core runtime dependency to cuda-pathfinder>=1.4.1 and add a TODO to bump to >=1.4.2 after that release is available so environment solves continue to work.

Made-with: Cursor
@cpcloud cpcloud force-pushed the pathfinder-issue-980-new-pr branch from f159931 to 0242b72 Compare March 6, 2026 23:58
@cpcloud cpcloud changed the title Improve optional CUDA module import handling for NVVM and nvJitLink fix(core): depend on released cuda-pathfinder >=1.4.1 Mar 6, 2026
@cpcloud
Copy link
Contributor Author

cpcloud commented Mar 7, 2026

/ok to test

@cpcloud cpcloud requested a review from rwgk March 7, 2026 00:01
@cpcloud cpcloud enabled auto-merge (squash) March 7, 2026 00:09
@github-actions

This comment has been minimized.

@cpcloud cpcloud merged commit b25a648 into NVIDIA:main Mar 7, 2026
86 checks passed
@github-actions
Copy link

github-actions bot commented Mar 7, 2026

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.

[ENH]: Robust imports of optional dependencies (nvvm, nvJitLink)

2 participants