This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi experts,
We're trying to test model inference time on EDGE-AI-STUDIO, using am62a.
We also make sure it is able to complie our onnx model using edge-AI tools.
The tag is 09_00_00_06, also using am62a.
However, we were unable to complie model from model analyzer in EDGE-AI-STUDIO.
It will show this error:
---> 11 output = list(sess.run(None, {input_details[0].name : preprocess_for_multitask(sess, calib_images[num])}))[0] RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running TIDL_0 node. Name:'TIDLExecutionProvider_TIDL_0_0' Status Message: CHECK failed: (index) < (current_size_):
What might be the cause of this error?
Thanks.
Also, we uploaded the complied model and try to test inference time, but only cpu is working and not c7x_mma.
If we can get the result from c7x_mma, we won't need to complie models
this is the log for compilation
tidl_tools_path = /home/root/notebooks/tidl_tools artifacts_folder = custom-artifacts/onnx/multitask-v3_3_2 tidl_tensor_bits = 8 debug_level = 1 num_tidl_subgraphs = 16 tidl_denylist = tidl_denylist_layer_name = tidl_denylist_layer_type = tidl_allowlist_layer_name = model_type = tidl_calibration_accuracy_level = 7 tidl_calibration_options:num_frames_calibration = 1 tidl_calibration_options:bias_calibration_iterations = 3 mixed_precision_factor = -1.000000 model_group_id = 0 power_of_2_quantization = 2 enable_high_resolution_optimization = 0 pre_batchnorm_fold = 1 add_data_convert_ops = 0 output_feature_16bit_names_list = m_params_16bit_names_list = reserved_compile_constraints_flag = 1601 ti_internal_reserved_1 = ****** WARNING : Network not identified as Object Detection network : (1) Ignore if network is not Object Detection network (2) If network is Object Detection network, please specify "model_type":"OD" as part of OSRT compilation options****** Supported TIDL layer type --- Cast -- Cast_0 Supported TIDL layer type --- BatchNormalization -- BatchNormalization_5 Supported TIDL layer type --- Conv -- Conv_6 Supported TIDL layer type --- Relu -- Relu_7 Supported TIDL layer type --- MaxPool -- MaxPool_8 Supported TIDL layer type --- Conv -- Conv_9 Supported TIDL layer type --- Clip -- Clip_12 Supported TIDL layer type --- Conv -- Conv_13 Supported TIDL layer type --- Add -- Add_14 Supported TIDL layer type --- Clip -- Clip_17 Supported TIDL layer type --- Conv -- Conv_18 Supported TIDL layer type --- Clip -- Clip_21 Supported TIDL layer type --- Conv -- Conv_22 Supported TIDL layer type --- Add -- Add_23 Supported TIDL layer type --- Clip -- Clip_26 Supported TIDL layer type --- Conv -- Conv_27 Supported TIDL layer type --- Clip -- Clip_30 Supported TIDL layer type --- Conv -- Conv_31 Supported TIDL layer type --- Conv -- Conv_32 Supported TIDL layer type --- Add -- Add_33 Supported TIDL layer type --- Clip -- Clip_36 Supported TIDL layer type --- Conv -- Conv_37 Supported TIDL layer type --- Clip -- Clip_40 Supported TIDL layer type --- Conv -- Conv_41 Supported TIDL layer type --- Add -- Add_42 Supported TIDL layer type --- Clip -- Clip_45 Supported TIDL layer type --- Conv -- Conv_46 Supported TIDL layer type --- Clip -- Clip_49 Supported TIDL layer type --- Conv -- Conv_50 Supported TIDL layer type --- Conv -- Conv_51 Supported TIDL layer type --- Add -- Add_52 Supported TIDL layer type --- Clip -- Clip_55 Supported TIDL layer type --- Conv -- Conv_56 Supported TIDL layer type --- Clip -- Clip_59 Supported TIDL layer type --- Conv -- Conv_60 Supported TIDL layer type --- Add -- Add_61 Supported TIDL layer type --- Clip -- Clip_64 Supported TIDL layer type --- Conv -- Conv_65 Supported TIDL layer type --- Clip -- Clip_68 Supported TIDL layer type --- Conv -- Conv_69 Supported TIDL layer type --- Conv -- Conv_70 Supported TIDL layer type --- Add -- Add_71 Supported TIDL layer type --- Clip -- Clip_74 Supported TIDL layer type --- Conv -- Conv_75 Supported TIDL layer type --- Clip -- Clip_78 Supported TIDL layer type --- Conv -- Conv_79 Supported TIDL layer type --- Add -- Add_80 Supported TIDL layer type --- Clip -- Clip_83 Supported TIDL layer type --- Conv -- Conv_84 Supported TIDL layer type --- Conv -- Conv_85 Supported TIDL layer type --- Conv -- Conv_86 Supported TIDL layer type --- Resize -- Resize_88 Supported TIDL layer type --- Add -- Add_89 Supported TIDL layer type --- Resize -- Resize_91 Supported TIDL layer type --- Add -- Add_92 Supported TIDL layer type --- Conv -- Conv_93 Supported TIDL layer type --- Conv -- Conv_94 Supported TIDL layer type --- Conv -- Conv_95 Supported TIDL layer type --- Conv -- Conv_96 Supported TIDL layer type --- Clip -- Clip_99 Supported TIDL layer type --- Conv -- Conv_100 Supported TIDL layer type --- Clip -- Clip_103 Supported TIDL layer type --- Conv -- Conv_104 Supported TIDL layer type --- Clip -- Clip_107 Supported TIDL layer type --- Conv -- Conv_108 Supported TIDL layer type --- Conv -- Conv_109 Supported TIDL layer type --- Clip -- Clip_112 Supported TIDL layer type --- Conv -- Conv_113 Supported TIDL layer type --- Clip -- Clip_116 Supported TIDL layer type --- Conv -- Conv_117 Supported TIDL layer type --- Clip -- Clip_120 Supported TIDL layer type --- Conv -- Conv_121 Supported TIDL layer type --- Clip -- Clip_124 Supported TIDL layer type --- Conv -- Conv_125 Supported TIDL layer type --- Clip -- Clip_128 Supported TIDL layer type --- Conv -- Conv_129 Supported TIDL layer type --- Clip -- Clip_132 Supported TIDL layer type --- Conv -- Conv_133 Supported TIDL layer type --- Conv -- Conv_134 Supported TIDL layer type --- Clip -- Clip_137 Supported TIDL layer type --- Conv -- Conv_138 Supported TIDL layer type --- Clip -- Clip_141 Supported TIDL layer type --- Conv -- Conv_142 Supported TIDL layer type --- Conv -- Conv_143 Supported TIDL layer type --- Clip -- Clip_146 Supported TIDL layer type --- Conv -- Conv_147 Supported TIDL layer type --- Conv -- Conv_148 Supported TIDL layer type --- Clip -- Clip_151 Supported TIDL layer type --- Conv -- Conv_152 Supported TIDL layer type --- Conv -- Conv_153 Supported TIDL layer type --- Clip -- Clip_156 Supported TIDL layer type --- Conv -- Conv_157 Supported TIDL layer type --- Clip -- Clip_160 Supported TIDL layer type --- Conv -- Conv_161 Supported TIDL layer type --- Clip -- Clip_164 Supported TIDL layer type --- Conv -- Conv_165 Supported TIDL layer type --- Conv -- Conv_166 Supported TIDL layer type --- Clip -- Clip_169 Supported TIDL layer type --- Conv -- Conv_170 Supported TIDL layer type --- Clip -- Clip_173 Supported TIDL layer type --- Conv -- Conv_174 Supported TIDL layer type --- Clip -- Clip_177 Supported TIDL layer type --- Conv -- Conv_178 Supported TIDL layer type --- Clip -- Clip_181 Supported TIDL layer type --- Conv -- Conv_182 Supported TIDL layer type --- Clip -- Clip_185 Supported TIDL layer type --- Conv -- Conv_186 Supported TIDL layer type --- Clip -- Clip_189 Supported TIDL layer type --- Conv -- Conv_190 Supported TIDL layer type --- Conv -- Conv_191 Supported TIDL layer type --- Clip -- Clip_194 Supported TIDL layer type --- Conv -- Conv_195 Supported TIDL layer type --- Clip -- Clip_198 Supported TIDL layer type --- Conv -- Conv_199 Supported TIDL layer type --- Conv -- Conv_200 Supported TIDL layer type --- Clip -- Clip_203 Supported TIDL layer type --- Conv -- Conv_204 Supported TIDL layer type --- Conv -- Conv_205 Supported TIDL layer type --- Clip -- Clip_208 Supported TIDL layer type --- Conv -- Conv_209 Supported TIDL layer type --- Conv -- Conv_210 Supported TIDL layer type --- Clip -- Clip_213 Supported TIDL layer type --- Conv -- Conv_214 Supported TIDL layer type --- Clip -- Clip_217 Supported TIDL layer type --- Conv -- Conv_218 Supported TIDL layer type --- Clip -- Clip_221 Supported TIDL layer type --- Conv -- Conv_222 Supported TIDL layer type --- Conv -- Conv_223 Supported TIDL layer type --- Clip -- Clip_226 Supported TIDL layer type --- Conv -- Conv_227 Supported TIDL layer type --- Clip -- Clip_230 Supported TIDL layer type --- Conv -- Conv_231 Supported TIDL layer type --- Clip -- Clip_234 Supported TIDL layer type --- Conv -- Conv_235 Supported TIDL layer type --- Clip -- Clip_238 Supported TIDL layer type --- Conv -- Conv_239 Supported TIDL layer type --- Clip -- Clip_242 Supported TIDL layer type --- Conv -- Conv_243 Supported TIDL layer type --- Clip -- Clip_246 Supported TIDL layer type --- Conv -- Conv_247 Supported TIDL layer type --- Conv -- Conv_248 Supported TIDL layer type --- Clip -- Clip_251 Supported TIDL layer type --- Conv -- Conv_252 Supported TIDL layer type --- Clip -- Clip_255 Supported TIDL layer type --- Conv -- Conv_256 Supported TIDL layer type --- Conv -- Conv_257 Supported TIDL layer type --- Clip -- Clip_260 Supported TIDL layer type --- Conv -- Conv_261 Supported TIDL layer type --- Conv -- Conv_262 Supported TIDL layer type --- Clip -- Clip_265 Supported TIDL layer type --- Conv -- Conv_266 Supported TIDL layer type --- Conv -- Conv_267 Supported TIDL layer type --- Conv -- Conv_268 Supported TIDL layer type --- Conv -- Conv_269 Supported TIDL layer type --- Conv -- Conv_270 Supported TIDL layer type --- Conv -- Conv_271 Supported TIDL layer type --- Conv -- Conv_272 Supported TIDL layer type --- Conv -- Conv_273 Supported TIDL layer type --- Conv -- Conv_274 Supported TIDL layer type --- Conv -- Conv_275 Supported TIDL layer type --- Conv -- Conv_276 Supported TIDL layer type --- Conv -- Conv_277 Supported TIDL layer type --- Conv -- Conv_278 Supported TIDL layer type --- Conv -- Conv_279 Supported TIDL layer type --- Relu -- Relu_280 Supported TIDL layer type --- Conv -- Conv_281 Supported TIDL layer type --- Relu -- Relu_282 Supported TIDL layer type --- Conv -- Conv_283 Supported TIDL layer type --- Concat -- Concat_285 Supported TIDL layer type --- Conv -- Conv_286 Supported TIDL layer type --- Clip -- Clip_289 Supported TIDL layer type --- MaxPool -- MaxPool_290 Supported TIDL layer type --- Flatten -- Flatten_291 Supported TIDL layer type --- Gemm -- Gemm_292 Supported TIDL layer type --- Conv -- Conv_293 Supported TIDL layer type --- Clip -- Clip_296 Supported TIDL layer type --- MaxPool -- MaxPool_297 Supported TIDL layer type --- Flatten -- Flatten_298 Supported TIDL layer type --- Gemm -- Gemm_299 Supported TIDL layer type --- Conv -- Conv_300 Supported TIDL layer type --- Conv -- Conv_301 Supported TIDL layer type --- Clip -- Clip_304 Supported TIDL layer type --- MaxPool -- MaxPool_305 Supported TIDL layer type --- MaxPool -- MaxPool_306 Supported TIDL layer type --- Flatten -- Flatten_307 Supported TIDL layer type --- Gemm -- Gemm_308 Supported TIDL layer type --- Conv -- Conv_309 Supported TIDL layer type --- Clip -- Clip_312 Supported TIDL layer type --- Conv -- Conv_313 Supported TIDL layer type --- Clip -- Clip_316 Supported TIDL layer type --- Flatten -- Flatten_317 Supported TIDL layer type --- Gemm -- Gemm_318 Supported TIDL layer type --- Gemm -- Gemm_319 Supported TIDL layer type --- Gemm -- Gemm_320 Supported TIDL layer type --- Gemm -- Gemm_321 Supported TIDL layer type --- Concat -- Concat_322 Supported TIDL layer type --- Concat -- Concat_323 Supported TIDL layer type --- Concat -- Concat_324 Preliminary subgraphs created = 1 Final number of subgraphs created are : 1, - Offloaded Nodes - 198, Total Nodes - 198 INFORMATION -- [TIDL_ResizeLayer] Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize. INFORMATION -- [TIDL_ResizeLayer] Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize. Running runtimes graphviz - /home/root/notebooks/tidl_tools/tidl_graphVisualiser_runtimes.out custom-artifacts/onnx/multitask-v3_3_2/allowedNode.txt custom-artifacts/onnx/multitask-v3_3_2/tempDir/graphvizInfo.txt custom-artifacts/onnx/multitask-v3_3_2/tempDir/runtimes_visualization.svg *** In TIDL_createStateImportFunc *** Compute on node : TIDLExecutionProvider_TIDL_0_0 0, Cast, 1, 1, img, 241 1, BatchNormalization, 5, 1, 241, 246 2, Conv, 3, 1, 246, 656 3, Relu, 1, 1, 656, 249 4, MaxPool, 1, 1, 249, 250 5, Conv, 3, 1, 250, 659 6, Clip, 3, 1, 659, 255 7, Conv, 3, 1, 255, 662 8, Add, 2, 1, 662, 258 9, Clip, 3, 1, 258, 261 10, Conv, 3, 1, 261, 665 11, Clip, 3, 1, 665, 266 12, Conv, 3, 1, 266, 668 13, Add, 2, 1, 668, 269 14, Clip, 3, 1, 269, 272 15, Conv, 3, 1, 272, 671 16, Clip, 3, 1, 671, 277 17, Conv, 3, 1, 277, 674 18, Conv, 3, 1, 272, 677 19, Add, 2, 1, 674, 282 20, Clip, 3, 1, 282, 285 21, Conv, 3, 1, 285, 680 22, Clip, 3, 1, 680, 290 23, Conv, 3, 1, 290, 683 24, Add, 2, 1, 683, 293 25, Clip, 3, 1, 293, 296 26, Conv, 3, 1, 296, 345 27, Conv, 3, 1, 296, 686 28, Clip, 3, 1, 686, 301 29, Conv, 3, 1, 301, 689 30, Conv, 3, 1, 296, 692 31, Add, 2, 1, 689, 306 32, Clip, 3, 1, 306, 309 33, Conv, 3, 1, 309, 695 34, Clip, 3, 1, 695, 314 35, Conv, 3, 1, 314, 698 36, Add, 2, 1, 698, 317 37, Clip, 3, 1, 317, 320 38, Conv, 3, 1, 320, 346 39, Conv, 3, 1, 320, 701 40, Clip, 3, 1, 701, 325 41, Conv, 3, 1, 325, 704 42, Conv, 3, 1, 320, 707 43, Add, 2, 1, 704, 330 44, Clip, 3, 1, 330, 333 45, Conv, 3, 1, 333, 710 46, Clip, 3, 1, 710, 338 47, Conv, 3, 1, 338, 713 48, Add, 2, 1, 713, 341 49, Clip, 3, 1, 341, 344 50, Conv, 3, 1, 344, 347 51, Resize, 3, 1, 347, 352 52, Add, 2, 1, 346, 353 53, Resize, 3, 1, 353, 358 54, Add, 2, 1, 345, 359 55, Conv, 3, 1, 359, 360 56, Conv, 3, 1, 360, 752 57, Relu, 1, 1, 752, 608 58, Conv, 3, 1, 608, 755 59, Relu, 1, 1, 755, 611 60, Conv, 3, 1, 611,
I have brought this thread to attention of the EDGE AI Studio team.
Thanks
ki
Liu,
Can you let me know which ONNX opset is your model exported for?
Thanks,
Varun