Repository navigation
Releases
GPU Pulse v0.4.0-beta.1 (macOS beta)
Pre-release for testing macOS support on real Apple hardware. On Windows and Linux this version behaves like 0.3.0. On macOS it is untested until verified on a Mac. The ioreg key names come from documentation and memory, and the tests use reconstructed sample output.
What's new
- Apple Silicon and Intel Macs: GPU utilization (device, renderer, tiler), GPU memory in use (unified memory on Apple Silicon), GPU name, core count and Metal version. Read with
ioregandsystem_profiler; no admin rights needed. - n/a on macOS: temperature, power, clocks, fan, PCIe, the process list and NVIDIA-only true-usage counters.
- Terminal:
gpu-pulse --demo --demo-vendor applepreviews the Mac layout on any machine.
How to test on a Mac
- Terminal tool:
pip install "https://github.com/Optimizer077/gpu-pulse/releases/download/v0.4.0-beta.1/gpu_pulse-0.4.0b1-py3-none-any.whl" gpu-pulse status gpu-pulse # compare the GPU % with Activity Monitor → Window → GPU History
- Diagnostics (read-only; monitor serial numbers are removed):
Send back the output: the PerformanceStatistics key names, the parsed values and the
git clone -b feat/macos-support https://github.com/Optimizer077/gpu-pulse.git cd gpu-pulse && bash scripts/mac-probe.sh cd pip && uv run python scripts/mac_probe.py
ioregcost. - VS Code extension:
code --install-extension gpu-pulse-0.4.0.vsix. Then open GPU Pulse and check that the status bar, dashboard and side bar match Activity Monitor.
Verify downloads with SHA256SUMS.txt.
🤖 Generated with Claude Code
GPU Pulse v0.3.0
Alerts (both tools, same rules)
- Running hot: temperature ≥ your warning threshold for 30 s. Clears 3 °C below it.
- VRAM nearly full: ≥ 95% for 20 s. Clears below 90%.
- VRAM held while idle: utilization < 10% with VRAM ≥ 50% for 15 min (configurable).
- Job finished: a busy stretch of ≥ 10 min (configurable) ends. Reports the duration and average utilization.
- Each alert fires once, re-arms only after its condition clears, and repeats at most every 30 min per GPU. Gaps in the data reset the timers, so stale samples never trigger alerts.
VS Code extension
- Non-modal notifications with Open Dashboard and Mute 1 hour.
- New commands:
GPU Pulse: Mute Alerts/Unmute Alerts. - An alert badge in the dashboard and side bar; active alerts listed in the status-bar tooltip.
- Settings:
gpuPulse.alerts.enabled,.hot,.vramFull,.idleHeld,.jobFinished,.idleHeldMinutes,.jobFinishedMinutes. - Alerts work with the dashboard closed, as long as sampling runs.
- The alert engine costs ~0.1 µs per sample for one GPU.
Terminal dashboard
- Alert toasts in the dashboard, an alert list on the Diagnosis tab and a count in the header.
mmutes alerts for 1 hour. - Options:
--alerts/--no-alerts,--bell,--idle-held-min,--job-min. - No UI needed:
gpu-pulse log --alertsprints one line per alert.--notifyalso sends a desktop notification on Linux vianotify-send. - Resting pulse: while the GPU is idle, the pulse strip scrolls slowly (4 columns/s instead of 36) and speeds up with load. On an idle GPU, pulse repaints over 15 s went from 181 to 60.
Project
- Tests: extension 67 → 102, terminal 193 → 227.
Install
See INSTALL.md below. Verify downloads with SHA256SUMS.txt.
🤖 Generated with Claude Code
GPU Pulse v0.2.0
CPU figures are measured on one machine (RTX 5060 Ti, Core Ultra 7 265F, Windows 11), as a share of one CPU core.
VS Code extension
- Pinned side-bar view: GPU Pulse now has its own Activity Bar icon with a compact live monitor: per-GPU rows, a 5-minute sparkline, CPU and RAM bars, and the top insights. You can drag it to the Secondary Side Bar to keep it visible while you work. New command: GPU Pulse: Show in Side Bar.
- Faster and cheaper sampling: one long-lived
nvidia-smi … -lmsprocess replaces one process per sample.- The default refresh is now 500 ms (was 1 s), and it can go as low as 250 ms.
- Total CPU at 500 ms dropped from ~5.7% to ~0.2–0.6% of a core.
- The stream restarts automatically. It falls back to per-sample polling if it keeps failing, and retries streaming every 10 minutes.
- Multiple GPUs:
- An All GPUs strip of selectable cards.
- An aggregate status bar (
GPU ×4 avg 67% · max 98% · hottest 71°C) with a per-GPU tooltip. - Per-GPU history.
- Cross-GPU insights: a GPU well below the others (possible straggler), uneven VRAM, all GPUs busy, a hot GPU that isn't selected.
- Lighter dashboard:
- Window stats and insights are computed at most every 2 s, and tick messages are compact.
- The dashboard only touches the page where something changed, and redraws charts only when their data changed. On an idle machine it does 3–5× less work.
- Nothing is sent while both views are hidden.
- Safety: each webview may only run its own commands. Synthetic test GPUs are disabled in installed builds.
Terminal dashboard (gpu-pulse)
- CPU overhaul: the Overview went from ~57% to ~5% of a core with an idle GPU (3.5–6.7% across runs), and to about 5–10% with four simulated GPUs all moving. Other tabs use ~0.5–1%.
- Rings and the pulse strip render directly to terminal lines with cached styles, and only changed rows are repainted (ring row repaints per 15 s: 990 → 117).
- Rings stop drawing once they reach their value. A ring only shimmers after a visible move, at most every 9 s. Animation pauses off the Overview tab.
- The default frame rate is now 12 fps (was 20).
- Multiple GPUs:
- An ALL GPUS panel: one line per GPU with health, a utilization bar with SM activity, VRAM, temperature, power, throttle badges and tags. Select a GPU with
g/G, by clicking, or withgthen a digit. - Cross-GPU findings: straggler, uneven VRAM, one GPU throttling alone, mismatched PCIe link.
- Only GPUs that are actually in use (≥10% VRAM or a compute process; same process name when known) are compared, each needs at least 30 s of data, and the wording stays conditional ("if they run one job").
- An idle GPU next to a busy one is reported as idle, not as a straggler.
- A card that is x8 by design is reported as a card limit, not a slot problem.
- The selected GPU is remembered by UUID, so the view stays on the same physical GPU if another drops out.
gpu-pulse statusprints a totals line.--demo --demo-gpus Nsimulates N GPUs (including a straggler) for previews and testing.
- An ALL GPUS panel: one line per GPU with health, a utilization bar with SM activity, VRAM, temperature, power, throttle badges and tags. Select a GPU with
- Lower sampling cost: fan and energy counters are read every 2 s, and the PCIe-throughput poller is duty-capped. One GPU's sample went from 0.44 to 0.10 ms.
- Diagnosis fix: right after start, minute averages can no longer report "idle" while the live reading shows the GPU working.
- Python 3.9 is verified: the full test suite passes on 3.9 and 3.12.
Project
- Tests: 67 for the extension (was 21) and 193 for the terminal tool (was 140). The terminal suite also passes on Python 3.9.
Install
See INSTALL.md below. Verify downloads with SHA256SUMS.txt.
🤖 Generated with Claude Code
GPU Pulse v0.1.0
GPU Pulse v0.1.0
Two tools from one project:
- a VS Code extension
- a terminal dashboard (
gpu-pulse)
Both show live GPU usage, usage averages over time and machine specs. The terminal version also shows true usage (SM, Tensor Core and DRAM activity), bottleneck diagnosis and system health.
| File | What it is |
|---|---|
gpu-pulse-0.1.0.vsix |
VS Code extension |
gpu_pulse-0.1.0-py3-none-any.whl |
Terminal dashboard (Python ≥ 3.9) |
gpu_pulse-0.1.0.tar.gz |
Terminal dashboard, source distribution |
gpu-pulse-source-v0.1.0.zip |
Full project source (extension + terminal tool) |
SHA256SUMS.txt |
Checksums for the files above |
LICENSE |
MIT |
VS Code extension
code --install-extension gpu-pulse-0.1.0.vsixOr, in VS Code: Extensions view → … menu → Install from VSIX…
Then run GPU Pulse: Open Dashboard from the Command Palette, or click the GPU item in the status bar.
Terminal dashboard
pip install gpu_pulse-0.1.0-py3-none-any.whl
# or: uv tool install gpu_pulse-0.1.0-py3-none-any.whl
gpu-pulse # live dashboard (1–5 switch tabs, ? help, q quit)
gpu-pulse --demo # simulated load, to preview every feature on an idle machine
gpu-pulse status # one-shot snapshotRequirements
- NVIDIA: a driver that ships NVML (
nvidia-smi), on Windows or Linux. True-usage metrics need GPM support, which recent GPUs and drivers provide. - AMD: Linux
amdgpudriver only, best effort. - No GPU: CPU, RAM, disk, network and specs still work.
Verify the downloads
sha256sum -c SHA256SUMS.txt # Linux / macOS / Git Bash
Get-FileHash <file> -Algorithm SHA256 # PowerShell