Device Memory
What is Device Memory?
In one sentence: Device memory is the memory that belongs to an accelerator like a GPU, such as its VRAM or HBM.
It is the fast memory the GPU uses directly. Keeping data in device memory avoids slow transfers from the host.
What does Device Memory look like?
A model fully loaded into device memory runs much faster than one partly in host memory.
Why does Device Memory matter?
Device memory size and speed are crucial for AI performance.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/device-memory/">Device Memory, explained simply</a> (The AI Math Dictionary)