NVIDIA / TensorRT

NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT.
https://developer.nvidia.com/tensorrt
Apache License 2.0
10.15k stars 2.08k forks source link

If the message turns out to be larger than 2147483647 bytes #3974

Closed lix19937 closed 3 days ago

lix19937 commented 5 days ago

use trtexec build onnx ,then report follow

[06/28/2024-16:15:34] [I] Start parsing network model
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:604] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.

https://github.com/torrvision/crfasrnn/issues/96
https://www.codenong.com/13849434/

lix19937 commented 3 days ago

If you want remove the warning, you should recompile the protobuf. Usually it not harmful.