The 6ND FLOP estimate
NumericalBeginner⏱ 15 minLLMsflopscompute accountingtraining cost
Problem
Justify for training a dense transformer, then estimate the training compute for parameters and tokens, and convert to GPU-days at effective FLOP/s per device.
Compute the requested quantities and say what they mean. A number without an interpretation is not an answer.
Solution
Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.
Related problems
All problems| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Count the FLOPs of a forward pass | LLM Ops | Numerical | 15 min | ||
| Derive the attention crossover length | LLM Ops | Proof | 15 min | ||
| LoRA parameter accounting | LLMs | Numerical | 15 min | ||
| When does attention dominate the MLP? | Deep Learning | Numerical | 30 min | ||
| Derive the compute-optimal allocation | LLMs | Proof | 30 min |