From c5c9838e54847624886198d4c6665566a4f3e979 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Thu, 29 Feb 2024 11:08:03 +0100 Subject: [PATCH] packagegroup-imx-ml: imx93: only install tensorflow-lite Not installing all the ML packages but just tensorflow-lite saves space. We are not including onnxruntime and torchvision, which are not supported by the i.mx93 (see NXP user guide for details). The ext4.gz size is decreased from 430MB to 217MB. Signed-off-by: Isaac Hermida --- .../recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend b/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend index b9b63a1e7..e187c97cb 100644 --- a/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend +++ b/meta-digi-dey/dynamic-layers/meta-ml/recipes-fsl/packagegroup/packagegroup-imx-ml.bbappend @@ -2,7 +2,8 @@ ML_NNSTREAMER_PKGS_LIST:remove = "nnstreamer-deepview-rt" -ML_PKGS:mx9-nxp-bsp:remove = "deepview-rt-examples" +# Only install tensorflow-lite to save space +ML_PKGS:mx9-nxp-bsp:mx93-nxp-bsp = "tensorflow-lite" # ARM ethos-u package ETHOS_U_PKGS:append:mx93-nxp-bsp = " \