Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#2,654 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@rwgk já está trabalhando nisso.

Desde 24/9/2026.

  • #2681 de @rootkiller6788 — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Pouca atividade
Stack de tecnologia
python
Domínio
tooling

Direção de pesquisa

Comece por cuda_pathfinder/cuda/pathfinder/_binaries/supported_nvidia_binaries.py e find_nvidia_binary_utility.py para rastrear os nomes compatíveis e o comportamento de busca específico da plataforma. Adicione cobertura para os layouts do Windows de wheel, Conda e standalone e, em seguida, verifique se nsys-ui e ncu-ui são resolvidos para caminhos absolutos de executáveis, enquanto nsys e ncu permanecem inalterados.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Cython
Estrelas
3.4k
Forks
335
Merge médio
2d 5h
PRs com merge (30d)
127

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NVIDIA/cuda-python

Todas as issues de NVIDIA/cuda-python

Issues semelhantes

Mais issues de DevTools

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.