Skip to content

More fixes for TensorRT 10#1925

Open
ligaz wants to merge 1 commit intodusty-nv:masterfrom
ligaz:trt10-fixes
Open

More fixes for TensorRT 10#1925
ligaz wants to merge 1 commit intodusty-nv:masterfrom
ligaz:trt10-fixes

Conversation

@ligaz
Copy link
Copy Markdown
Contributor

@ligaz ligaz commented Jan 11, 2025

This change builds on the latest changes for TensorRT 10 - c038530.

It fixes the following:

  • Correctly rearrange the #if and #endif for outputDims similar to the inputDims. The issue is that the ONNX shiftDims was not being called due to a missing #endif after getting the outputDims.
  • Do not call setTensorAddress for output dimensions. This was causing a segmentation fault so the fix is to not call it similarly to the way it is implemented for input tensors.

You can test this with posenet because this is the one of the few models that is using ONNX as its source.

@vdoom
Copy link
Copy Markdown

vdoom commented Sep 20, 2025

Hello @dusty-nv ! Pls merge this fix. There are problems in Jetson-inference with ONNX models on JetPack 6.2 .

@pabloi
Copy link
Copy Markdown

pabloi commented Mar 30, 2026

I can confirm I ran into this issue on Jetpack 6.2 trying to run posenet and the suggested change fixed it.

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

Successfully merging this pull request may close these issues.

3 participants