Skip to content

"trt_cuda_graph_enable" bug in tensorrt. #20050

@hy846130226

Description

@hy846130226

Describe the issue

I'm using onnx-tensorrt.

When I enable the trt_cuda_graph_enable like this:
image

Subsequently, no matter how many images of data I pass for inference, what I get is always the result of the first image.
image
image

The following is my infer code:
Uploading image.png…

the “input” and “output temp” is reusable.

To reproduce

  1. use onnx-tensorrt 1.16.3/1.17.0/1.17.1
  2. infer different image

Urgency

No response

Platform

Windows

OS Version

WIN10

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.17.0

ONNX Runtime API

C++

Architecture

X64

Execution Provider

TensorRT

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ep:TensorRTissues related to TensorRT execution providerstaleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions