Skip to content

FLOPs

Floating Point Operations — the number of floating-point operations. A measure of computational complexity of training and inference of a model.

Why Measure

  • to estimate the cost of training a model;
  • to compare computational requirements of different models;
  • to understand if the hardware is sufficient.

Scale

Size Notation
10⁹ GFLOPs
10¹² TFLOPs
10¹⁸ EFLOPs

Training a flagship LLM requires hundreds of thousands of TFLOPs. One GPU of the H100 level provides ~1000 TFLOPs (FP16).

Relation to TFLOPS

  • FLOPs — how many operations are needed (work);
  • TFLOPS — how many operations per second the hardware can perform (power).

Dividing FLOPs by the hardware's TFLOPS gives an approximate computation time.

See Also

← All Terms