Found an unsupported target: EDPA_1_2 when executing DLA on G720

Hi,
I am trying to execute a DLA model compiled for MDLA5.3 on G720 pre-built pre-release image sourced from https://download.mediatek.com/aiot/download/prebuilt/v25.1-pr/scarthgap_k6.6_v25.1_genio-720-evk_private_250930084409_dev.tar.gz

i can compile the model to DLA using ncc-tflite sourced from NP8 downloads for mt8189
I use the below command to convert the tflite model to DLA
ncc-tflite –arch=mdla5.3 </path/to/model.tflite> -o </path/to/model.dla> –relax-fp32 –opt=3

this generates the DLA file for me.
Now i transfer this DLA file to my g720 target and use neuronrt to execute the model for benchmarking:

neuronrt -m hw -a model.tflite -i input.bin -o output.bin -c 10 -b 100

and i get the below error:

ERROR: libcmdl.so: cannot open shared object file: No such file or directory
WARNING: dlopen failed: libcmdl_ndk.mtk.vndk.so and libcmdl_ndk.mtk.so not found
WARNING: CmdlLibManager cannot get dlopen handle.
[apusys][info]apusysSession: Seesion(0xaaaae8cc9250): thd(neuronrt) version(5) log(0)
WARNING: Cannot create device for EDPA_1_2
WARNING: Found an unsupported target: EDPA_1_2
WARNING: Fail to revise subCompiledResult
WARNING: Fail to preprocess target-specific data in APUSYS_2_0 device.
WARNING: Fail to revise dla::CompiledResult
WARNING: Fail to preprocess dla::CompiledGraph
WARNING: Fail to preprocess dla::CompiledNetwork
ERROR: Cannot prepare execution.
ERROR: Successfully open network but cannot start execution.
ERROR: NeuronRuntime_loadNetworkFromFile fails: Cannot load network
Cannot load model from file model1.dla
Read dla fail

G720 contains MDLA5.3, so the compiled model should be able to run, but why am i getting the error: found unsupported target EDPA_1_2, and failure to load network?

Thank you for your question. Hope the following reply could answer your questions:)

Root Cause

  • The Genio-720 (MDLA5.3) hardware uses EDMA as its DLA execution engine.
  • By default, ncc-tflite generates models targeting EDPA for MDLA5.0 and later, unless specifically told otherwise.
  • The error "unsupported target: EDPA_1_2" occurs because the target image expects EDMA but the DLA model was compiled for EDPA.
  • As a result, loading or executing the model on Genio-720 fails.

Solution—Compile Model for EDMA Target

When building DLA models for Genio-720 (MDLA5.3), you must explicitly specify the ‘edma’ target.
For Genio-720, use EDMA version 3.6.

Correct compilation command:

ncc-tflite --arch==mdla5.3,edma3.6 <path/to/model.tflite> -o <path/to/model.dla> --relax-fp32 --opt=3

This ensures the generated DLA binary is compatible with the target hardware.

Reference

Summary Table

Hardware/Platform Default DLA Target in ncc-tflite Required Flag for Genio-720
MDLA5.0+ EDPA Add --edma=3.6 for Genio-720 compatibility
Genio-720 (MDLA5.3) EDMA (not EDPA) Must build for EDMA

Recommendations

  • Always check your platform’s required DLA execution engine (EDMA/EDPA) before compiling.
  • If you encounter “unsupported target” or “cannot load network” errors, verify the DLA file was compiled with the correct target for your device.