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

Cannot deserialize serialized engine built with EngineCapability::kDLA_STANDALONEfailure of TensorRT 8.5.2 when running yolov5 on Jetson agx orin dk #3615

Closed
WangFengtu1996 opened this issue Jan 19, 2024 · 4 comments
Assignees
Labels
triaged Issue has been triaged by maintainers

Comments

@WangFengtu1996
Copy link

Description

  1. I clone the repo https://github.com/NVIDIA-AI-IOT/cuDLA-samples, then using the trtexec to inference the engine file. The file yolov5.int8.int8hwc4in.fp16chw16out.standalone.bin is generated by following the repo readme.
trtexec --loadEngine=yolov5.int8.int8hwc4in.fp16chw16out.standalone.bin -batch=1 --streams=1

error:

[01/19/2024-16:12:34] [E] Error[9]: Cannot deserialize serialized engine built with EngineCapability::kDLA_STANDALONE, use cuDLA APIs instead.
[01/19/2024-16:12:34] [E] Error[4]: [runtime.cpp::deserializeCudaEngine::65] Error Code 4: Internal Error (Engine deserialization failed.)

Environment

TensorRT Version: 8.5.2

NVIDIA GPU: nvidia jetson agx orin dk

Software part of jetson-stats 4.2.4 - (c) 2024, Raffaello Bonghi
Model: Jetson AGX Orin Developer Kit - Jetpack 5.1.2 [L4T 35.4.1]
NV Power Mode[0]: MAXN
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:

  • P-Number: p3701-0005
  • Module: NVIDIA Jetson AGX Orin (64GB ram)
    Platform:
  • Distribution: Ubuntu 20.04 focal
  • Release: 5.10.120-tegra
    jtop:
  • Version: 4.2.4
  • Service: Active
    Libraries:
  • CUDA: 11.4.315
  • cuDNN: 8.6.0.166
  • TensorRT: 5.1.2
  • VPI: 2.3.9
  • Vulkan: 1.3.204
  • OpenCV: 4.6.0 - with CUDA: YES
@zerollzeng
Copy link
Collaborator

the dla standalone loadable can only be loaded with cuDLA, TRT cannot load it.

@zerollzeng zerollzeng self-assigned this Jan 19, 2024
@zerollzeng zerollzeng added the triaged Issue has been triaged by maintainers label Jan 19, 2024
@WangFengtu1996
Copy link
Author

WangFengtu1996 commented Jan 22, 2024

Is there any plan that support the dla standalone loadable in TRT ?

@zerollzeng
Copy link
Collaborator

AFAIK no.

@ttyio
Copy link
Collaborator

ttyio commented Mar 5, 2024

closing since no activity for more than 3 weeks, thanks all!

@ttyio ttyio closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

3 participants