Skip to content

fix(cuda.pathfinder): discover Nsight GUI utilities under their current names - #2681

Draft
rootkiller6788 wants to merge 1 commit into
NVIDIA:mainfrom
rootkiller6788:fix-nsight-gui-utility-names
Draft

fix(cuda.pathfinder): discover Nsight GUI utilities under their current names#2681
rootkiller6788 wants to merge 1 commit into
NVIDIA:mainfrom
rootkiller6788:fix-nsight-gui-utility-names

Conversation

@rootkiller6788

Copy link
Copy Markdown

Fixes the gap reported in #2654: find_nvidia_binary_utility() raises UnsupportedBinaryError for the current Nsight GUI executable names nsys-ui/ncu-ui, and the legacy names nsight-sys/nsight-compute do not resolve on current standalone Nsight installations.

Changes:

  • supported_nvidia_binaries.py: register nsys-ui and ncu-ui in SITE_PACKAGES_BINDIRS (same wheel dirs as nsys/ncu). Legacy nsight-sys/nsight-compute entries are retained for backward compatibility.
  • windows_nsight.py: add nsys_ui_candidate_paths()/ncu_ui_candidate_paths(), resolving the GUI launchers under the standalone install's host directories (host-windows-* for Nsight Systems, host/windows-desktop-* for Nsight Compute), keyed by native machine architecture like the existing CLI discovery.
  • find_nvidia_binary_utility.py: route nsys-ui/ncu-ui to the new candidate paths on Windows (terminal, like nsys/ncu); update the search-order docstring.
  • Tests: cover the new names in the Windows registry-composition, conda-precedence, and registry-miss-is-terminal parametrizations, plus dedicated unit tests for the new candidate-path helpers and the supported-names table.

Verification: full cuda_pathfinder test suite passes locally (1308 passed, 8 skipped); ruff check and format clean.

…nt names

find_nvidia_binary_utility() only supported the legacy CUDA-toolkit-bundled
Nsight GUI names (nsight-sys/nsight-compute), which current standalone Nsight
releases no longer ship. Add the modern GUI executable names nsys-ui and
ncu-ui to the supported set, and resolve them on Windows from the standalone
install registry (host-windows-*/ and host/windows-desktop-*/ directories,
mirroring the existing nsys/ncu CLI discovery).

The legacy names are kept for backward compatibility.
@copy-pr-bot

copy-pr-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the cuda.pathfinder Everything related to the cuda.pathfinder module label Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.pathfinder Everything related to the cuda.pathfinder module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant