[BUG]: Replace obsolete Nsight GUI utility names with nsys-ui and ncu-ui
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
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
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
- Current supported-name table:
https://github.com/NVIDIA/cuda-python/blob/main/cuda_pathfinder/cuda/pathfinder/_binaries/supported_nvidia_binaries.py - Current lookup implementation:
https://github.com/NVIDIA/cuda-python/blob/main/cuda_pathfinder/cuda/pathfinder/_binaries/find_nvidia_binary_utility.py - Nsight Systems documents the GUI executable as
nsys-ui:
https://docs.nvidia.com/nsight-systems/InstallationGuide/index.html#launching-the-gui - Nsight Compute documents the GUI executable as
ncu-ui:
https://docs.nvidia.com/nsight-compute/NsightCompute/index.html#quickstart - The last confirmed Windows package containing
nsight-sys.exewas Nsight Systems 2020.3.4.32, bundled with CUDA Toolkit 11.1:
https://developer.download.nvidia.com/compute/cuda/repos/windows/x86_64/version_11.1.0.json
These legacy names predate the CUDA Toolkit majors currently covered by cuda.pathfinder's “two most recent major versions” support policy.
Proposed change
- Replace
nsight-syswithnsys-uiandnsight-computewithncu-uiin the supported binary descriptors. - Preserve
nsysandncuas the CLI utility names. - Add standalone Windows discovery through the existing Nsight registry roots:
- Nsight Systems: locate
nsys-ui.exeunder 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.
- Nsight Systems: locate
- 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
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/cuda-python
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsTalvez já em andamento @rwgk assumiu há 7 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
NVIDIA/cuda-python#2952 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[DOC]: cuda.core 1.1.1 note misstates program cache permissionsTalvez já em andamento @leofang assumiu há 21 dias. Abertadocumentation P1
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
NVIDIA/cuda-python#2717 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[DOC]: `PinnedMemoryResource.allocate` documents no parametersTalvez já em andamento @Andy-Jost assumiu há 21 dias. Abertacuda.core documentation P1
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 90/100
NVIDIA/cuda-python#2712 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupTalvez já em andamento @rwgk assumiu há 21 dias. Abertatriage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
NVIDIA/cuda-python#2646 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
[FEA]: Support inheritance from BufferTalvez já em andamento @leofang assumiu há 21 dias. Abertacuda.core triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
NVIDIA/cuda-python#2435 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de NVIDIA/cuda-python
Issues semelhantes
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
andromarces/agent-loops#885 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
jbacalso24/mimry#290 ·
Mantenedores costumam responder em até 1 dia
-
approved bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
checkstyle/checkstyle#21981 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
p5.js 2.0+
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
processing/p5.js#9295 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
code-quality refactoring
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
github/gh-aw-firewall#10040 ·
Mantenedores costumam responder em até 1 dia