turning on refit increase the inferring time of trt engine
@BowenFu is already working on this.
Since May 7, 2023.
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
Hi, tensorRT team! I used trt to increase the inferring time of stable diffusion about 3 times, really awesome. However, cause building a tensorrt engine is time-consuming, I'd like to use refit to replace the parameters of a tensorrt engine when I have a new stable diffusion torch model with the same structure. Then I implemented a test on refit to see how it influenced the performance of a tensorrt engine, and I found without refit, the trt engine ran 30 steps for 1.16s, while it ran 30 steps for 2.02s with refit. It seems that turning on refit will increase the inferencing time of trt engine, is that right?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.