Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find any supported formats consistent with input/output data types failure of TensorRT 10.3 on jetson orin #4217

Open
nainaigetuide opened this issue Oct 22, 2024 · 0 comments

Comments

@nainaigetuide
Copy link

Description

The following error occurred during the process of converting the onnx file to engine on jetson orin. For specific logs, see the attached file log.txt

The execution command is
/usr/src/tensorrt/bin/trtexec --onnx=/home/orin/disk/lhg/BEVFormer_tensorrt/checkpoints/onnx/bevformer_small_epoch_24_cp.onnx --saveEngine=bevformer_small_epoch_24_cp.engine --fp16 --int8 --plugins=./TensorRT/lib/libtensorrt_ops.so

The error message is
‘ IBuilder::buildSerializedNetwork: Error Code 9: Internal Error (node_of_onnx::Shape_2609: could not find any supported formats consistent with input/output data types)’

When I use tensorrt8.6, the above error does not occur. So I think it may be strongly related to tensorrt version.

Environment

TensorRT Version: 10.3

NVIDIA GPU: jetson orin

CUDA Version:12.2

Jetpack Version:12.2

Operating System: 22.04

Baremetal or Container (if so, version): nvcr.io/nvidia/l4t-jetpack:r36.4.0

Relevant Files

Model link:https://drive.google.com/file/d/1N98z1DIDiy6Z5_Sfa-vFvrTGXPkmUIrq/view?usp=sharing

Steps To Reproduce

  1. Pull the image https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-jetpack/tags
  2. The custom plugin is compiled to generate libtensorrt_ops.so.
  3. /usr/src/tensorrt/bin/trtexec --onnx=/home/orin/disk/lhg/BEVFormer_tensorrt/checkpoints/onnx/bevformer_small_epoch_24_cp.onnx --saveEngine=bevformer_small_epoch_24_cp.engine --fp16 --int8 --plugins=./TensorRT/lib/libtensorrt_ops.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant