-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules: update cmsis-nn, cmsis-dsp, and tflite-micro #56957
modules: update cmsis-nn, cmsis-dsp, and tflite-micro #56957
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
71c2968
to
5788ff7
Compare
4abef35
to
b8205d2
Compare
wow.... ok, well... I may have uncovered a likely compiler bug. I noticed this on my local machine when running it, but it shows up here on twister build (20) here.
|
p.s. It might be related to https://bugs.launchpad.net/gcc-arm-embedded/+bug/1982289 (try without |
ddeaf3f
to
23d1ddc
Compare
Use CMSIS-DSP from its new realm. This also changes change how you initialize FFT tables as well to use arm_cfft_init_64_f32 if you know the FFT size in advance rather than the generic initialization arm_cfft_init_f32. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This adds the cmsis-nn module since it moved to its own realm. This also adds a kconfig for the long short-term memory. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
Update tflite-micro to use the latest. This also updates to use the cmsis-nn module. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
tflite-micro now uses MicroPrintf instead of MicroErrorReporter. Update the samples to use this function instead. AllOpsResolver is now removed from tflite-micro. AllOpsResolver was also removed in the latest tflite-micro. Use MicroMutableOpResolver and only include the kernels used instead. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
23d1ddc
to
72b55ab
Compare
Why does the zephyr bot keep adding the the "DNM" tag? |
The mobile app actually caches state incorrectly. Currently, the app shows 1 check failing, but all tests are clearly passing on the website. Might have been because Stephanos requested changes months ago - is that compiler issue sorted out / is there a workaround? |
Resisting the urge to immediately merge this. It's been cooking a while and has had plenty of time for review but the new policy says someone from a different org should merge. |
My only concern is with the branch naming of tflite-micro that happened with the merge here zephyrproject-rtos/tflite-micro#4 It looks like it got merged in to |
@XenuIsWatching Shouldn't
|
I am definitely tempted to say it's probably a bit of a PEBKAC too, as CI is not catching it, but OTH I can reproduce on three different workspaces / OSes. It looks like kconfiglib is getting confused. Again, |
I looked in to this. This is just a folder naming issue. |
Re-add finer grained compilation control that was lost in the CMSIS split (zephyrproject-rtos#56957). CMSIS DSP is several hundred files and has a measurable effect on compile times. Only compiling features that are required improves this. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Re-add finer grained compilation control that was lost in the CMSIS split (#56957). CMSIS DSP is several hundred files and has a measurable effect on compile times. Only compiling features that are required improves this. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
Related Issue: #56917
CMSIS-NN and CMSIS-DSP have been moved out of CMSIS. This brings them up to date with the latest of those repos.
A dependency of updating cmsis-nn also required tflite-micro to be updated.
New Zephyr Modules have already been created for cmsis-dsp and cmsis-nn found here:
zephyrproject-rtos/cmsis-nn#1
zephyrproject-rtos/cmsis-dsp#1
cmsis also had to be updated to remove the cmsis-nn and cmsis-dsp code within it
zephyrproject-rtos/cmsis#21
tflite-micro has also been updated to the latest head (at the time of the pull) here:
zephyrproject-rtos/tflite-micro#4
This did require updating test cases for tflite-micro as some apis were deprecated or 'moved around'
cmsis-nn and cmsis-dsp now use the cmake-ext with the cmake defined within the zephyr repo