A model fails to load, and the first question is whether your GPU has enough memory. Here's how to find vram: on Windows, open Task Manager and check the GPU's dedicated memory; on Linux, run nvidia-smi if you have an NVIDIA GPU; on a Mac, check About This Mac for chip and memory details. The important distinction is that total capacity is not the same as memory currently available to your workload.
Find GPU memory on Windows
Press Ctrl+Shift+Esc to open Task Manager. Select Performance, then choose a GPU in the sidebar. If you don't see the sidebar, expand the window or select the Performance icon first. Look for Dedicated GPU memory to see usage and capacity, and note the GPU name near the top of the panel.
A computer may show more than one GPU. Check each entry: an integrated GPU and a separate NVIDIA or AMD GPU can have very different memory configurations. The GPU listed first isn't necessarily the one your application uses.
Task Manager can also display Shared GPU memory. That's system RAM the GPU can use, not an extra pool of dedicated VRAM you can assume will perform the same way. Some integrated GPUs primarily use shared memory, so a small dedicated-memory figure doesn't necessarily mean the GPU can't access more memory.
For another view, press Windows+R, enter dxdiag, and open the Display tab for the relevant GPU. The displayed memory fields can include dedicated and shared amounts; read their labels rather than adding them together and calling the result VRAM.

Check Linux GPU memory from the terminal
For an NVIDIA GPU with a working driver, run this command in a terminal:
nvidia-smi
The output identifies visible GPUs and reports memory usage and total memory for each one. A GPU with 24 GiB total and 6 GiB already in use, for example, has less than 24 GiB available for a new process. Those numbers are illustrative, not a benchmark or a promise that the remaining memory will be usable without overhead.
For a compact per-GPU report, use:
nvidia-smi --query-gpu=index,name,memory.total,memory.used,memory.free --format=csv
If the command isn't found or can't communicate with the driver, it doesn't prove the machine has no GPU. Check that the NVIDIA driver and utilities are installed and that the GPU is exposed to the environment. In a container or remote session, the host can have a GPU that your process cannot see.
For AMD hardware, the appropriate tools depend on the GPU, driver, and whether ROCm is installed. On supported systems, amd-smi may report GPU memory information. Check its help output and the documentation for your installed version; don't assume NVIDIA commands will work on an AMD card.
To identify PCI devices when you're unsure what hardware is present, run:
lspci | grep -i -E 'vga|3d|display'
That identifies display devices, not necessarily their usable memory capacity. You still need a compatible driver tool or application-level query for the memory figure.
How to find vram on a Mac
Open the Apple menu and select About This Mac. On an Apple silicon Mac, you'll see the chip and the amount of memory installed. Apple silicon uses unified memory shared by the CPU and GPU, so there isn't a separate dedicated VRAM figure equivalent to the memory on a discrete graphics card. Installed memory is useful context, but it is not all available to a model or to the GPU at once.
On an Intel Mac, About This Mac or System Information can identify the graphics hardware. In System Information, look under Graphics/Displays for the GPU and any VRAM field it reports. A Mac with multiple graphics processors may show more than one entry.

For a closer look at system memory pressure, open Activity Monitor and select Memory. This doesn't give you a clean, universal VRAM-free number for Apple silicon, but it can help you spot a machine already under memory pressure before starting a large workload.
Check what your AI process can actually use
Hardware capacity is only the starting point. A notebook, container, or cloud worker may see a different GPU from the one on your laptop. Run the check inside the same environment where inference or training will execute, not just on the host that launches it.
If PyTorch is installed and your environment exposes a supported CUDA device, this short Python snippet reports its name, total memory, and currently free memory:
import torch
if torch.cuda.is_available():
device = torch.cuda.current_device()
free, total = torch.cuda.mem_get_info(device)
print(torch.cuda.get_device_name(device))
print(f"Free: {free / 10243:.2f} GiB; total: {total / 10243:.2f} GiB")
else:
print("No CUDA device available to PyTorch")
A negative result means that this PyTorch environment can't use a CUDA device; it doesn't rule out an AMD GPU, Apple GPU, or a device hidden by configuration. Free memory is also a snapshot: another process can claim memory immediately afterward.
For a CUDA out-of-memory error, compare memory before model loading and during the actual request. Model weights aren't the whole bill: intermediate tensors, context length, batch size, framework allocations, and other processes all affect the peak. Try reducing batch size or context length, or using a supported lower-precision or quantized model, then measure again. Avoid treating the difference between total and free memory as a guaranteed safe allocation.
On a remote deployment, log the GPU name and memory at worker startup, then monitor utilization and memory during representative requests. Check the provider's allocation details too: a shared or partitioned GPU may expose less memory than the physical card's headline specification. No panic, just logs.
No letters yet — be the first to write.