stai-mpu provides a common ML API for stm32mpu platforms, allowing applications to use different inference frameworks without changing any code. Its packages consist of pre-built libraries that are in charge of interfacing with the three supported frameworks (tflite, onnx and openvx). While it's possible to install only a subset of these libraries to limit the supported frameworks on the target device, all libraries are packaged unconditionally at build-time, pulling in the dependencies of all three frameworks. In our case, this pulls in onnxruntime dependencies even though we only install the tflite and openvx packages in our ccmp25 images. This tends to cause out-of-memory errors when onnxruntime is built at the same time as other large packages, such as opencv and wpewebkit. Since most of these dependencies are already present at a higher level in the x-linux-ai packagegroup recipes, remove them from the stai-mpu recipe and skip the runtime dependency QA checks to be able to build the packages without their respective frameworks. In the case of the ccmp25-dvk, this has no effect on the final image contents, but it prevents onnxruntime from being built for no reason. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com> |
||
|---|---|---|
| .. | ||
| classes | ||
| conf | ||
| dynamic-layers | ||
| recipes-aws | ||
| recipes-connectivity | ||
| recipes-core | ||
| recipes-crank | ||
| recipes-devtools | ||
| recipes-digi | ||
| recipes-extended | ||
| recipes-gnome | ||
| recipes-graphics | ||
| recipes-multimedia | ||
| recipes-sato | ||
| recipes-support | ||
| DIGI_EULA | ||
| DIGI_OPEN_EULA | ||
| README | ||
README
OpenEmbedded/Yocto Digi Embedded Linux layer ============================================ This layer provides the Digi Embedded Linux distribution images. This layer depends on: git://git.yoctoproject.org/poky.git git://git.openembedded.org/meta-openembedded.git git://git.yoctoproject.org/meta-freescale.git git://github.com/Freescale/meta-fsl-demos.git Digi's license agreements ------------------------- All software is covered by Digi's general EULA and Digi's Open Source EULA. To have the right to use the software in your images you need to read and accept both EULAs at the DIGI_EULA and DIGI_OPEN_EULA files. NXP Semiconductors' software license agreement ---------------------------------------------- Some platforms depends on libraries and packages that are covered by NXP Semiconductors' EULA. To have the right to use those binaries in your images you need to read and accept the EULA file in meta-freescale Yocto layer. Support ------- This layer is provided 'as is' with no guarantee. However, some support may be available from tech.support@digi.com