What is VRAM?
In Turkish: VRAM (ekran kartı belleği) · Topic: Hardware and infrastructure
Fast memory located on a graphics card that the graphics processor (GPU) accesses directly. In AI it holds a model's weights and the intermediate data produced during computation.
How does it work?
While a GPU computes, the data needs to sit in fast memory close to the processor, so separate memory chips are placed on the card itself. When a model is run, its weights are first loaded into VRAM. The space needed depends on the number of parameters and how many bits each number uses, and the cache reserved for the conversation history takes room too. If the model does not fit in VRAM, it either will not run or slows down sharply because part of it spills into slower main memory. Techniques such as quantization reduce the space required.
Why does it matter?
For people who want to run AI models locally, VRAM is often the first number checked when choosing a graphics card. In data centers, the memory per accelerator likewise determines how large a model can run on a single card.
Example
A model with about seven billion parameters stored as 16-bit numbers needs roughly 14 GB for its weights alone, so it will not run as is on a card with 8 GB of VRAM.
FAQ
What is the difference between VRAM and RAM?
RAM is the processor's main memory. VRAM belongs to the graphics card and feeds the GPU with data at a much higher speed.
What happens if there is not enough VRAM?
The model either fails with an error or runs with part of it moved to main memory. In the second case, speed usually drops noticeably.