Booking the Accelerators

TransformersMedium+20 XP+20

Booking the Accelerators

A team is planning to pretrain a decoder-only language model and has to book GPU time before anything runs.

quantityvalue
parameters NNN2.42.42.4 billion
training corpus22.522.522.5 billion tokens
passes over the corpus444 epochs
peak speed of one GPU300300300 teraFLOP/s, i.e. 3×10143 \times 10^{14}3×1014 FLOPs per second
share of that peak a real training run achieves, on average45%45\%45%

A rule of thumb from scaling-law studies estimates the compute needed for training as

C≈6NDC \approx 6NDC≈6ND

floating-point operations (FLOPs), where DDD is the number of tokens the model is trained on.

GPU time is booked in GPU-days. One GPU running for 24 hours is 1 GPU-day, and 10 GPUs running for 24 hours are 10 GPU-days.

How many GPU-days does this training run need? Round to the nearest whole GPU-day.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.