11# ExecuTorch Samsung Exynos Delegate
22
3- The subtree contains Exynos delegation implementation for ExecuTorch. The target of delegation
4- is deploying torch model run with exynos NPU/DSP.
3+ The subtree contains Exynos delegate implementation for ExecuTorch. The target of delegation
4+ is deploying torch model to run with exynos NPU/DSP.
55
6- This backend is implemented on the top of [ EXYNOS_LITECORE] ( https://soc-developer.semiconductor.samsung.com/global/development/light-core )
6+ This backend is implemented on the top of [ EXYNOS_LITECORE] ( https://soc-developer.semiconductor.samsung.com/global/development/ai-litecore )
77Please prepare the SDK before you start, it is important to code compilation and runtime.
88
99## Delegate Options
@@ -33,26 +33,26 @@ examples
3333```
3434
3535## How to build
36- Please download Exynos AI LiteCore, and set the root path of SDK directory to ` EXYNOS_AI_LITECORE_PATH ` .</br >
36+ Please download Exynos AI LiteCore, and set the root path of SDK directory to ` EXYNOS_AI_LITECORE_ROOT ` .</br >
3737Please navigate to [ Android NDK] ( https://developer.android.com/ndk ) and download a version of NDK.
3838` ANDROID_NDK ` refers the root path of NDK directory.</br >
3939
4040### Set up environment variables
4141``` bash
42- export LD_LIBRARY_PATH=${EXYNOS_AI_LITECORE_PATH} /lib64
42+ export LD_LIBRARY_PATH=${EXYNOS_AI_LITECORE_ROOT} /lib/x86_64-linux/
4343```
4444
4545### Build AOT Targets
46- Generated python artifacts allow user call ` Compile ` interface to lower a model to ENN backend in python script.
46+ Generates python artifacts that allow user call ` Compile ` interface to lower a model to Exynos backend in python script.
4747``` bash
4848./backends/samsung/build.sh -b x86_64
4949```
5050
51- ### Build ENN Runtime
51+ ### Build ENN Executor Runner
5252``` bash
5353./backends/samsung/build.sh -b android --ndk ${ANDROID_NDK}
5454```
55- ANDROID_ABI=arm64-v8a is default, necessary runtime executable generate in ` build_exynos_android ` directory.
55+ ANDROID_ABI=arm64-v8a is default, necessary runtime executable generated in ` build_exynos_android ` directory.
5656
5757### Build Anroid Extension
5858This is later exposed Java app. Please turn on CMake option ` EXECUTORCH_BUILD_ENN ` , and ENN runtime will be added.
@@ -67,5 +67,6 @@ cmake --build cmake-android-out/extension/android -j8
6767```
6868
6969## Examples
70+ python -m executorch.examples.samsung.aot_compiler --chipset e9955 -m ic3
7071
7172Please see this [ README.md] ( ../../examples/samsung/README.md ) .
0 commit comments