yolov5-onnx-tensorrt icon indicating copy to clipboard operation
yolov5-onnx-tensorrt copied to clipboard

NVRTC error

Open duydangg opened this issue 3 years ago • 0 comments

I have ran this command python3 onnx_tensorrt.py --model yolov5s.onnx --floatingpoint 16 --output yolov5s.trt

and got this problem: Beginning ONNX file parsing [TensorRT] WARNING: onnx2trt_utils.cpp:220: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32. [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped [TensorRT] WARNING: onnx2trt_utils.cpp:246: One or more weights outside the range of INT32 was clamped num layers: 265 nvrtc: error: failed to open libnvrtc-builtins.so.11.1. Make sure that libnvrtc-builtins.so.11.1 is installed correctly. Traceback (most recent call last): File "onnx_tensorrt.py", line 52, in engine = builder.build_cuda_engine(network) RuntimeError: NVRTC error:

duydangg avatar Apr 05 '21 07:04 duydangg