Exploring WebAssembly AI Services on Cloudflare Workers
Oct 9, 2020Guest Author

Summary
This post details an exploration of deploying AI services using WebAssembly (WASM) on Cloudflare Workers, in collaboration with Latent AI. It highlights the benefits of edge AI for scalability and privacy, and introduces Latent AI's technology for compressing AI models (e.g., MobileNetV2) using quantization to 8-bit precision, achieving significant size reduction and performance improvements (e.g., 8x faster inference compared to Tensorflow.js). The post presents experimental results on memory and inference times for different model sizes and bit precisions, demonstrating the feasibility of running optimized AI models at the edge with low latency.
More from the Artificial Intelligence Integration & Impact trail
- Introducing Clef-omni with full multimodality, plus a faster Clef and a cheaper Clef-flash
- Introducing Web Search API via AI Gateway
- Introducing Clef: our open-source decision models, and new RL fine-tuning platform
- One year later: Sovereign AI and the fight for choice
- AI Search is now generally available