REAL-Video-Enhancer icon indicating copy to clipboard operation
REAL-Video-Enhancer copied to clipboard

Unable to load library: libnvinfer_builder_resource.so.10.7.0

Open SulfurNitride opened this issue 1 year ago • 3 comments

CachyOS (Arch)

Describe the bug So whenever I try and use tensorrt with my 4090 I get this error "ERROR: [Torch-TensorRT TorchScript Conversion Context] - createInferBuilder: Error Code 6: API Usage Error (Unable to load library: libnvinfer_builder_resource.so.10.7.0: libnvinfer_builder_resource.so.10.7.0: cannot enable executable stack as shared object requires: Invalid argument)"

To Reproduce Steps to reproduce the behavior: Run tensorrt as backend.

Expected behavior Should just run instead of failing.

Screenshots If applicable, add screenshots to help explain your problem.

Logs If the application generates a log, please upload it here.
``frontend_log.txt`

frontend_log.txt

` and backend_log.txt

backend_log.txt

Desktop (please complete the following information):

  • OS: CachyOS KDE

GPU Please state your GPU, and what you are using to render (pytorch, tensorrt, ncnn) 4090 TensorRT

Additional context Pytorch works just fine.

SulfurNitride avatar Feb 19 '25 19:02 SulfurNitride

Seems an issue with tensorrt, you can try the 2.2.5 build which ships with trt 10.8.

TNTwise avatar Feb 19 '25 19:02 TNTwise

I'll try that in a sec

SulfurNitride avatar Feb 19 '25 19:02 SulfurNitride

Seems to have fixed it I think, thanks!

SulfurNitride avatar Feb 19 '25 20:02 SulfurNitride