Quantization

A 70B model needs 140 GB in bf16, two data-centre GPUs at least. In 4 bits it's about 40 GB and fits on one card, and it decodes faster too. The catch is that you're rounding every weight, and whether that costs you 0.5% or 10% on your task depends on the method, the model and what you ask it to do.

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.