Please provide the following info (tick the boxes after creating this topic):
Software Version
[√] DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
[√] Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[√] DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
[√] 2.1.0
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[√] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
We use TensorRT version compatibility feature to be able to use engines serialized across ORIN boards with different TRT patch versions. We’ve got a number of ORIN kits with TRT 8.6.2 and 8.6.13, and we use the following steps to validate version compatibility between different boards, using /usr/src/tensorrt/data/resnet50/ResNet50.onnx
natively shipped with TRT.
On one board we run:
/usr/src/tensorrt/bin/trtexec --onnx=ResNet50.onnx --saveEngine=ResNet50.bin --versionCompatible --nativeInstanceNorm
Then on another board we try loading the serialized engine with:
/usr/src/tensorrt/bin/trtexec --loadEngine=ResNet50.bin --versionCompatible
This works well when serializing on TRT 8.6.13 then loading with TRT 8.6.2, however when we try the other way around (serializing on TRT 8.6.2 then attempting to load with TRT 8.6.13), we get an error message Could not open leanRuntime: GLIBC_2.34 not found
. Please advise if there’s any work-around that would allow using an engine serialized with TRT 8.6.2 on TRT 8.6.13.
Error String
[E] Error[6]: [libLoader.cpp::Impl::307] Error Code 6: Internal Error (Could not open leanRuntime from file /tmp/leanRuntime8d99b0377b1e6e7b: /usr/lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by /tmp/leanRuntime8d99b0377b1e6e7b))