How to: Bringing up ExecuTorch on a RISC-V Microcontroller
summary
Shows how to port ExecuTorch (embedded PyTorch) to a new bare‑metal RISC‑V microcontroller by creating an ahead‑of‑time processor backend and adapting the ExecuTorch runtime. Covers delegating ops for custom RISC‑V ISA extensions, planning memory hierarchy and quantization delegation, and adding custom 8‑bit quantized operators using the PULP SIMD extension on a Verilator model of the OpenHW CV32E40Pv2 core. Finishes with notes on DMA/double buffering, bare‑metal multithreading and support for accelerators (e.g. GEMM), and applicability to other AI runtimes like TensorFlow Lite RT.
AI-written summary · about
related talks
10mExecuTorch on Microcontrollers: Deploying PyTorch To...
23mBringing ExecuTorch To the Next Frontiers of Edge AI
19mBuilding Tool Chains for RISC-V AI Accelerators
13mAI inference for the smallest processors
13mRunning ExecuTorch Applications With Silicon Accelera...
22mIntroducing ExecuTorch from PyTorch Edge: On-Device AI...
23mEmpower Upstream ML Frameworks on RISC-V
33mExecutorch: Enabling and Accelerating PyTorch Models on Edge Devices
