microsoft / microsoft/onnxruntime

Creating TRT Cache much slower on Linux than on Windows

Open
#23,380 4 comments 0 reactions 1 assignee Assigned to @yf711 View on GitHub
ep:TensorRT platform:windows
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the issue

When we create .engine files on Windows we see a run time of 15-30 s and it is not very dependent on the input sizes we use.

On Linux the same networks on the same hardware can take up to 10 minutes to optimize. The hardware includes a T1000 GPU and a recent Intel CPU.

Any ideas on this? Could it be that we run Linux via Docker?

### To reproduce

Set up to create .engine files on Windows and Linux. check the time it takes.

### Urgency

_No response_

### Platform

Linux

### OS Version

Ubuntu 20.04

### ONNX Runtime Installation

Built from Source

### ONNX Runtime Version or Commit ID

1.20

### ONNX Runtime API

C++

### Architecture

X64

### Execution Provider

TensorRT

### Execution Provider Library Version

CUDA 11.6, TrT 10.4.0.26

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.