Загрузка...

Accelerate Transformer training with AWS Trainium

In this video, I show you how to accelerate Transformer training with AWS Trainium, a new custom chip designed by AWS.

First, I walk you through the setup of an Amazon EC2 trn1.32xlarge instance, equipped with 16 Trainium chips. Then, I run a natural language processing job where I adapt existing Transformer training code for Trainium, accelerating a BERT model to classify the Yelp review datatset. Finally, I run the job on 1, 8, and 32 Neuron cores.

⭐️⭐️⭐️ Don't forget to subscribe to be notified of future videos ⭐️⭐️⭐️
⭐️⭐️⭐️ Want to buy me a coffee? I can always use more :) https://www.buymeacoffee.com/julsimon ⭐️⭐️⭐️

- AWS Trainium: https://aws.amazon.com/ec2/instance-types/trn1/
- AWS Neuron SDK documentation: https://awsdocs-neuron.readthedocs-hosted.com/en/latest/frameworks/torch/index.html
- AWS Neuron SDK samples: https://github.com/aws-neuron/aws-neuron-samples
- Hugging Face tutorial: https://huggingface.co/docs/transformers/training
- Setup steps and code: https://gitlab.com/juliensimon/huggingface-demos/-/tree/main/trainium

Interested in hardware acceleration? Check out my other videos :
- Habana Gaudi: https://youtu.be/56fpEa1Y1F8
- Graphcore: https://youtu.be/DgcJscPu1Vo
- Trainium on SageMaker: https://youtu.be/pokM1r3rgIg

Видео Accelerate Transformer training with AWS Trainium канала Julien Simon
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять