Sitemap

Video: Accelerate Transformer inference with AWS Inferentia

Nov 17, 2022

In this video, I show you how to accelerate Transformer inference with Inferentia, a custom chip designed by AWS.

Starting from a Hugging Face BERT model that I fine-tuned on AWS Trainium (https://youtu.be/HweP7OYNiIA), I compile it with the Neuron SDK for Inferentia. Then, using an inf1.6xlarge instance (4 Inferentia chips, 16 Neuron Cores), I show you how to use pipeline mode to predict at scale, reaching over 4,000 predictions per second at 3-millisecond latency 🤘

Julien Simon
Julien Simon

Written by Julien Simon

AI Operating Partner @ Fortino Capital (www.fortinocapital.com) - Ex-Arcee AI, Hugging Face, AWS - Tech, Cloud, AI, VC, PE, Investing - https://www.airealist.ai