Failed to build tensorrt engine with DLA enabled on Jetson Xavier NX
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
Description
TensorRT engine build failed with error Error Code 10: Internal Error (Could not find any implementation for node {ForeignNode[/cnn/cnn.0/Conv]}.
Environment
TensorRT Version: 8.5.2
NVIDIA GPU: Volta GPU
CUDA Version: 11.4
CUDNN Version: 8.6
Operating System: Ubuntu 20
Platform : Jetson Xavier NX
Relevant Files
Model link: https://drive.google.com/file/d/1K5kQxR0IR-SGF6Ry1V44R-bmfwF4NPPx/view?usp=sharing
Steps To Reproduce
- Took the example model from
https://github.com/NVIDIA-AI-IOT/jetson_dla_tutorial - Exported the model to onnx format.
- Tried building the engine with the command
/usr/src/tensorrt/bin/trtexec --onnx=model_gn.onnx --shapes=input:32x3x32x32 --saveEngine=model_gn.engine --exportProfile=model_gn.json --int8 --useDLACore=0 --allowGPUFallback --useSpinWait --separateProfileRun - Build failed with the error
Error Code 10: Internal Error (Could not find any implementation for node {ForeignNode[/cnn/cnn.0/Conv]} - You can check the complete log here https://drive.google.com/file/d/1Ude0Pb3VOb_rzJhbzu_AXtlk8HUUNbzT/view?usp=drive_link
Have you tried the latest release?: N/A
Can this model run on other frameworks? For example run ONNX model with ONNXRuntime (polygraphy run <model.onnx> --onnxrt): Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the listed trtexec command with model_gn.onnx from the jetson_dla_tutorial example on the stated Jetson Xavier NX environment. Compare the complete log and exported model against the provided model and determine why the DLA build cannot find an implementation; done means the reproduction is explained and the engine builds successfully or the limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, embedded-iot, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100