Skip to content

Memory

A resource for storing data during operation. In AI, two types are critical: RAM and video memory (VRAM).

Why in AI

  • Model weights must fit in memory;
  • Context and KV cache also consume memory;
  • Lack of memory is the most common reason for a model not starting.

Rule

More memory is needed than the model file size: the model itself + cache + auxiliary buffers.

See also

← All terms