microsoft / microsoft/onnxruntime

a perfermance issue when use onnx runtime-tensorrt

Open
#19,934 18 comments 0 reactions 1 assignee View on GitHub

@chilo-ms is already working on this.

Since Mar 15, 2024.

ep:TensorRT performance platform:windows
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the issue

I'm using the onnx runtime-tensorrt
I found every time when I load the onnx model, it will cost some time, it may be a little short or long.
So I print the log.
![image](https://github.com/microsoft/onnxruntime/assets/67405690/20c52fbe-3703-4cfc-b6f5-1019eae0f3b5)
I'd like to know what the red standard areas spend their time doing.

### To reproduce

just use the onnx runtime-tensorrt to run a onnx model.

### Urgency

_No response_

### Platform

Windows

### OS Version

WIN10

### ONNX Runtime Installation

Released Package

### ONNX Runtime Version or Commit ID

1.6.3

### ONNX Runtime API

C++

### Architecture

X64

### Execution Provider

TensorRT

### Execution Provider Library Version

CUDA 11.6 Tensorrt 8.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.