Commit Graph

57 Commits

Author SHA1 Message Date
Jun Zhu
503963b7f5 nnshark: Update nnshark_2023.11.imx.bb to commit a5096a6
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-11-15 21:32:05 +08:00
Jun Zhu
800e1ffb0b nnshark: Upgrade to v2023.11 [YOCIMX-7441]
Switch to branch 2023.11.imx

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-11-15 21:18:25 +08:00
Alexi Birlinger
70a8956c9d nnstreamer: Remove ArmNN leftovers
Signed-off-by: Alexi Birlinger <alexi.birlinger@nxp.com>
2023-07-20 15:18:27 +02:00
Alexi Birlinger
1620522005 nnstreamer: Remove DeepviewRT package
Signed-off-by: Alexi Birlinger <alexi.birlinger@nxp.com>
2023-07-20 15:18:27 +02:00
X.F. Ren
9d3962f4f5 nnstreamer: Re-enable deepview-rt
Signed-off-by: X.F. Ren <xiaofeng.ren@nxp.com>
2023-04-17 08:20:58 -07:00
Joshua Puerta
638f3b4e1f nnstreamer: deepview-rt temporarily disabled
Removed deepview-rt dependency to allow ONNX Runtime 1.13.1 upgrade. Same idea as commit 01451ea5f0

Signed-off-by: Joshua Puerta joshua.puerta@nxp.com
2023-03-08 16:14:42 +01:00
Neena Busireddy
ccefcb099e Revert "nnstreamer: deepview-rt temporarily disabled"
This reverts commit ae75257f7b.
2023-03-07 12:12:52 -07:00
Joshua Puerta
ae75257f7b nnstreamer: deepview-rt temporarily disabled
Removed deepview-rt dependency to allow ONNX Runtime 1.13.1 upgrade. Same idea as commit 01451ea5f0

