You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(pathfinder): drop the constant argument of _ctk_windows_wheel_dirs - #3627
All 27 calls of _ctk_windows_wheel_dirs passed "nvidia/cu13/bin" as the first argument. The helper now holds that directory itself and takes only the CUDA 12 wheel directory, the part that differs per library.
No behavior change. All 50 descriptor records compare equal before and after.
Testing
Full cuda_pathfinder test suite at this commit: 1297 passed, 6 skipped (Linux, Python 3.14).
pre-commit clean, including mypy-pathfinder. mypy also passes with --platform win32.
Reviewing files that changed from the base of the PR and between 9b2d530 and e9a82dd.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Bug Fixes
Improved CUDA 13 library discovery on Windows, with search paths tailored to x64 and ARM64 systems and a fallback path for x64.
The CTK Windows wheel path helper now constructs CUDA 13 search paths directly. The wheel descriptors pass only their library-specific CUDA 12 fallback directory.
Changes: CTK Windows wheel search paths
Layer / File(s)
Summary
Define and apply Windows wheel paths cuda_pathfinder/cuda/pathfinder/_dynamic_libs/descriptor_catalog.py
The helper constructs nvidia/cu13/bin/x86_64 and nvidia/cu13/bin/arm64 paths. The x64 search retains the supplied CUDA 12 fallback. The CTK Windows wheel descriptors now pass only their library-specific CUDA 12 fallback directory.
Suggested reviewers:isvoid
Change: Refactor
Merge Risk: Minimal · previous review 9b2d5
This is a refactor of Windows wheel search directory construction with no intended behavior change. No actionable merge-blocking risk was identified.
Security architecture risk: Minimal · up to 9b2d5
The refactor preserves where CUDA libraries are searched for on Windows, including the search order and the CUDA 12 fallback. No new security exposure was identified in the change.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 3 remain after this review.
…l_dirs
All 27 calls passed `"nvidia/cu13/bin"` as the first argument. The
helper now holds that directory itself and takes only the CUDA 12 wheel
directory, which is the part that differs per library.
The catalog is unchanged: all 50 descriptor records compare equal before
and after.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Rob Parolin <rparolin@nvidia.com>
This pull request requires additional validation before any workflows can run on NVIDIA's runners.
Pull request vetters can view their responsibilities here.
Contributors can view more details about this message here.
rwgk
changed the base branch from
pathfinder-readability/17-check-loaded-before-searching
to
pathfinder-readability/16-type-check-own-importsNovember 26, 2026 19:19
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
— codex on behalf of Ralf —
Description
Part 18 of 23 of a readability stack for
cuda.pathfinder(stack: #3623 → #3602 → #3603 → #3604 → #3605 → #3606 → #3607 → #3608 → #3609 → #3610 → #3611 → #3613 → #3618 → #3619 → #3620 → #3621 → #3622 → #3627 → #3628 → #3629 → #3630 → #3631 → #3632). No behavior change.All 27 calls of
_ctk_windows_wheel_dirspassed"nvidia/cu13/bin"as the first argument. The helper now holds that directory itself and takes only the CUDA 12 wheel directory, the part that differs per library.No behavior change. All 50 descriptor records compare equal before and after.
Testing
cuda_pathfindertest suite at this commit: 1297 passed, 6 skipped (Linux, Python 3.14).mypy-pathfinder. mypy also passes with--platform win32.mainare still byte-identical (Linux, simulated Windows x64 and arm64), and all 526 public-API scenarios give the same result as fix(pathfinder): check for an already-loaded library before searching the disk #3623.PLC Local Security Evidence (Advisory)
Local advisory checks only, run over the whole stack. Not release-gate results.
subprocess.runcall in the canary probe, now incanary_probe.pyChecklist
🤖 Generated with Claude Code