Hi, I am trying to develop something with a jetson orin nano module. I trained and exported the model follow: Export - Ultralytics YOLOv8 Docs on another computer, and tried to deploy it on jetson, then I got this:
2023-12-27 20:20:08.470905524 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:20:08 WARNING] onnx2trt_utils.cpp:375: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
2023-12-27 20:21:14.354644247 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:14 WARNING] Tactic Device request: 538MB Available: 443MB. Device memory is insufficient to use tactic.
2023-12-27 20:21:14.424114857 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:14 WARNING] Skipping tactic 3 due to insufficient memory on requested size of 538 detected for tactic 0x0000000000000004.
2023-12-27 20:21:14.452337772 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:14 WARNING] Tactic Device request: 538MB Available: 532MB. Device memory is insufficient to use tactic.
2023-12-27 20:21:14.473431019 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:14 WARNING] Skipping tactic 8 due to insufficient memory on requested size of 538 detected for tactic 0x000000000000003c.
2023-12-27 20:21:14.498303943 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:14 WARNING] Tactic Device request: 538MB Available: 531MB. Device memory is insufficient to use tactic.
2023-12-27 20:21:14.518971600 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:14 WARNING] Skipping tactic 13 due to insufficient memory on requested size of 538 detected for tactic 0x0000000000000074.
2023-12-27 20:21:56.396434906 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:56 WARNING] Tactic Device request: 806MB Available: 409MB. Device memory is insufficient to use tactic.
2023-12-27 20:21:56.417556252 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:56 WARNING] Skipping tactic 3 due to insufficient memory on requested size of 806 detected for tactic 0x0000000000000004.
2023-12-27 20:21:56.457616974 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:56 WARNING] Tactic Device request: 806MB Available: 409MB. Device memory is insufficient to use tactic.
2023-12-27 20:21:56.478414558 [W:onnxruntime:Default, tensorrt_execution_provider.h:75 log] [2023-12-27 12:21:56 WARNING] Skipping tactic 8 due to insufficient memory on requested size of 806 detected for tactic 0x000000000000003c.
The setup of the jetson module is as below:
jetpack: 5.1.1
tensorRT : 8.5.2.2
onnx-runtime: 1.15.1 ( Jetson Zoo - eLinux.org
python: 3.8.10
The computer which I trained and export the model with:
OS: Rocky Linux 9.3
GPU: Quadro RTX 4000 with CUDA 12.1
onnx: 1.15.1
python: 3.8.18
I exported the model with only one argument(format=‘onnx’), maybe I should export it into engine only? Before I tried, I found some post explaining that tensorRT would be call by the onnx-runtime, so I haven’t tried the engine file yet.