The code that builds well in tensorRT 7.1.3 is tensorRT 8.0.1 gives the following error:

Hello,

It’s an open source.
URL: https://github.com/linghu8812/tensorrt_inference/tree/master/yolov5

I am getting the above error when building this project.
Can you please check what the problem is?
The method I found through the forum is at the URL below.

It seems to be a temporary solution, can you find a more fundamental solution?

Thank you.