microsoft / microsoft/onnxruntime
Creating TRT Cache much slower on Linux than on 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
Assessment
This issue has not been assessed yet.