PyTorch on MicroControllers

srohit0: <p>We are working on deploying PyTorch on Micro Controllers with different sensors.</p>
<p>We are looking for optimization of exported model with quantization, fusion and other memory reduction techniques before exporting the model to onnx.</p>
<p>I’ve searched PyTorch Docs, Tutorials and Mobile Demos without luck.</p>
<p>If you’ve worked, planning to work or have interest, please leave guidance, comment and other helpful resources.</p>
<p>Thank you!</p>

anandijain: <p>Has there been any update on this?<br>
I’m interested in trying this too.</p>

srohit0: <p>Hello <a class="mention" href="/u/anandijain">@anandijain</a>, nice to connect with you here. We’re putting effort behind this to get it working. Check out <a href="http://bit.ly/deep-C" rel="nofollow noopener">bit.ly/deep-C</a></p>

srohit0: <p>Now you can try deepC without downloading or installing at <a href="http://tinyml.studio/" rel="noopener nofollow ugc">http://tinyml.studio/</a></p>

srohit0: <p>Here is a brief talk on how to bring ONNX and PyTorch models to your</p><div class="youtube-onebox lazy-video-container" data-video-id="CLKATaIQHi8" data-video-title="ONNX on MCUs" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=CLKATaIQHi8" target="_blank" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/CLKATaIQHi8/hqdefault.jpg" title="ONNX on MCUs" width="480" height="360">
  </a>
</div>


srohit0: <p>This video takes you step-by-step through how to develop a deep learning model with PyTorch. Rohit Sharma from AI Tech Systems (AITS), a leading firmware, software and services provider for low power IoT, Endpoint and tinyML devices, demonstrates how PyTorch can be used on Arm Cortex-M based systems. Get an in-depth look at how to bring on-device AI applications to a multitude of verticals, including Industrial IoT, smart space and much more as AITS showcase a live demo using Arduino and STM32F07 boards.</p>
<p><a href="https://link.medium.com/IhbcJzi4jgb" class="inline-onebox" rel="noopener nofollow ugc">Bringing ONNX Models to TinyML devices like Microcontrollers and IoT | by Rohit Sharma | AITS Journal | Medium</a></p>
<div class="youtube-onebox lazy-video-container" data-video-id="Dk2zdJsGjEA" data-video-title="AI Tech Talk: Bringing PyTorch Models to Cortex-M | AITS" data-provider-name="youtube">
  <a href="https://www.youtube.com/watch?v=Dk2zdJsGjEA" target="_blank" rel="noopener nofollow ugc">
    <img class="youtube-thumbnail" src="https://img.youtube.com/vi/Dk2zdJsGjEA/maxresdefault.jpg" title="AI Tech Talk: Bringing PyTorch Models to Cortex-M | AITS" width="690" height="388">
  </a>
</div>


srohit0: <p>Running a PyTorch or ONNX machine learning model on a microcontroller is as easy as bringing the notebook to cAInvas platform using notebook server and compiling it to MCU board of your choice. Here are simple step by step instructions</p>
<p><a href="https://www.researchgate.net/deref/https%3A%2F%2Fmedium.com%2Fai-techsystems%2Fbringing-pytorch-models-to-microcontrollers-ec53d81c21d4" rel="noopener nofollow ugc">https://medium.com/ai-techsystems/bringing-pytorch-models-to-microcontrollers-ec53d81c21d4</a></p>

Katy_Chen: <p>Hi, provide another tool for running PyTorch on Micro Controllers: <a href="https://skymizer.com/tinyonnc/" class="inline-onebox" rel="noopener nofollow ugc">Product- Tiny ONNC – Skymizer</a></p>