Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[BUG]: Replace obsolete Nsight GUI utility names with nsys-ui and ncu-ui

Abierto
#2,654 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@rwgk ya está trabajando en esto.

Desde el 24/9/2026.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python
Área
tooling

Línea de trabajo

Comience con cuda_pathfinder/cuda/pathfinder/_binaries/supported_nvidia_binaries.py y find_nvidia_binary_utility.py para rastrear los nombres compatibles y el comportamiento de búsqueda específico de la plataforma. Añada cobertura para las disposiciones de Windows de wheel, Conda y standalone, y verifique después que nsys-ui y ncu-ui se resuelvan en rutas absolutas a ejecutables, mientras que nsys y ncu permanezcan sin cambios.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

triage
Problem

cuda.pathfinder.SUPPORTED_BINARY_UTILITIES currently includes the legacy GUI names nsight-sys and nsight-compute, but omits the executable names used by supported Nsight releases: nsys-ui and ncu-ui.

Because find_nvidia_binary_utility() treats the requested name literally (and appends .exe on Windows), calls using the legacy names return None on a current standalone Nsight installation even though the corresponding GUI is installed.

The CLI entries nsys and ncu are correct and should remain unchanged.

Evidence

These legacy names predate the CUDA Toolkit majors currently covered by cuda.pathfinder's “two most recent major versions” support policy.

Proposed change
  1. Replace nsight-sys with nsys-ui and nsight-compute with ncu-ui in the supported binary descriptors.
  2. Preserve nsys and ncu as the CLI utility names.
  3. Add standalone Windows discovery through the existing Nsight registry roots:
    • Nsight Systems: locate nsys-ui.exe under the host directory (for example, host-windows-x64).
    • Nsight Compute: locate the root shortcut and/or the actual executable under host/windows-desktop-*/ncu-ui.exe.
  4. Add tests for wheel/Conda layouts and standalone Windows layouts.

If removing names from the public supported tuple is considered too disruptive, a compatibility alternative is to retain the old inputs temporarily as deprecated aliases that resolve to the current UI executable, while documenting that the returned basename differs.

Expected behavior
find_nvidia_binary_utility("nsys-ui")  # absolute path to nsys-ui[.exe]
find_nvidia_binary_utility("ncu-ui")   # absolute path to ncu-ui[.exe]
find_nvidia_binary_utility("nsys")     # unchanged
find_nvidia_binary_utility("ncu")      # unchanged
Lenguaje dominante
Cython
Estrellas
3.4k
Forks
334
Merge medio
1 d 19 h
PR fusionados (30 d)
126

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/cuda-python

Todos los issues de NVIDIA/cuda-python

Issues similares

Más issues de DevTools

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.