[CMake] Windows package config references missing bin/tensorrt_player.exe (tensorrt_capture_player)
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cmake, cpp
- 領域
- build-system
調査の方向性
まず、cmake/TensorRT-EnterpriseTargets-release.cmake の 131-138 行目と、レポートで参照されている TensorRT-RTXConfig-release.cmake の export を調査します。提供された最小限の CMakeLists.txt と find_package コマンドを使って失敗を再現します。Windows パッケージ構成が存在しない tensorrt_player.exe を参照しなくなり、configure が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C++
- スター
- 13.5k
- フォーク
- 2.4k
- 平均マージ
- 6日 21時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/TensorRT のほかの issue
-
Module:Polygraphy
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 6 日以内に返信
-
Polygraphy NumPy Top-K sorts unsigned and minimum signed integers incorrectly対応中かも @0z5a が 16 日前に担当しました。 オープンModule:Polygraphy
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 6 日以内に返信
-
Polygraphy INT32 comparison can overflow and falsely pass at zero tolerance対応中かも @0z5a が 16 日前に担当しました。 オープンModule:Polygraphy
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 6 日以内に返信
-
onnx-graphsurgeon: Graph.toposort() hits RecursionError when a graph has a local function and an If/Loop node対応中かも @gabortar が 39 日前に担当しました。 オープンModule:GraphSurgeon
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 6 日以内に返信
-
Polygraphy parse_meta accepts a shape with a missing bracket対応中かも @SashaMIT が 51 日前に担当しました。 オープンModule:Polygraphy
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 6 日以内に返信
NVIDIA/TensorRT の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
maplibre/maplibre-native#5072 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
tenstorrent/tt-umd#4017 ·
メンテナーはふだん 3 日以内に返信
-
difficulty:easy func:gui prio:low type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NatronGitHub/Natron#1538 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hyprwm/hyprsunset#103 · コメント 1 件 ·