Other Parts Discussed in Thread: AM68A, AM69A, AM67A, TDA4VM, TDA4VL, TDA4VH
Tool/software:
Question:
I am compiling a model with edgeai-tidl-tools for one of the 9.x SDKs (9.0, 9.1, 9.2).
When I am compiling, a message later in the logs shows a Segmentation Fault, like the following:
Running with OTF buffer optimizations Segmentation fault (core dumped) Could not open /USERS_PATH/edgeai-tidl-tools/model-artifacts/cl-ort-resnet18-v1/tempDir/subgraph_0_tidl_net/perfSimInfo.bin WARNING: [TIDL_E_DATAFLOW_INFO_NULL] Network compiler returned with error or didn't executed, this model can only be used on PC/Host emulation mode, it is not expected to work on target/EVM.
But the process didn’t actually exit with an error or indicate error to the user-level program, so I assumed it might be okay. I tried to run the model on PC, and it even gave some correct results.
Then when I try to run the model on device, I get error messages like the following:
TIDL_RT_OVX: ERROR: Create OpenVX graph failed TIDL_RT_OVX: ERROR: Verify OpenVX graph failed 0.73658s: VX_ZONE_ERROR:[tivxKernelTIDLCreate:907] Network version - 0x00000000, Expected version - 0x20240401 0.73817s: VX_ZONE_ERROR:[ownContextSendCmd:875] Command ack message returned failure cmd_status: -1 0.73824s: VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_79 0.73826s: VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core 0.73828s: VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel 0.73843s: VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.tidl:1:1 ... failed !!! 0.73848s: VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed 0.73868s: VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed 0.73888s: VX_ZONE_ERROR:[ownGraphScheduleGraphWrapper:885] graph is not in a state required to be scheduled 0.73890s: VX_ZONE_ERROR:[vxProcessGraph:813] schedule graph failed 0.73892s: VX_ZONE_ERROR:[vxProcessGraph:818] wait graph failed ERROR: Running TIDL graph ... Failed !!!
What might be happening here? How do I debug this or workaround it?
Devices impacted:
- AM62A, AM67A, AM68A, AM69A
- TDA4VM, TDA4AL, TDA4VL, TDA4VE, TDA4AEN, TDA4VEN, TDA4AEP, TDA4VL, TDA4VH
SDK’s impacted:
- 9.0, 9.1, 9.2 for Edge AI Linux SDK using edgeai-tidl-tools repo and ADAS/PSDK-RTOS SDK using build-in tidl_tools