Skip to content

Conversation

@yinggeh
Copy link
Contributor

@yinggeh yinggeh commented Jun 16, 2025

TRT 10.11.0 Release note: https://docs.nvidia.com/deeplearning/tensorrt/10.11.0/getting-started/release-notes.html

Deprecated the int32_t version of the profile shape API, including: setShapeValues, getShapeValues, and getProfileTensorValues. We recommend you use version 2 instead.

Segfault is caused by getProfileTensorValues returns unexpected nullptr for shape tensors (relevant lines). Updating getProfileTensorValues to getProfileTensorValuesV2 fixed the segfault.

@yinggeh yinggeh requested review from mc-nv and tanmayv25 June 16, 2025 21:07
@yinggeh yinggeh self-assigned this Jun 16, 2025
@yinggeh yinggeh added the bug Something isn't working label Jun 16, 2025
@yinggeh yinggeh merged commit f7c58aa into r25.06 Jun 17, 2025
1 check passed
@yinggeh yinggeh deleted the yinggeh-DLIS-8361-fix-shape-tensor-segfault branch July 28, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

3 participants