paper-with-me

홈 › Papers

Deep Compression for PyTorch Model Deployment on Microcontrollers

2021-03-29 · Eren Dogan, H. Fatih Ugurdag, Hasan Unlu

Neural network deployment on low-cost embedded systems, hence on microcontrollers (MCUs), has recently been attracting more attention than ever. Since MCUs have limited memory capacity as well as limited compute-speed, it is critical that we employ model compression, which reduces both memory and compute-speed requirements. In this paper, we add model compression, specifically Deep Compression, and further optimize Unlu's earlier work on arXiv, which efficiently deploys PyTorch models on MCUs. First, we prune the weights in convolutional and fully connected layers. Secondly, the remaining weights and activations are quantized to 8-bit integers from 32-bit floating-point. Finally, forward pass functions are compressed using special data structures for sparse matrices, which store only nonzero weights (without impacting performance and accuracy). In the case of the LeNet-5 model, the memory footprint was reduced by 12.45x, and the inference speed was boosted by 2.57x.

📄 PDF Abstract BibTeX arXiv:2103.15972

Code (1)

biarmic/pytorch-compression-for-mcu 공식 구현 pytorch

Tasks

modelModel Compression

Similar Papers 제목 키워드 기반

ExecuTorch -- A Unified PyTorch Solution to Run AI Models On-Device

2026-05-05 · Mergen Nachin, Digant Desai, Sicheng Stephen Jia, Chen Lai 외 arxiv

Local execution of AI on edge devices is important for low latency and offline operation. However, deploying models on diverse hardware remains fragmented, often requiring model conversion or complete reimplementation ou…

OpTC -- A Toolchain for Deployment of Neural Networks on AURIX TC3xx Microcontrollers

2024-04-24 · Christian Heidorn, Frank Hannig, Dominik Riedelbauch, Christoph Strohmeyer 외

The AURIX 2xx and 3xx families of TriCore microcontrollers are widely used in the automotive industry and, recently, also in applications that involve machine learning tasks. Yet, these applications are mainly engineered…

Code Generation

Efficient Neural Network Deployment for Microcontroller

2020-07-02 · Hasan Unlu

Edge computing for neural networks is getting important especially for low power applications and offline devices. TensorFlow Lite and PyTorch Mobile were released for this purpose. But they mainly support mobile devices…

BinarizationEdge-computingEfficient Neural Network

Deep Microcompression: Structured Pruning and Bit-packed Quantization for Microcontrollers

2026-09-04 · Opegbemi Matthias Busoye, Tolulope Matthew Busoye, Eghonghon-aye Eigbe arxiv

This paper introduces Deep Microcompression (DMC), a hardware-aware pipeline for deep learning inference on bare-metal microcontrollers. DMC integrates structured pruning, quantization-aware training, and fixed-length bi…

MambaLite-Micro: Memory-Optimized Mamba Inference on MCUs

2025-09-05 · Hongjun Xu, Junxi Xia, Weisi Yang, Yueyuan Sui 외 arxiv

Deploying Mamba models on microcontrollers (MCUs) remains challenging due to limited memory, the lack of native operator support, and the absence of embedded-friendly toolchains. We present, to our knowledge, the first d…

Human Activity RecognitionKeyword Spotting