Real-time GPU memory analyzer with a cyberpunk dashboard — see exactly where your VRAM went
Project description
vram-viz
Real-time GPU memory analyzer with a cyberpunk dashboard. See exactly where your VRAM went — per-process dedicated and shared GPU memory, mapped to running processes with live auto-refresh.
Works on Windows (uses GPU performance counters for accurate per-process VRAM — nvidia-smi reports N/A for this on WDDM drivers, but vram-viz gets the real numbers).
Install
pip install vram-viz
Or run from source:
git clone https://github.com/olegp/vram-viz.git
cd vram-viz
pip install -e .
Usage
Web Dashboard (default)
vram-viz # opens at http://localhost:5111
vram-viz --port 8080 # custom port
Features:
- Animated geometric mesh background
- Real-time GPU utilization sparkline chart
- VRAM treemap — proportional blocks showing which processes own what memory
- Per-process table with sortable columns and terminate buttons
- Auto-refresh every 3 seconds
- Subtle glitch title + scanning line effect
CLI Mode
vram-viz --cli # one-shot terminal table
vram-viz --cli --top 10 # top 10 processes only
vram-viz --cli --watch 2 # refresh every 2s
JSON Output
vram-viz --json # pipe-friendly JSON dump
How It Works
| Layer | Source | What it provides |
|---|---|---|
| GPU stats | NVML (nvidia-ml-py) |
Total/used/free VRAM, temperature, utilization %, power draw |
| Per-process VRAM | Windows GPU Performance Counters | Dedicated + shared GPU memory per PID (the only reliable source on WDDM) |
| Process names | psutil |
Resolves PIDs to process names, executables, command lines |
Requirements
- Windows 10+ (GPU performance counters are a Windows feature)
- NVIDIA GPU with drivers installed
- Python 3.9+
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vram_viz-0.1.0.tar.gz.
File metadata
- Download URL: vram_viz-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a04e2d93b6a41cfba86fb1400a2b21234a07310dc012596500d87e37591fefac
|
|
| MD5 |
0da398eeb449fbf93a45d88357253193
|
|
| BLAKE2b-256 |
74b4711881889ead8a18d28cc906cf1156c5bf7220de309c76058384b5fb9bfa
|
File details
Details for the file vram_viz-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vram_viz-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5039f401210d9b11dba1043fab75fbdd00a2dfeb44dabfdced5360457e76c05
|
|
| MD5 |
80aa740deaa48785f825e5cac69435fb
|
|
| BLAKE2b-256 |
66c0b08b98ddd45619352f2784e5959eb9ccbacc937b595adadcf2d0b2fd328c
|