TexasInstruments/edgeai-tidl-tools

TIDL_RT_OVX: ERROR when doing model inference on EVM

Closed this issue · 1 comments

I have successfully managed to compile my custom tflite model to be able to run it on the C7x-MMA (am62a).
When I run the entire model on the ARM cpu.,it runs without any problem.
When offloading subgraphs to C7x/MMA it crashes with the following error:

****** In DelegatePrepare ******
Number of subgraphs:2 , 31 nodes delegated out of 38 nodes

****** In tidlDelegate::Init ******
************ in TIDL_subgraphRtCreate ************
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=6) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
877117.684797 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
877117.684931 s: VX_ZONE_INIT:Enabled
877117.684951 s: VX_ZONE_ERROR:Enabled
877117.684968 s: VX_ZONE_WARNING:Enabled
877117.685811 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
877117.686021 s: VX_ZONE_INIT:[tivxHostInitLocal:93] Initialization Done for HOST !!!
TIDL_RT_OVX: ERROR: Config file size (37272 bytes) does not match size of sTIDL_IOBufDesc_t (37256 bytes)
877117.687658 s: VX_ZONE_ERROR:[tivxAddKernelTIDL:268] invalid values for num_input_tensors or num_output_tensors
877117.731633 s: VX_ZONE_ERROR:[vxMapUserDataObject:476] Invalid user data object reference

@graspergazon - Can you ensure that the SDK version is compatible with the tools version you're using? Checkout version compatibility