[CMake] Windows package config references missing bin/tensorrt_player.exe (tensorrt_capture_player)
I maintainer di solito rispondono entro 6 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cmake, cpp
- Ambito
- build-system
Direzione di ricerca
Iniziate ispezionando cmake/TensorRT-EnterpriseTargets-release.cmake alle righe 131-138 e l’export TensorRT-RTXConfig-release.cmake a cui si fa riferimento nel report. Riproducete il problema con il CMakeLists.txt minimo fornito e i comandi find_package; il lavoro è completato quando la configurazione del pacchetto Windows non fa più riferimento a un tensorrt_player.exe mancante e configure termina correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
The Windows package of TensorRT-Enterprise 11.3.0.99 ships a CMake package config that imports a file the package does
not contain. find_package fails on an unmodified package.
cmake/TensorRT-EnterpriseTargets-release.cmake (lines 131-138) imports TRT::tensorrt_capture_player from
${_IMPORT_PREFIX}/bin/tensorrt_player.exe and adds that file to _cmake_import_check_files_for_*. The package's
bin/ contains trtexec.exe and the nvinfer*/nvonnxparser DLLs, but no tensorrt_player.exe.
CMake Error at .../cmake/TensorRT-EnterpriseTargets.cmake:167 (message):
The imported target "TRT::tensorrt_capture_player" references the file
".../bin/tensorrt_player.exe"
but this file does not exist.
The issue was also present in 11.2.1.2. The same issue exists in TensorRT-RTX 1.6.1.120 for Windows:
TensorRT-RTXConfig-release.cmake imports TRTRTX::tensorrt_capture_player from the missing
bin/tensorrt_player.exe. The Linux TensorRT-RTX 1.6.1.120 package ships bin/tensorrt_player and is not affected.
Expected: ship bin/tensorrt_player.exe in the Windows packages, or leave tensorrt_capture_player out of their
exported targets.
Workaround: create an empty bin/tensorrt_player.exe.
Environment
TensorRT Version: TensorRT-Enterprise 11.3.0.99
(TensorRT-Enterprise-11.3.0.99-Windows-amd64-cuda-13.4-Release-external). Same issue in TensorRT-Enterprise 11.2.1.2
and TensorRT-RTX 1.6.1.120 (Windows).
NVIDIA GPU: NVIDIA RTX 3500 Ada Generation Laptop GPU
NVIDIA Driver Version: 596.86
CUDA Version: 13.3 toolkit (13.3.73)
CUDNN Version: N/A
Operating System: Windows 11 Pro 10.0.26200
Python Version (if applicable): N/A
Tensorflow Version (if applicable): N/A
PyTorch Version (if applicable): N/A
Baremetal or Container (if so, version): Baremetal. CMake 4.2.3 and 4.3.1, Ninja, MSVC 14.51.
Relevant Files
Model link: N/A. No model is involved; the problem is in the package's CMake config.
Steps To Reproduce
Commands or scripts:
CMakeLists.txt:
cmake_minimum_required(VERSION 3.27)
project(trt_probe LANGUAGES CXX)
find_package(CUDAToolkit REQUIRED)
find_package(TensorRT-Enterprise CONFIG REQUIRED)
Configure:
cmake -S . -B build -G Ninja "-DTensorRT-Enterprise_DIR=<package>/cmake"
The configure fails with the error above, on CMake 4.2.3 and 4.3.1. For TensorRT-RTX, use find_package(TensorRT-RTX CONFIG REQUIRED) and TensorRT-RTX_DIR.
Have you tried the latest release?: Yes, 11.3.0.99.
Can this model run on other frameworks?: N/A
- Lingua principale
- C++
- Stelle
- 13.5k
- Fork
- 2.4k
- Merge medio
- 6g 21h
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/TensorRT
-
Module:Polygraphy
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 6 giorni
-
Polygraphy NumPy Top-K sorts unsigned and minimum signed integers incorrectlyForse già presa @0z5a l’ha presa 16 giorni fa. ApertaModule:Polygraphy
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 6 giorni
-
Polygraphy INT32 comparison can overflow and falsely pass at zero toleranceForse già presa @0z5a l’ha presa 16 giorni fa. ApertaModule:Polygraphy
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 6 giorni
-
onnx-graphsurgeon: Graph.toposort() hits RecursionError when a graph has a local function and an If/Loop nodeForse già presa @gabortar l’ha presa 39 giorni fa. ApertaModule:GraphSurgeon
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 6 giorni
-
Polygraphy parse_meta accepts a shape with a missing bracketForse già presa @SashaMIT l’ha presa 51 giorni fa. ApertaModule:Polygraphy
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 6 giorni
Tutte le issue di NVIDIA/TensorRT
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
maplibre/maplibre-native#5072 ·
I maintainer di solito rispondono entro 1 giorno
-
[UBSan] spawn_simulator passes null child_options.args to uv_spawn (execvp nonnull violation)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
tenstorrent/tt-umd#4017 ·
I maintainer di solito rispondono entro 3 giorni
-
difficulty:easy func:gui prio:low type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NatronGitHub/Natron#1538 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hyprwm/hyprsunset#103 · 1 commento ·