L
Logs in the Sky
GPU Without the Guesswork

How to View VRAM on Windows, macOS, and Linux

How to View VRAM on Windows, macOS, and Linux
Learn how to view VRAM on Windows, macOS, and Linux, check live GPU memory usage, and understand what the numbers mean for local AI workloads.

If a local model refuses to load, the first useful question is often how to view vram and see whether the GPU has enough memory. On Windows, open Task Manager’s Performance tab and select your GPU. On Linux with an NVIDIA GPU, run nvidia-smi in a terminal. On a Mac, check System Information for GPU details, then use Activity Monitor to watch memory pressure. The important distinction: total capacity tells you what the hardware offers; live usage tells you what is left for the next allocation.

How to view vram in Windows

Press Ctrl+Shift+Esc to open Task Manager. Select Performance, then choose a GPU from the sidebar. You may see separate entries for an integrated GPU and a discrete GPU, so check the GPU name before recording a number.

Look for Dedicated GPU memory and Shared GPU memory. Dedicated memory is the figure most people mean by VRAM: memory reserved for the GPU, commonly on a discrete graphics card. Task Manager shows both current usage and the reported limit. Shared memory is system RAM that the GPU can use when needed; it is not equivalent to adding the two figures into one pool of fast dedicated VRAM.

For another view of the hardware, open Settings, choose System, then Display, and select Advanced display. Open the display adapter properties for the relevant display and look for Dedicated Video Memory. Menu wording can vary by Windows version. On a machine with multiple GPUs, the adapter attached to a display is not necessarily the GPU your application uses.

Task Manager is a good starting point for live usage, but launch the workload before drawing conclusions. A desktop sitting idle can look almost empty even when a model will consume most of the available memory after loading.

Illustration for how to view vram

How to view vram on Linux

For NVIDIA GPUs with a working driver, open a terminal and run nvidia-smi. The output lists detected GPUs and their memory usage, including used and total memory. It also normally includes a process table, which helps identify other workloads occupying the device. Run the command again while your application is loading to see the change.

For a compact per-GPU readout, run: nvidia-smi --query-gpu=index,name,memory.total,memory.used,memory.free --format=csv

The index matters on multi-GPU machines. GPU 0 may have plenty of free memory while your application is configured to use GPU 1. Also remember that a point-in-time reading can miss a short allocation spike. Refresh the command during model loading and inference if you are investigating an intermittent failure.

On an AMD GPU, the NVIDIA command will not work. Depending on the GPU, driver, and installed ROCm tools, rocm-smi may report VRAM information. Check its help output with rocm-smi --help for options supported by your installed version. Linux hardware and driver combinations differ, so the presence of an AMD card alone does not guarantee that ROCm tooling will recognize it.

If a command is missing or reports no devices, check the host driver and whether the GPU is exposed to your environment. In a container, that also means checking the container runtime configuration. A tool installed inside the container cannot see a GPU that the host has not passed through.

Check memory on a Mac

On macOS, open the Apple menu, choose About This Mac, and select More Info, then System Report. In System Information, look under Graphics/Displays for the GPU and any reported VRAM details. The exact labels depend on the Mac and macOS version.

Apple silicon Macs use unified memory, which is shared by the CPU and GPU rather than presented as a separate pool of dedicated VRAM. The unified memory capacity shown in About This Mac is therefore useful context, but it is not a promise that the GPU can allocate all of it for a model. The operating system and other applications need memory too.

Open Activity Monitor and select the Memory tab to watch memory pressure while a workload runs. That view describes overall system memory pressure, not a simple dedicated-VRAM meter. For GPU activity, Activity Monitor also offers a GPU History window, although activity and available memory are different measurements.

Visual context for how to view vram

Capacity, usage, and the numbers that matter

A GPU with 16 GB of reported memory does not necessarily have 16 GB available to your process. The desktop, other processes, driver allocations, and the framework itself can consume part of that capacity. Leave headroom instead of choosing a model whose stated size exactly matches the device.

For inference, the model’s weights are only one part of the allocation. Runtime buffers, context length, batch size, and the inference engine’s memory management can all affect the peak. Quantization can reduce weight storage, but the name or download size of a model file is not a complete peak-memory estimate.

There is another wrinkle with multiple GPUs: memory is usually tracked per device. Two GPUs with 16 GB each do not automatically behave like one 32 GB GPU. The software must support distributing the workload, and its overhead and configuration affect what fits.

Troubleshoot a mismatch or out-of-memory error

Start by checking the device your application actually selected. Compare its GPU index or name with the monitoring output. A laptop may have both integrated and discrete graphics, and a remote session may be running on a different machine than your local terminal.

Next, inspect memory before starting the workload, during model loading, and during a representative request. If memory is already occupied, identify the process before stopping anything; it may belong to another user or an unrelated service. If loading succeeds but inference fails, try a smaller batch or shorter context and compare the peak.

Framework-level metrics can help, but they may count only memory managed by that framework. For example, PyTorch distinguishes memory allocated to tensors from memory reserved by its caching allocator. Those figures need not match the device-wide usage reported by nvidia-smi, which can include other processes and allocations.

For a cloud GPU or Beam workload, run the relevant check inside the actual running environment when its tools and permissions allow it. Record the GPU name, total and used memory, model configuration, and the operation that failed. That gives you a useful debugging trail without guessing from the instance label. No panic, just logs.

Last revised · 2026-11-20 21:32
Letters
Readers Write

No letters yet — be the first to write.

Write a letter
© 2026 Logs in the Sky. Logs in the Sky