Cost effective deployment of vision-language models for pet behavior detection on AWS Inferentia2
AWS•Customer story••by Ray Wang, Howard Su and Chen-Hsin Ding•AWS Artificial Intelligence Blog
Tomofun, the Taiwan-headquartered pet-tech startup behind the Furbo Pet Camera, is redefining how pet owners interact with their pets remotely. To reduce costs and maintain accuracy, Tomofun turned to EC2 Inf2 instances powered by AWS Inferentia2, the Amazon purpose-built AI chips. In this post, we walk through the following sections in detail.
Tomofun moved BLIP vision-language inference for Furbo pet-behavior detection from GPU instances to EC2 Inf2 (Inferentia2), splitting the model into compiled Neuron components behind unchanged APIs.
Who it is for
Teams serving vision-language models in production on GPU instances that want to cut inference cost on AWS Inferentia2.
Key points
AWS reports an 83% cost reduction versus the GPU on-demand baseline, measured by Tomofun in stress tests.
Each BLIP component (image encoder, text encoder, text decoder) is wrapped and compiled separately with torch_neuronx.trace, using fp16 auto-cast.
Tested on Inf2.xlarge instances with one Inferentia2 chip and 32 GB memory; the post gives no per-request price or latency figures.
AI:Exa reports a 47% gain in performance and cost per million documents embedded on Inferentia2 and Trainium2, using custom NKI kernels, an optimized attention kernel and autocast.
AI:Metagenomi ran the Progen2 protein language model on AWS Inferentia (Inf2 Spot Instances with AWS Batch) and reports up to 56% lower cost than NVIDIA L40S GPU instances for enzyme generation.
AI:Neuron 2.33 adds TorchNeuron, a native PyTorch backend for Trainium on Trn2 and Trn3 instances, in public beta, plus Neuron Observer for Trainium health monitoring.