Replies: 6 comments 4 replies
-
it seems like the esp-dsp library implements vector operations in c not sure how hard it would be to port those over to micropython, I think I'll try doing that and maybe create a simple micrograd/tinygrad library on top of it. But just the inference part, it would be awesome to be able to run tinygrad models on a esp32 |
Beta Was this translation helpful? Give feedback.
-
The easiest would be to create some MicroPython C modules that exposes APIs for the relevant functionality. For inspiration, see how emlearn-micropython works - it implements classical ML models in C and MicroPython APIs. |
Beta Was this translation helpful? Give feedback.
-
I found this example on how to use the ESP32 S3 SIMD instructions on arduino |
Beta Was this translation helpful? Give feedback.
-
Is AI inference possible on the ESP32-S3 using MicroPython? Yes, that's what I'm expecting.😀 |
Beta Was this translation helpful? Give feedback.
-
If anyone would add ESP S3 acceleration to the TinyMaix C library, I would be happy to include that as a build configuration in emlearn_cnn (part of emlearn-micropython). It already runs small CNNs quite OK on an ESP32 S3 though, even without additional acceleration. Can do 20 fps of small models, or medium-sized models at more like 1 FPS. |
Beta Was this translation helpful? Give feedback.
-
I have been working on a Micropython binding for the esp32 DL models available at the moment. They are performing ok if you consider the price for the HW (the face detection at around 10FPS without a good multicore balance at a low image resolution). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Acording to espressif ESP32-S3 has AI Acceleration Support
is there any way of accessing those instructions via micropython? so far I only found resources on how to access it using their oficial library would be really cool to be able to inference models on it especially using python
Beta Was this translation helpful? Give feedback.
All reactions