Distributed Inference using Apache MXNet and Apache Spark
summary
Shows how to run large-scale batch inference with Apache MXNet and Apache Spark, using ResNet-18 on CIFAR-10 and a Spark pipeline that decodes images in executors, batches them, and calls MXNet via mapPartitions with singleton model load to avoid repeated initialization. Demo runs 10,000 images in ~4 minutes on CPU nodes (example cluster: 4 executors, batch size 64, ~165 partitions). Includes EMR one-click setup and MXNet 1.2 Scala inference API on Maven.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:23Outline
- 5:55Why does Deep Learning matter?
- 8:08Deep Learning & AI, Limitations
- 10:57Deep Learning Training
- 12:04Deep Learning Inference
- 13:21Types of Learning
- 17:36MXNet - NDArray & Symbol
- 19:14MXNet - Module
- 24:44MXNet + Spark for Inference.
- 26:38Distributed Inference Pipeline
- 33:12Summary
- 33:52What's Next?
- 34:53Resources/References
