Glossary

What is FLOP?

In Turkish: FLOP (kayan nokta işlemi) · Topic: Hardware and infrastructure

A single addition, subtraction, multiplication or division carried out on decimal-style numbers. In AI it is used to measure how much computation training or running a model requires.

How does it work?

Training a neural network consists of multiplying and adding huge numbers of floating-point values, and each such step counts as one FLOP. The total computation of a training run is given in FLOP, while a piece of hardware's speed is given in FLOPS (or FLOP/s), meaning FLOP per second. The final S stands for second rather than a plural, a common source of confusion. Values are expressed with prefixes such as tera (ten to the twelfth), peta and exa. Once the total FLOP a model needs is known, dividing by the hardware's speed gives a rough estimate of the time.

Why does it matter?

The computation spent on training is one of the more direct ways to compare the scale of models, more so than parameter count. Some regulations and policy proposals also set extra obligations for models above a certain amount of computation, which is why FLOP comes up in news and in debates over rules.

Example

When a company reports the total computation used for a new model in FLOP, its scale can be compared with other models, while the speed of the graphics cards used is given in a figure such as teraFLOPS.

FAQ

Are FLOP and FLOPS the same thing?

No. FLOP is a count of operations, while FLOPS is operations per second, meaning speed.

What is the difference between FLOP and TOPS?

FLOP counts only floating-point operations, while TOPS mostly counts integer operations. When comparing the two, it is important to check which number type was used.

All terms