Signed-off-by: Joshua Puerta joshua.puerta@nxp.com
2023-03-07 19:47:31 +01:00
Jun Zhu
5f83208410 nnshark: Update nnshark_2021.10.imx.bb to commit e905828
pick up the commit of add SCR.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-03-02 17:13:00 +08:00
Alexi Birlinger
b947a45d49 nnshark: Add SCR file
Signed-off-by: Alexi Birlinger <alexi.birlinger@nxp.com>
(cherry picked from commit a0afb200d1)
2023-02-06 11:41:25 -06:00
Jun Zhu
9c2f4af933 nnshark: Download git sumbmodule gstreamer/common in do_fetch [YOCIMX-6754]
From Yocto 4.0, Recipes shouldn't be accessing the network outside of ``do_fetch``.
But nnshark.git contains .gitsubmodule, which will failure during do_configure:
| DEBUG: Executing shell function do_configure
| + Setting up common submodule
| Submodule 'common' (git://anongit.freedesktop.org/gstreamer/common) registered for path 'common'
| fatal: unable to look up anongit.freedesktop.org (port 9418) (Temporary failure in name resolution)

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-12-30 09:18:47 +08:00
Alexi Birlinger
cc4f527b7d nnstreamer: Remove tvm support except on imx8mp [GVP-175]
Remove TVM support from all GPU platforms as accuracy is very low
Keep TVM support for VSI-NPU on i.MX8MP

Signed-off-by: Alexi Birlinger <alexi.birlinger@nxp.com>
2022-12-23 14:37:03 +01:00
Jun Zhu
c0db1012c1 nnstreamer: Re-enable deepview-rt
This reverts commit 01451ea5f0.
2022-12-23 15:28:28 +08:00
Adam Lanicek
01451ea5f0 nnstreamer: deepview-rt temporarily disabled
deepview-rt depends on the libmodelrunner.so which depends on the current version
of TF Lite, which is v2.9.1, rendering the deepview-rt unbuildable after
the TF Lite upgrade to v2.10.0.

Signed-off-by: Adam Lanicek adam.lanicek@nxp.com
2022-12-08 15:16:46 +01:00
Julien Vuillaumier
0df4716e16 nnstreamer: Disable tflite2-custom to avoid build breakage [GVP-173]
NNStreamer feature tflite2-custom has flawed meson configuration
that may break the cross-compilation on some build machines.

Feature is unused so explicitly disable it for now to workaround
the issue until the problem is fixed upstream.

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-11-18 15:47:54 -06:00
Alexi Birlinger
bcf06d3961 nnstreamer: Enable nnstreamer unittest_query test suite [LF-7443]
Add nnstreamer-edge as tensor_query is now dependent of this library

Signed-off-by: Alexi Birlinger <alexi.birlinger@nxp.com>
(cherry picked from commit 88c471c057)
2022-11-17 16:28:08 -06:00
Aymen Sghaier
554fc9d0ef nnstreamer: update symlink for nnstreamer_python3 module
nnstreamer_python3.so install dir was updated to default libdir folder:
     "0d14160f 2022-05-17 Jaeyun [Python] path to python helper lib"
 thus symlink needs to be updated

Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
(cherry picked from commit 31d1db7318)
2022-10-31 08:27:31 -05:00
Alexi Birlinger
22ed565cd8 nnstreamer: Add missing meson option
Enable float16 type to meson option to fix float16 failure on transform_typecast ssat test

Signed-off-by: Alexi Birlinger <alexi.birlinger@nxp.com>
2022-10-19 12:09:36 -05:00
Julien Vuillaumier
8db2d42fd3 nnstreamer: Update to v2.2.0
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-10-05 16:54:09 +02:00
Aymen Sghaier
3f8e4478b7 nnstreamer: Add patch file for tensor decoder mobilenet v3 support
Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-09-06 08:45:51 -05:00
Neena Busireddy
39bc4d8196 meta-imx: Point external source repos in all recipes to github.com/nxp-imx from source.codeaurora.org [YOCIMX-6496]
CAF is replaced with Github for all the external repos

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
2022-08-25 11:03:25 -07:00
Julien Vuillaumier
49d06b6cb4 nnstreamer: Add support for i.MX9
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-07-20 18:02:41 +02:00
Aymen Sghaier
45a574223e nnstreamer: Add install symlink to nnstreamer_python3 module
Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
2022-07-07 15:36:48 +02:00
Neena Busireddy
ee8414b107 nnstreamer: Disable tvm packageconfig for i.MX8MM
Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
2022-07-06 11:23:18 -07:00
Julien Vuillaumier
31cd5fedc2 nnstreamer: Enable tvm filter
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-07-01 12:03:01 +02:00
Julien Vuillaumier
b85613545c nnstreamer: Fix vx delegate usage coming with tensorflow-lite 2.9.1
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-06-30 09:39:57 +02:00
Julien Vuillaumier
49a222d553 nnstreamer: Add deepview-rt engine support
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-06-10 20:03:29 +02:00
Julien Vuillaumier
31c61ab85c nnstreamer: Add fix for ssd box decoding without postprocessing [GVP-85]
Add a patch that fixes decoding output of SSD object detection model
without post processing.

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-06-02 06:53:01 -07:00
Julien Vuillaumier
9577acb6df nnstreamer: Upgrade version from 2.0.0 to 2.1.1
Obsolete meson options removed.
Upstreamed patch removed.

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-04-29 19:02:12 +02:00
Tom Hochstein
1f83411d87 meta-*: Update LICENSE variables to SPDX
An automated conversion using scripts/contrib/convert-spdx-licenses.py
to convert to use the standard SPDX license identifiers.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-03-13 18:14:45 -05:00
Julien Vuillaumier
8636a99a9d nnstreamer: filter: tflite: Remove deprecated NNAPI support
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-03-09 14:49:08 +01:00
Neena Busireddy
cfafd786f8 meta-ml: Remove armnn related recipes and its dependencies [YOCIMX-5986]
armnn will not be supported from Q2 20222 release

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
2022-03-08 06:53:31 -07:00
Jun Zhu
d94d2e50db nnshark: Update nnshark_2021.10.imx.bb to commit c815749
Correct git commit pattern for component reivsion parsing

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-01-12 13:59:38 +08:00
Julien Vuillaumier
a29e2334bc nnshark: Update nnshark_2021.10.imx.bb to commit c815749 [LF-5179]
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-01-06 11:15:31 -06:00
Julien Vuillaumier
5d191c8b9e nnshark: Merge nnshark.inc into actual nnshark recipe
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-01-06 11:15:31 -06:00
Julien Vuillaumier
a125e47810 nnstreamer: filter: tflite: Fix delegate crash on pipeline stop [LF-5190]
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2022-01-04 15:27:05 -07:00
Jun Zhu
6c5c62e220 nnshark: Update nnshark_2021.10.imx.bb to commit b2943cd
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2021-12-23 14:02:52 +08:00
Julien Vuillaumier
de4852d489 nnstreamer: filter: tflite: Add XNNPACK delegate support
Addition of XNNPACK delegate support to TFLite tensor filter:
- 2 commits cherry-picked from upstream project
- recipe update to enable the feature at configuration time

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-12-01 18:18:41 +01:00
Julien Vuillaumier
2294549405 nnstreamer: filter: tflite: Add external delegate support
tflite filter addition of external delegate patches from
upstream as feature is enabled in tflite framework.

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>

nnstreamer: enable external delegate

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>

Cherry-picked from
branch: imx-release/hardknott-5.10.72-2.2.0
commit: 14f6a4775e

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-11-19 15:01:48 +01:00
Julien Vuillaumier
bbec7a7fbd nnstreamer: filter: tflite: Fix crash with default delegate [LF-4880]
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>

Cherry-picked from
branch: imx-release/hardknott-5.10.72-2.2.0
commit: 82ed3ea375

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-11-19 15:01:48 +01:00
Julien Vuillaumier
2d5f9b49e7 nnstreamer: Fix gcc 11 build issues
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-11-03 18:54:10 +01:00
Julien Vuillaumier
f8b687864a nnstreamer: Fix glib g_memdup() deprecation from 2.68 onward
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-11-03 18:54:10 +01:00
Julien Vuillaumier
923a8cc2ce nnstreamer: Update nnshark to 2021.10.imx
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-10-21 15:22:47 -05:00
Cristinel Panfir
8f61edbbcd nnstreamer: multilib: Fix do_package [YOCIMX-5756]
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2021-10-21 15:20:29 -05:00
Neena Busireddy
6b95c94517 meta-imx: Convert to new override syntax
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
2021-10-20 15:01:20 -05:00
Julien Vuillaumier
86a3716634 nnstreamer: Enable armnn tensor filter package by default
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-10-19 16:52:37 +02:00
Julien Vuillaumier
951b40b49e nnstreamer: Define armnn tensor filter package
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-10-19 16:52:37 +02:00
Julien Vuillaumier
b94489489f nnstreamer: Add patch for build error when armnn caffe disabled
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-10-19 16:52:36 +02:00
Julien Vuillaumier
54e69e272c nnstreamer: Add patch for armnn vsi npu support
VSI NPU backend is supported via a patch in armnn, thus not
available in upstream nnstreamer.

Add nnstreamer patch to enable VSI NPU backend using
TensorFilter element property:
accelerator=true:npu

Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-10-19 16:52:36 +02:00
Julien Vuillaumier
c9d2283ba1 nnstreamer: Alphabetized packages definitions
Signed-off-by: Julien Vuillaumier <julien.vuillaumier@nxp.com>
2021-10-19 16:52:36 +02:00