GPU and memory basics for training

A 7-billion-parameter model runs happily on one 24 GB GPU. So you try to fine-tune it on the same card, and it crashes with out of memory before the first step. Training needs several times the memory of running a model, and a little arithmetic tells you how much before you rent anything.

In this lesson you'll learn to

Create a free account to open this lesson

It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.