Engineer • Interest: Cloud Computing, Systems Software Ai Nozaki @ainozaki @ainno321 • Ph.D student at the University of Tokyo • Interest: Hardware Acceleration, Systems Software 2
on edge devices ◦ Enables low-latency local decisions ◦ Protects privacy-sensitive data Measuring advertising effectiveness at 7-Eleven [1] Biometric monitoring by SlateSafety [2] [1]https://www.sony-semicon.com/en/news/2024/2024042401.html [2]https://www.edgeimpulse.com/case-studies/slate-safety-predicting-heat-exhaustion
a continuous lifecycle ◦ Update to newer models ◦ Update pre/postprocessing logic Support updating model via over-the-air (OTA) Collect Data Deploy Improve Model
scale ◦ More device families, more build and deploy pipelines ◦ More model and application versions, more artifacts New model New model (C++) Device specific⚠ App Device specific⚠ firm ware
common deployment unit ◦ Applications share a common packaging model ◦ Orchestrators manage life cycles of applications Can we bring this operational model to edge devices?
cannot run containers Feasible but costs much No Linux No Linux ex. nvidia/l4t-pytorch: 5.6GB NVIDIA Jetson STM OS: Ubuntu OS: FreeRTOS/Zephyr CPU: Arm Cortex-A CPU: Arm Cortex-M ESP OS: FreeRTOS CPU: Xtensa
distribution ◦ Still requires Linux • KubeEdge ◦ Extends Kubernetes management to edge nodes ◦ Edge devices don’t typically execute workloads ▪ KubeEdge manages them as device resources
smaller deployment unit ◦ Does not require a full Linux userspace ◦ Portable across CPU architectures 2.47GB 100MB → Wasm is a promising deployment format for edge devices
◦ Runs on Linux Edge Servers ◦ Cooperates with waiot waiot-kubelet • Watch Pod Resources → Make waiot run Wasm ◦ Call remote waiot, instead of local container runtime mewz-project/waiot-kubelet waiot waiot waiot
Updates ◦ Constrained Resources → Wasm meets the Edge AI requirements • How to manage Wasm on IoT devices? → Make devices Kubernetes nodes ◦ waiot: Wasm Runtime ◦ waiot-kubelet: Proxy Kubelet • Future Works: AI Inference with GPU/NPU, TrustZone