Overview
This is my first step into the Computer Vision MLOps Engineering field. I wanted to explore an MLOps subject that I might see as a senior Computer Vision or MLOps engineer:
Process a large set of images from COCO 2017 validation set(5000 images) as cheaply and quickly as possible on AWS. Images land in S3, queue up in SQS, and workers on ECS run them through YOLOv8m in batches, writing results to S3 and DynamoDB. The project is about throughput, cost and reliability for bulk work, not per-request latency.
Source Code
Github Repo
Goals
Find the best batch size: the batch size on a T4 GPU (g4dn.xlarge) that gives the most images per second and the lowest cost per 1,000 images, and the point where bigger batches stop helping.
Quantify GPU vs.…