A terminal GPU task manager that shows per-process VRAM, GPU activity, and LLM model and KV-cache breakdowns.
Open-source alternatief voor Windows Task Manager
A terminal GPU task manager that shows per-process VRAM, GPU activity, and LLM model and KV-cache breakdowns. It runs on Windows, Linux (including WSL), and macOS on Apple Silicon, with support for NVIDIA, AMD, and Intel GPUs (plus Huawei Ascend on Linux). Latest release v0.4.5.
READMEshanselman/gputaskman op GitHub
An htop for what's inside your GPU, not just how full it is.
Windows with NVIDIA/AMD telemetry and Intel WDDM activity, plus Linux and WSL support (NVIDIA everywhere, AMD, Intel, and ARM Mali on native Linux; see Linux and WSL) and macOS on Apple Silicon and Intel (see macOS). A terminal UI that connects per-process GPU memory and engine activity with loaded runtimes, model files, and LLM buffer breakdowns.
Task Manager says "15 GB used." This tries to answer: by what? Model weights? KV cache? Your browser? The desktop compositor? And why is so much GPU memory in system RAM?
Scope: local GPU workloads, not cloud services. Decision models, vision, speech, LLM inference, training/fine-tuning (including Unsloth), graphics, and video all belong here. Visibility varies: process memory and engine activity are measured; identifying individual models and their work requires supporting evidence. A PyTorch/CUDA DLL alone cannot identify a model or prove training, and a mapped file does not prove that model is resident on the GPU or being exercised. CPU-only, NPU-only, and cloud workloads are out of scope.
Early, experimental software. Device and process counters are measurements; classifications and GGUF-derived breakdowns are estimates. This does not dump VRAM or enumerate a game's textures.
gputaskman is on PyPI. No repository clone is needed:
uv tool install gputaskman
gputaskman
Or, with pipx:
pipx install gputaskman
gputaskman
Works on Windows, Linux/WSL, and macOS with Python 3.11+ and the supported GPU/driver
configuration described below. Both installers keep the app in an isolated environment.
The shorter gtm command is also available. Upgrade with uv tool upgrade gputaskman
or pipx upgrade gputaskman; gputaskman --version shows what you have, and the TUI shows it
under the GPU panel. Each release lists what
changed. For Windows without Python, use the portable download below.
The Releases page is where tagged builds
publish two portable ZIPs: gputaskman-VERSION-windows-x64.zip for Intel/AMD Windows PCs, and
gputaskman-VERSION-windows-arm64.zip for native Windows ARM64. These are separate native builds,
not a universal executable.
Extract the entire ZIP, keeping _internal beside gputaskman.exe. Open Windows Terminal
or PowerShell in the extracted folder:
.\gputaskman.exe
.\gputaskman.exe --once
.\gputaskman.exe --json
No Python, uv, CUDA Toolkit, model download, or installation is needed. A supported GPU with a
current Windows WDDM driver is required. Builds are currently unsigned; code signing
and an installer are not part of this initial distribution. Each ZIP includes licenses and a
.zip.sha256 companion file is published for integrity checks.
Use 64-bit Windows 10/11 with a current WDDM driver and a terminal (Windows Terminal is recommended). Live workload checks have included an RTX 4080 SUPER and an RTX Spark N1X on Windows ARM64. CUDA workloads are supported on ARM64 with a compatible NVIDIA driver and ARM64 CUDA runtime.
AMD live check: Radeon 860M Graphics on Windows 11 Enterprise build 26300, AMD driver 32.0.22050.1003. During desktop/browser activity, WDDM reported per-process VRAM and AMD ADL reported GPU utilization, clocks, and ASIC power; temperature, memory activity, and PCIe readings were unavailable. Vulkan/ROCm workloads were not tested on this machine.
Windows 10 live check, reported by a contributor and not repeated by the maintainer: Windows 10 Pro 22H2
(build 19045, Korean display language), GeForce RTX 2080 SUPER (Turing, WDDM), NVIDIA driver 610.74,
gputaskman 0.4.5 from PyPI. Every process row used Local Usage / Non Local Usage; no fallback counter
was selected. A D3D12 test process holding four committed 256 MiB default-heap buffers appeared as a new
1.01 GB row; diff reported dedicated +1.02 GB and attributed +1.03 GB, nvidia-smi rose by 1036 MiB, and
both returned to baseline after the process exited. nvidia-smi listed every process's memory as [N/A].
In the same session, DWM's Dedicated Usage read 1.34 GiB against 275 MiB of Local Usage.
The interactive TUI was not exercised.
Intel and Qualcomm adapters on Windows can use WDDM's per-process memory and engine counters. When those
counters are available, device GPU activity is the busiest WDDM engine after combining its process counters.
An Intel or Qualcomm adapter reporting at most 512 MiB of dedicated memory and more shared system memory is
treated as integrated: per-process local usage is shown as Shared RAM, not VRAM, while device dedicated and
shared counters remain separate. This is a DXGI-capacity heuristic. Qualcomm GPU activity uses the WDDM
adapter counter; temperature, power, clocks, and memory activity are not currently available on Windows.
Arc B580 behavior is covered by mocked counters but has not been validated on Intel hardware.
When a Windows telemetry provider does not supply a version, gputaskman reads the selected adapter's
DriverVersion from its exact PnP device's driver registry key. If that value is unavailable, the
driver remains unknown.
Install Git for Windows and uv if needed. With WinGet:
winget install --id Git.Git --exact
winget install --id astral-sh.uv --exact
Open a new PowerShell window so those tools are on PATH, then:
git clone https://github.com/shanselman/gputaskman.git
cd gputaskman
uv run --locked gputaskman
That's it. uv obtains the pinned Python version if needed, creates .venv, and installs
the locked dependencies. The first run needs internet access. There is no CUDA Toolkit,
Visual Studio, administrator session, API key, or model download required to monitor the GPU.
NVML ships with the NVIDIA driver; AMD ADL is supplied by supported AMD Windows drivers.
Already have Python 3.11+ and prefer pip?
git clone https://github.com/shanselman/gputaskman.git
cd gputaskman
py -m venv .venv
.\.venv\Scripts\python.exe -m pip install .
.\.venv\Scripts\gputaskman.exe
No PowerShell activation script or execution-policy change is needed. The pip route resolves compatible dependencies; the uv route uses the checked-in lockfile.
If an alternate package index makes --locked report a stale lockfile on an unchanged checkout,
uv run --frozen gputaskman uses the checked-in lockfile without re-resolving it. --frozen
skips the consistency check, so do not use it after changing dependencies.
Tagged releases include portable Linux builds: gputaskman-VERSION-linux-x64.tar.gz and
gputaskman-VERSION-linux-arm64.tar.gz. They need glibc 2.35 or newer (Ubuntu 22.04, Debian 12,
or newer) and an NVIDIA driver (or, on native Linux, an AMD GPU on the amdgpu driver, an Intel GPU on i915,
an ARM Mali GPU on panfrost/panthor,
or a Huawei Ascend 310P with npu-smi). NVIDIA works natively, in containers, and in WSL:
tar -xzf gputaskman-VERSION-linux-x64.tar.gz
cd gputaskman-VERSION-linux-x64
./gputaskman
Or clone and run from source, in a Linux or WSL shell:
git clone https://github.com/shanselman/gputaskman.git
cd gputaskman
uv run --locked gputaskman
What can be measured depends on where it runs, and the UI says which mode it is in.
On native Linux, Ascend chips are listed individually. Their device memory and per-process memory
come from npu-smi; AI-core and memory-bandwidth activity come from its watch stream, not
per-process engine counters. Memory refreshes every 10 seconds, and a failed refresh or stale watch
is reported as unavailable. The contributor reported testing an Atlas 300I Duo with a vLLM
workload; driver version and these subsequent fixes have not been independently validated on hardware.
Ascend container and PID-namespace behavior is not validated.
| Native Linux | WSL, interop on (default) | WSL, interop off or --no-host | |
|---|---|---|---|
| Device totals, load, temperature, power, clocks | NVML / DRM | NVML / AMD SMI | NVML / AMD SMI |
| Per-process VRAM | NVML, measured by host PID; in a container, local-owner guesses are separate (?) | Matched from the Windows host, marked * or ? | n/a |
| Per-process GPU load | NVML (SM, encoder, decoder) | n/a for Linux processes | n/a |
| Spill / Paged | Not available (blank) | Windows rows only | Not available |
| WSL VM total, Windows apps | — | Windows host counters | — |
| Runtimes, model files, LLM breakdown | /proc/<pid>/maps, command line | Same | Same |
On NVIDIA, device VRAM uses NVML's v2 memory reading when available, consistent with the device telemetry
reading. If v2 is unavailable, the legacy reading is used and reported as such; it may include
driver-reserved memory, and device.mem_reserved is null because the legacy API does not provide it.
The TUI's free memory is NVML's own free reading (device.mem_free in JSON),
not total minus used; it is omitted when unavailable. Windows WDDM uses a different adapter counter,
so its value need not match NVML.
Native Linux reads per-process memory from NVML's running compute and graphics process lists
and per-process SM, encoder, and decoder load from NVML utilization samples. Linux has no
equivalent of WDDM's shared-memory or commit counters, so Spill and Paged stay blank rather than
showing zero. Only processes you can inspect are listed; other users' processes need sudo.
JSON uses null for unavailable counters, not a measured zero: spill/commit/paged values on
native Linux, and per-process engine load for WSL Linux rows. If either NVML process list hides a
process's VRAM, that row and the native Linux attributed total are unknown (null). Other measured
rows, device-wide memory, and independently available engine readings are unaffected. Windows host
rows retain their measured counters.
Containers (Docker, Kubernetes, rented GPU boxes) need one more step: NVML reports host
PIDs, which mean nothing in the container's /proc, and the container cannot see the host PID of
its own processes. gputaskman pairs NVML's unresolved PIDs with the container's processes that
have libcuda.so mapped (NVML-only tools such as nvidia-smi open the same device files but
never load libcuda). Both PID namespaces number processes in creation order, so the pairing is by
order: ? marks an order guess, even when candidate counts match or a new NVML PID and local
candidate appear together while gputaskman runs. Those starts keep a pairing stable, but do not prove
ownership. A device handle and mapped libcuda.so do not prove that a process owns a live NVML context,
and another container may have the same number of GPU processes. * is reserved for a unique ownership
explanation or when all viable matches give exactly the same bytes.
Guessed local rows carry vram_attributed: false, vram_bytes: null and the candidate's bytes in
vram_inferred_bytes with vram_inferred_by: "order". They are display hints, not measured process
peaks in summary or a budget for a model breakdown. Local GPU% and engines are null with an
engine_unavailable_reason: the host's engine readings do not establish which local process did the work.
Independently evidenced model files still supply metadata and model/flag-based estimates, with an
explicitly unknown process VRAM total; neither those estimates nor the mapped file prove GPU ownership.
Recognized LLM runtime names/signatures can still query their own exclusive listeners for API evidence
without a mapped model file; a generic process's path-argument or installed-model hints cannot enable a probe.
Every NVML host PID is retained as H:<pid> / (unresolved host PID) (host: "nvml" in JSON), never
looked up locally. Those rows preserve measured memory and engine counters under the driver's actual
PID. Only their measured bytes enter the attributed total, once, not again through a local guess.
Hidden host memory leaves that total unknown. These host processes may be local to this container,
in another container, or on the host; an unmatched PID is not proof that it is outside this container.
If PID-namespace detection fails, the same conservative split applies: an existing local PID with the
same number does not prove that it is NVML's host process.
Live check, on a Vast.ai Docker container (Ubuntu 22.04, RTX 3060 Ti, driver 580.82.09): two
PyTorch jobs already running at startup, a third started while watching, and one killed, were all
matched to the right container PIDs with their NVML sizes (1.12, 2.52 and 1.59 GB) and live GPU%.
The startup matches are order guesses; this check does not validate the ambiguous equal-count,
cross-container case. A process started while watching remains an order guess; its pair is merely
kept stable by the observed start. The earlier live GPU% values followed guessed matches; they are now
retained only under the measured host PID. The revised dual-row presentation is covered by synthetic
tests, not a new hardware validation.
An Ollama qwen3:0.6b runner was detected and named from Ollama's store with api+mapped+cmdline
evidence, its weights / KV-cache / compute split shown, and the TUI rendered.
Live check, bare-metal Linux (CachyOS, kernel 7.3.3, same PID namespace, no matching needed) on a
laptop with an RTX 4050 Laptop GPU (driver 620.70.06) and an AMD Phoenix iGPU: every per-process size
matched nvidia-smi (a llama-server with Qwen2.5-1.5B Q4_K_M at -ngl 99 -c 4096 showed 1.19 GB
against 1218 MiB, and gputaskman diff put the device change at +1.20 GB, against +1224 MiB from
nvidia-smi). The model was identified with api+mapped+cmdline evidence, and with
-lv 4 --log-file the runtime-reported CUDA0 load-time sizes (935 MB weights, 112 MB KV cache)
matched the GGUF-based estimates; these log events are history, not current allocation measurements.
During generation the TUI showed the server at 96% GPU% against 95% from
nvidia-smi pmon.
ARM Mali GPUs on native Linux are detected with the upstream panfrost and panthor DRM
drivers, including render-only devices. This does not support proprietary /dev/mali* drivers or
older Mali GPUs using lima. ARM64 CPU support alone does not imply support for its GPU.
No vendor library or extra package is needed.
Mali uses unified system RAM, not dedicated VRAM. A client's drm-resident-memory bytes appear
in the VRAM column only when its drm-shared-memory (and every other reported shared region)
is zero, it has one visible holder, and it was opened through a render node. Otherwise VRAM is
n/a; reachable system bytes remain available as gtt_resident_bytes in JSON and in the inspector,
never summed. Missing or malformed counters are unknown, not zero. Device-wide used/total memory,
free memory, and GPU load remain unavailable rather than treating system RAM as GPU capacity or
summing clients. Shared and Paged stay unavailable.
Per-process load uses drm-engine-* nanosecond deltas when supplied by the kernel. Older kernels
or disabled profiling may provide no timing counters, so load stays n/a independently of memory.
Profiling is administrator-managed; gputaskman never writes sysfs settings or enables it.
Panfrost's kernel timings include CPU scheduling/interrupt latency, not just hardware execution time.
Platform GPUs have no PCI address: processes are paired through the exact device's DRM nodes,
not the driver name or GPU index. GPU model names remain generic when the driver exposes no model.
Interfaces: DRM fdinfo,
Panfrost, and
Panthor.
Not validated on Mali hardware. Tests use synthetic sysfs/fdinfo fixtures based on upstream
kernel interfaces. To validate a board, include its GPU/SoC, distribution, kernel and driver,
gputaskman --list-gpus, and --json output while idle and during a known graphics workload.
Review process names and paths before sharing output. Compare the process counters with its
/proc/<pid>/fdinfo/<fd>; unavailable counters are expected on older/vendor kernels.
AMD GPUs on native Linux (the amdgpu driver) need no ROCm, AMD SMI, or extra package: the
kernel already exposes what's needed.
| Source | |
|---|---|
| Device VRAM, GTT, load, temperature, power, clocks, fan, PCIe link | /sys/class/drm/card*/device and its hwmon |
| Per-process VRAM and GTT | drm-resident-vram / drm-resident-gtt (older kernels: drm-memory-*) and drm-shared-* in /proc/<pid>/fdinfo/<fd> |
| Per-process engine load (gfx, compute, video) | drm-engine-* busy time, sampled twice (n/a until a new client has two samples); n/a for ROCm/HIP processes (see below) |
GTT is GPU-accessible system RAM, so it fills the Shared column (and shared (in system RAM) for
the device), like WDDM's non-local usage. On an APU (an integrated GPU, detected by amdgpu not
reporting a VRAM vendor, a heuristic validated on one APU) GTT is the GPU's normal memory and "VRAM"
is only a RAM carve-out, so GTT is still shown but never flagged as spill, and an LLM's memory is its
VRAM plus GTT. The SDMA engine (dma) fills the COPY column. Paged stays blank: there is no commit
counter. VRAM and Shared are charged to a process only when nothing else can hold its bytes: each of
its DRM clients has a usable drm-client-id and exactly one visible holder, was opened through a
render node (/dev/dri/renderD*), and reports zero bytes in every drm-shared-* region.
Then its resident VRAM and GTT are its own and add
up without double counting. Otherwise the process shows VRAM and Shared as n/a (null in JSON, with
vram_unattributed_reason) and its bytes stay in unattributed:
drm-client-id. Duplicate descriptors or
another holder of the same client can't be ruled out, so GPU% is n/a too
(engine_unavailable_reason: "client_id" in JSON).n/a too.drm-shared-* counts a buffer by
where it prefers to live, resident or not, while drm-resident-* counts where buffers are, so
resident minus shared is not private memory and is never computed./dev/dri/card*, typically a compositor): root-owned logind keeps a copy of that
fd, which a normal user can't see, so a single holder can't be proven.drm-shared-vram/drm-shared-gtt, or any DRM
client without the recognized residency and sharing counters needed to prove private memory.n/a too).n/a too). Expected to be rare on a desktop (~9 ms for ~8,000 fds,
not yet re-measured with this rule); one-shot output always scans fully.The inspector and JSON (vram_resident_bytes, gtt_resident_bytes) still show every buffer the
process can reach, shared ones included; the same buffer can appear under several processes, so these
are a reference and are never summed. Unparseable or missing values are unknown (null), not 0. amdgpu has no device-wide
video engine counter, so the device's encode/decode load stays N/A; per-process video load is
measured. On VCN 4 and later (RDNA3 and newer, including the RX 9070) decode and encode share one
ring, so it is reported as video rather than split. Only processes you can inspect are listed; the header and JSON (process_status) say how many could not be, and sudo includes other users'. --gpu 1
selects the next card, such as an APU's integrated GPU next to a discrete one. A ROCm/HIP process
(tagged HIP) has its VRAM in fdinfo like any other. Its GPU% is not: HIP submits compute through user-mode queues on /dev/kfd, which the kernel
does not time per process, so a process holding /dev/kfd shows engines as n/a (null in JSON)
rather than a measured-looking 0. The device's AMD gfx load does include that work.
This path is native-Linux only; under WSL the GPU is /dev/dxg, with no DRM driver involved.
Live check, bare-metal Arch-based Linux (kernel 7.2.15, amdgpu), Radeon RX 9070-series (Navi 48)
plus a Radeon 610M iGPU: both cards were found, named, and read; VAAPI HEVC encode and decode with ffmpeg
each showed as a video row at ~95-100% video load (on the RX 9070 both were charged to amdgpu's
unified enc ring, hence video); desktop processes' VRAM summed
to less than the card's used VRAM, with the compositor's imported windows listed as shared.
llama.cpp's ROCm server image (ghcr.io/ggml-org/llama.cpp:server-rocm, Qwen3-4B-Instruct-2507
Q4_K_M, -ngl 99 -c 8192, next to a running game) showed as an LLM row with llama.cpp+ggml+HIP
and 3.95 GB of VRAM, matching the 2.49 GB of weights plus 1.21 GB of f16 KV cache plus compute
buffers, and the 4.11 GB KFD reports for the process in /sys/class/kfd/kfd/proc/<pid>/vram_*.
While it generated at 103 tok/s the device read 99% gfx and 339 W, but fdinfo had no engine lines
for it, which is why ROCm rows show engines as n/a. PyTorch-ROCm has not been run on this path.
That check predates the stricter attribution above (no subtraction of shared bytes; render-node,
single-holder and complete-scan requirements; per-client timestamps; PID-reuse checks), which is
covered by unit tests only and not yet validated on AMD hardware.
Intel GPUs on native Linux (the i915 driver) use the same DRM fdinfo path, with these differences:
| Source | |
|---|---|
| Device temperature, power, GT clock, throttle, load and video | hwmon, gt/gt0, the i915 performance counters and RAPL's uncore zone. Power is the rate of the cumulative energy counter between two refreshes, so it is n/a on the first: the hwmon counter on a discrete card, the uncore RAPL zone on an integrated GPU (root-only). Without a GPU temperature sensor, an integrated GPU falls back to the CPU package sensor (coretemp), labelled as shared with the CPU. The GT clock is the actual frequency (rps_act_freq_mhz, the requested one as fallback); throttle reasons come from throttle_reason_*. GPU % is the busiest engine's busy share from the performance counters and video is the video engine's share (unified decode+encode, so enc/dec stay unset); both need root (perf_event_paranoid=2 here blocks normal users), otherwise N/A with a reason |
| Device VRAM total | The size of the local-memory PCI window (resource2), an estimate: kernel-owned memory is missing from the sysfs view, resizable BAR rounds to a power of two, and a partial window can be smaller than the card, so the total can differ from the card's memory. A window under 1 GiB (an integrated GPU, or a discrete card without resizable BAR) shows N/A (null in JSON). Free memory is never shown for Intel |
| Device VRAM used | The sum of its clients' resident memory: i915 has no device-wide counter, so buffers shared between processes can be counted twice, and kernel-owned memory and processes gputaskman can't inspect are missing. Local memory on a discrete card, system memory on an integrated GPU. The UI, --once, --json (memory_note) and gputaskman diff all say so. n/a when any client's memory is unknown |
| Integrated or discrete | An iGPU has no local0, so a card with a local-memory window of 1 GiB or more is discrete, and so is any card whose fdinfo reports local memory, even when its window is smaller |
| Per-process VRAM and Shared | drm-resident-local0 and drm-resident-system0, plus their stolen- regions (the firmware-reserved part of each), under the same private-client rules as AMD. On an integrated GPU there is no local memory: a provably private client's system0 bytes are its GPU memory in the VRAM column, and Shared stays N/A (system memory is its memory, not spill). On a discrete card system0 is memory the GPU's buffers currently sit in, including buffers placed there on purpose, so Shared there (like AMD's GTT) is where they are, not proof they were pushed out of VRAM. The shared gate needs only the regions the device has, so a discrete card with a missing drm-shared-local0 still shows n/a (legacy), while an integrated client with shared buffers shows n/a (shared_buffers). A region value that can't be parsed makes that figure n/a, not a smaller number |
| Per-process engine load (3d, compute, copy, video) | drm-engine-render, -compute, -copy, -video, -video-enhance busy time, sampled twice. n/a where the driver reports none (before Gen 8). A class with several identical engines (drm-engine-capacity-*, such as video on an Arc) is not divided by its capacity, so one busy engine reads 100% |
Device memory bandwidth and the PCIe link are n/a: i915 has no device-wide bandwidth counter, and its
sysfs link fields can report the power-on default instead of the live link. Device GPU load and video load
come from the i915 performance counters and need root; power comes from RAPL's uncore zone on an integrated
GPU and needs root too.
The load readings sample every exposed *-busy engine instance, including compute and additional
video/copy engines, and use the busiest instance rather than averaging across idle engines. Discrete
PMUs are matched by PCI address (i915_<PCI BDF>); the legacy i915 PMU is used only for an integrated
card. If multiple cards resolve to the same PMU, their load stays N/A with an attribution reason.
Each collector opens device counters only for its selected GPU and owns those handles and baselines;
closing one does not reset another collector's readings.
Xe primary-GT clocks use the kernel's documented frequency sysfs interface
under the selected PCI device's tile0/gt0/freq0: act_freq is actual, cur_freq is requested,
and rp0_freq is the reported hardware maximum. A measured actual frequency of zero is retained
when the GT sleeps, even if the minimum/requested frequency is 400 MHz; the request is used only
when the actual reading is unavailable. This reads the primary GT only, not the media GT or other
tiles, and writes no frequency/limit settings.
For Xe throttling, prefer the aggregate freq0/throttle/reasons snapshot when available. Older
kernels use the separate reason_* files; active reasons remain reportable, but failed reads prevent
claiming idle. An unavailable reading remains unknown. i915 retains its existing paths and behavior.
Live check: Arc Pro B65 (8086:e222), xe, Linux 7.0.0-43-generic, 2026-11-15: minimum/requested
400 MHz, reported maximum 2400 MHz, and a readable idle throttle snapshot. No workload was started
or throttling induced. Active throttle reasons and missing-node handling are fixture-tested;
other Xe cards, integrated Xe, multiple tiles and active hardware throttling are not validated.
Intel GPU temperature lookup also recognizes GPU-owned pkg and gpu hwmon labels before
edge and the legacy temp1_input fallback. This does not borrow CPU or another GPU's sensors.
A contributor's ASUS Arc Pro B70 (8086:e223, subsystem 1043:8020) on xe, Linux
7.0.0-43-generic, exposed temp2_label=pkg with no temp1_input; the previous lookup returned
N/A despite that readable sensor. On 2026-11-19, 71 captured device samples after this fix were
within 1°C of the same driver sensor read immediately afterward. This validates the sensor
handoff, not absolute temperature accuracy. The capture included a planned 60-second, 2 GiB
Vulkan memory check at unchanged 400–2800 MHz requests and a pre-existing 310 W cap: no reported
memory errors, new kernel entries or PCIe AER increments. It was not the tool's standard
five-minute run or a full-VRAM stability test. The same run observed 2800 MHz in 59/60 load
samples and private process VRAM of 2,174,844,928 bytes, agreeing with that process's Xe fdinfo.
Intel xe per-process counters use the same ownership and sharing rules. Resident vram* regions
supply local memory and gtt supplies GPU-accessible system memory; CPU-only system memory and the
distinct stolen region are not charged. Every reported region must have a valid zero drm-shared-*
counter before memory can be charged privately. On an integrated GPU, private GTT is its GPU memory,
not spill. Device-wide memory remains a labelled client sum / PCI-window estimate, not a device counter;
this path adds no new device-wide load or sensor probes.
Xe engine load uses deltas of paired drm-cycles-* and drm-total-cycles-* GPU ticks, not CPU wall time.
GPU% is the busiest engine with a valid interval this refresh; a stalled, reset or newly seen engine
does not hide another engine that advanced. Omitted engines are unknown, so a partial reading can
understate the process's busiest engine; if none has a valid interval, GPU% is n/a. As with i915,
engine-class capacity is not divided out.
Contributor check, not repeated by the maintainer: B65 (8086:e222), xe, Linux 7.0.0-43-generic.
Thirty read-only scans of nine existing GPU processes produced 270 process-load readings (0-3.119%),
with median scan time 13.196 ms and maximum 17.044 ms. No workload was started. Rates under controlled
load and the sharing gate against a known shared buffer have not been validated on hardware.
Live check, reported by the contributor and not repeated by the maintainer: Linux 6.12, an Arc A770 (discrete, 16 GiB
BAR) and a UHD 730 (integrated) on i915. Both cards were found, named, and selectable with --gpu; the Arc showed
per-process VRAM and engine load, and the TUI rendered both. The fdinfo formats of both drivers, taken from the kernel
sources, are covered by unit tests. Not validated by the maintainer on hardware: xe, Arc cards without resizable BAR, and
multi-GPU systems other than that pair.
Live check on an integrated GPU (ASUS Vivobook 14 X1404VA, Intel Core 3 100U Xe-LP, i915, kernel 7.3.1, Mesa 26.2.5):
the card is found and named, the header shows the actual GT clock (GT 300/1250 MHz) with no throttle reasons active,
and a headless vkmark run shows as a 3D/game Vulkan row at 82% GPU. Per-process memory stays n/a
(shared_buffers): the compositor imports every window, so no client is provably private. The gtt_resident_bytes
reference and the engine percentages are still measured.
Live check of the root-only readings on the same machine (intel_gpu_top from intel-gpu-tools as reference,
perf_event_paranoid=2): under vkmark load the header's GPU % reads 48-95% against intel_gpu_top Render
51-92% across scenes, and power reads 0.4 W idle against its 0.4 W (under load 9.0 W against 6.5-6.8 W in a
nearby window; scenes vary, and uncore is approximate while the CPU is active). A VA-API ffmpeg decode loop
drives the video engine to 99.9% on both (intel_gpu_top Video 99.4-99.9%). Without root the three stay N/A
with a reason, while the GT clock, throttle and per-process rows keep working.
Per-PCI PMU selection and compute/secondary-engine coverage are regression-tested with synthetic
counters, not yet validated on hardware; the live check above covers only the Vivobook's exercised engines.
WSL is different, because Windows owns the GPU. Linux cannot see how much VRAM its own
processes use: nvidia-smi lists no processes, NVML's per-process samples carry Windows PIDs
(never looked up in Linux's /proc), and Windows charges all Linux GPU memory to the VM worker
process, vmwp.exe. When WSL interop is enabled (/proc/sys/fs/binfmt_misc/WSLInterop reads
enabled), gputaskman starts one long-lived powershell.exe that reads the Windows GPU counters
through the same PDH array API as the Windows backend and streams them back once a second:
vmwp.exe) reports the exact total of Linux GPU memory, across every distro, WSLg,
and Docker Desktop, when the host provides its Local Usage counter.W:<pid> rows with their VRAM, shared system memory, paged, and engine load.
Windows and Linux PIDs are separate namespaces, so the prefix keeps them apart.vmwp.exe's GPU contexts to Linux processes (below).One-shot --once / --json waits up to 15 s for a host adapter memory reading. When host data is
incomplete or unmatched, attributed is null, not zero, and host_status / counter_status explain why.
Each host counter is tracked separately: missing readings are null in JSON and n/a or blank on
screen, not measured zeros. Engine load can still be available when memory is unknown. Paged is an
estimate shown only when Local Usage, Non Local Usage, and Total Committed were all observed.
The first host sample takes about 2.5 s; the TUI shows starting until then, and --once waits
for it. The host adapter is paired with the NVML or AMD SMI device by memory usage, because WSL's adapter
LUIDs differ from the host's. An ambiguous pairing, or a zero or unavailable device memory reading
that cannot establish a match, shows unmatched instead of guessing. With other
Hyper-V VMs or Windows Sandbox running, the row is labeled VM worker because it cannot be tied
to WSL alone. --no-host turns the host stream off; without interop you get device-wide numbers
and a list of the Linux processes that hold /dev/dxg, with VRAM shown as n/a. On AMD GPUs in WSL,
device discovery and telemetry use ROCm's amdsmi Python bindings (/opt/rocm-wsl/share/amd_smi or
/opt/rocm/share/amd_smi), reading VRAM via amdsmi_get_gpu_memory_total / amdsmi_get_gpu_memory_usage
(the contributor observed uninitialized vram_used from amdsmi_get_gpu_vram_usage in their
rocm-wsl build). That fallback is never used in WSL, even when its bytes happen to fit.
Missing or out-of-range usage stays null/N/A, not a cached value or a clamped zero.
The existing per-refresh /dev/dxg holder scan also records whether the monitor holds a context;
host attribution reuses it rather than scanning every process's file descriptors again.
AMD WSL prerequisites are user-managed. Native Linux ROCm/AMD SMI packages alone do not provide
the WSL bridge. Check AMD's supported GPU and Windows-driver matrix, then follow the official
ROCDXG instructions for matching rocdxg-amd-smi-lib
and rocdxg-roct packages. An AMD CPU alone does not establish support. gputaskman does not install
packages, change drivers, enable WSL, or modify loader configuration. --list-gpus prints a
discovery failure and recommendation to stderr; the TUI and one-shot reports expose it as
counter_status (JSON: a string, or null when there is no warning). Missing bindings/libraries,
initialization failures, no usable device, and a wrapper/library major-version mismatch are
distinguished. The wrapper loads its own library; gputaskman never preloads a replacement.
AMD SMI sessions are shared across discovery and live collectors, so constructing or closing one
does not shut down another's library session. An edge-temperature critical limit of zero means
unsupported, following AMD's CLI; a measured current temperature of zero with a supported limit
remains zero. Unsigned unknown power-cap sentinels are not watts. Windows host process counters
can overlap on some drivers: if their sum exceeds device capacity, WSL's JSON attributed is
null with a warning. Raw per-process readings are retained; the adapter reading remains the
device total, and inferred Linux children are never added to their VM row.
Contributor-reported AMD WSL check: Windows 11, Ubuntu 24.04 under WSL2 kernel
6.6.87.2-microsoft-standard-WSL2, Radeon RX 7900 XTX 24 GB, Adrenalin 26.20.15.07 and
amd-smi 1.2.2 under /opt/rocm-wsl, with three llama-server instances and PyTorch/HIP.
The contributor reported device telemetry and host VM/context matching; those workloads have not
been independently repeated.
Maintainer read-only check on the revised code (2026-11-13): Windows 11 build 26300, Radeon 860M
(1002:1114), Windows driver 32.0.22050.1003; Ubuntu 26.04 under WSL2, native x86_64 Python 3.14,
matching WSL AMD SMI wrapper/library 1.2.2 and ROCDXG 1.2.2. --list-gpus, --once, and JSON
identified the adapter; host pairing succeeded. Thirty device samples had no failures (median
6.27 ms, max 9.09 ms); first discovery was 71.87 ms. Unsupported edge temperature and power cap
stayed unknown; zero memory activity stayed zero. Creating and closing a second collector for
the same adapter did not break the first. No new GPU workload was launched: real multi-adapter
hardware, model-load/context attribution, and AMD SMI on Windows remain unvalidated (the Windows
smoke check used ADL). The raw driver readings can exceed physical VRAM or overlap across host
processes; these checks do not establish that the driver reports uniquely attributed bytes.
vmwp.exe exposes one GPU-memory instance per guest GPU context, all with the same name: sizes
without owners. Measured on WSL2 with driver 610.88, every Linux process that opens /dev/dxg
gets exactly one context (an NVML-only process too, at 0 bytes), and Windows lists them newest
first, keeping that order as contexts come and go. Contexts from outside this distro (WSLg, other
distros, Docker, services you cannot inspect) are interleaved by their own age.
gputaskman follows the contexts from sample to sample and labels them with evidence:
| Marker | Meaning | Established by |
|---|---|---|
* matched | Windows' exact size; the owner is inferred, and only one explanation fits (or every one that fits gives the same size) | A new Linux GPU process and a new context appearing together; elimination; this monitor's own context being the only zero-byte candidate at startup; candidate contexts that are exactly the same size |
? guess | Heuristic owner for processes that were already running | Newer process ↔ newer context, outside contexts assumed oldest; cached foreign sizes can rank extra candidates but never establish ownership |
n/a | No context could be assigned | For example, a process that has not created its GPU context yet |
A guess is recomputed every refresh and never counts as evidence for itself. An exited process's
context is held aside until it disappears, so it is not handed to a newcomer, and a context that
grows by gigabytes between refreshes (weights uploading) keeps an established owner. Multiple
zero-byte contexts at startup do not pin the monitor to an arbitrary one that might later grow.
Foreign sizes observed while only the monitor is running are cached per WSL boot in
~/.cache/gputaskman/, but remain hints: a process may exit while the monitor is off and a local
process may reuse its size. Observed foreign-context exits and idle samples clear obsolete hints.
The matched size also feeds VRAM sorting, initial model selection, the bounded model-file scan
priority, and the LLM weights / KV-cache breakdown. Inferred Linux rows remain below the VM total
and are never added to it again. The inspector and --json (vram_inferred_by) say which kind
of match each row has.
In one live check, a 2 GB and a 5 GB PyTorch allocation were matched to the right PIDs at 2.119 GiB and 4.914 GiB: the allocator's own figure plus about 0.26 GiB of CUDA context. That is one machine and driver, not a guarantee. A process that started long before it first used the GPU can break the start-order guess, and processes started in the same refresh are ordered by guess unless their sizes match.
With flakes enabled, run the published flake or a checkout:
nix run github:shanselman/gputaskman
nix run github:shanselman/gputaskman -- --list-gpus
nix run path:. -- --once
nix run path:. -- --json
Build both gputaskman and its gtm alias with nix build path:. (executables are in
result/bin/). The flake provides packages for x86_64-linux and aarch64-linux; flake.lock
pins nixpkgs. Dependencies come from nixpkgs, independently of uv.lock. No pip installation,
virtual environment, CUDA Toolkit, or ROCm installation is needed. GPU drivers remain supplied by
the host, never bundled with the package. NVIDIA's nixpkgs Python binding finds NVML through
/run/opengl-driver/lib; AMD and Intel use kernel sysfs and DRM fdinfo interfaces directly. On WSL2 the
host driver lives in /usr/lib/wsl/lib instead, and the wrappers add that directory to
LD_LIBRARY_PATH (it is ignored when absent, so NixOS is unaffected).
For source development and tests:
nix develop path:.
python -m gputaskman --once
python -m unittest discover -s tests -q
nix flake check path:. builds the package and runs the same hardware-independent tests.
For a flake-based NixOS configuration, add this repository as a gputaskman input, then include
inputs.gputaskman.packages.${pkgs.stdenv.hostPlatform.system}.default in
environment.systemPackages. Enable your GPU's normal NixOS driver configuration first.
The flake was contributed and checked on x86_64 NixOS 26.05; CI does not build it, and ARM64 has
not been validated.
Run from a clone (uv run gputaskman); there is no portable macOS download yet. Apple Silicon and
Intel integrated GPUs share system memory with the CPU. Intel Macs with an AMD discrete GPU have
separate VRAM. What macOS exposes without root:
| Column | Source | Who |
|---|---|---|
| GPU memory (header) | IOAccelerator PerformanceStatistics: Alloc system memory on Apple Silicon (out of physical RAM), GART usage on Intel integrated graphics, or inUseVidMemoryBytes on AMD discrete graphics. The Intel GART total is gartSizeBytes, when available; the AMD total comes from the matching PCI device when exposed | device |
| GPU% (header) | IOAccelerator PerformanceStatistics: Device Utilization % (or GPU Activity(%) when that is the driver's key) | device |
| GPU% | Apple Silicon Metal clients (AGXDeviceUserClient) or Intel Mac submitters (IOAccelSubmitter2) report cumulative accumulatedGPUTime; the rate is measured per client (a closed client never hides the others' work) | every process, when the driver exposes it |
| VRAM | footprint: dirty bytes of the categories macOS charges to graphics (the (graphics) categories: Metal buffers, textures) | your own processes on Apple Silicon / Intel integrated graphics |
| Paged | footprint swapped bytes of those same graphics categories (compressed graphics memory) | your own processes on Apple Silicon / Intel integrated graphics |
| Runtime, model files | Mapped files from proc_pidinfo region walks (psutil has no memory maps on macOS): libggml*.dylib, libllama*.dylib, libmlx*.dylib, libtorch_cpu.dylib, the Metal driver bundle | your own processes |
Other users' processes (WindowServer, system daemons) show GPU% with memory n/a: footprint needs
root for them. Idle ones are left out of the table, except WindowServer. Run with sudo to measure
every process's memory. The attributed total is unknown whenever a Metal client's footprint is
unmeasured, even if its row is hidden. Device allocation and per-process GPU time remain independent.
footprint takes ~70 ms per process, so it runs in a background thread:
busy processes and new ones every pass (~2 s), idle ones every 30 s. A new process shows n/a for a
second or two until its first measurement; a single failed measurement keeps the last size, and three
in a row back off for a minute. Measurements are tied to the process's start time, so a reused PID
never shows the previous process's numbers.
If the Metal client query fails or times out, per-process GPU readings are unavailable for that
refresh. JSON reports attributed: null with a reason in counter_status; a successful empty
query still reports attributed: 0. Device readings are independent and still appear if available.
The next successful query resumes GPU rates from the last successful sample.
Metal reports one GPU time per process, with no 3D/compute/copy/video split, so those columns show
n/a; a Metal process above 10% GPU is classified 3D/game unless something more specific applies
(AI runtime, browser, compositor). Spill, clocks, power, and temperature are not available, so
the chart picker offers only GPU and GPU memory. Paged is footprint's swapped graphics bytes, including
a measured 0, and is n/a when footprint did not report swapped or could not read the process. It is
not added to the VRAM column and it is not the Windows commit estimate.
Intel Macs: device and process counters have not yet been validated on Intel Mac hardware; dual-GPU
switching and eGPUs are not validated. AMD discrete per-process VRAM is unknown: footprint only
reports CPU-side graphics memory, not GPU-only allocations. Other unrecognized GPU memory counters
remain unknown. Adapters are matched to readings by IOKit registry identity, not enumeration order.
When multiple accelerators are present, process data is unavailable because their clients cannot yet
be reliably paired to an individual GPU. Restart after GPU topology changes to rediscover adapters.
A device without a usable identity or memory total is not guessed.
Handy's log is read from
~/Library/Logs/com.pais.handy/handy.log.
Live check on an M4 Mac mini (macOS 26.3.1): a PyTorch MPS job with a 2 GiB buffer and a matmul loop
showed Python AI PyTorch+Metal 3.06 GB 99%, with device utilization at 99% and allocated GPU
memory rising by the same amount.
Apple Foundation Models (Apple Intelligence's on-device model) does not show up, because it is not GPU
work. An app that calls FoundationModels hands the request to TGOnDeviceInferenceProviderService, run
by the _modelmanagerd user. That process opens Neural Engine clients (H1xANELoadBalancerDirectPathClient)
and no Metal clients, so it has no GPU time or graphics memory to show. macOS exposes no per-process or
device-wide Neural Engine utilization without root (powermetrics), so gputaskman does not guess one.
Live check on an M5 Pro (macOS 27.2.1, 24 GB): a Swift loop of LanguageModelSession.respond calls,
each about 2,000 characters in 10-20 s, alternated three times with idle windows of 10 s. Device
utilization was 0% in all three AFM windows, the per-process Metal GPU time totaled 9-10% in AFM windows
and 6-12% in idle ones, and neither the calling process nor the AFM worker gained a Metal client.
Scans skip other apps' sandbox containers (~/Library/Containers, ~/Library/Group Containers) and
system files without opening them: opening a file in a protected container blocks while macOS waits
for a privacy consent prompt.
These are captures of real local workloads through Textual's screenshot renderer, not mock data. Full filesystem paths and command lines were omitted in the capture copy. Measurements vary with the workload; the examples are not benchmarks.
The compositor, without treating all shared surfaces as its private VRAM
GPU-accessible system RAM, sorted by the Shared column
An explanation of what is measured, inferred, and unavailable
uv run --locked gputaskman # live TUI
uv run --locked gtm # shorter alias
uv run --locked gputaskman -i 2 # sample every two seconds
uv run --locked gputaskman --once # one text snapshot
uv run --locked gputaskman --json # one JSON snapshot; implies --once
uv run --locked gputaskman diff before.json after.json # compare two --json snapshots
uv run --locked gputaskman record -o session.jsonl --duration 300 # append one --json snapshot per second for 5 minutes
uv run --locked gputaskman replay session.jsonl # play that recording back, offline
uv run --locked gputaskman summary session.jsonl # average and peak readings and top processes of a recording
uv run --locked gputaskman --no-host # WSL: don't read Windows host counters through interop
uv run --locked gputaskman --no-system # don't sample system RAM/CPU: no panel, columns, or JSON section
uv run --locked gputaskman --help
| Key | Action |
|---|---|
| Up / Down | Select a process and inspect it |
s | Cycle sort: VRAM, GPU%, shared system memory, paged, name (then RAM, CPU% unless --no-system) |
c | Cycle all charts or a single metric (also available in the Charts dropdown) |
a | Switch between top and all collected processes |
m | Toggle full diagnostics / slim monitoring |
p | Pause / resume collection |
? | Explain the counters and their limits |
| Escape | Close help |
q | Quit |
A wide terminal (roughly 140 columns or more) makes the full table easier to read.
The TUI starts in Full diagnostics mode. Press m (or click Slim/Full in the
footer) for Slim monitoring: each GPU header hides driver/CUDA versions, PCI bus
address, driver model, PCIe generation/width, compute capability, power/clock limits,
performance state, and secondary memory/video clocks. GPU identity, memory bars and
provenance/availability warnings, utilization, PCIe throughput, temperature, current power
and SM/GFX clock, throttling alerts, charts, processes, and process inspection remain.
The header border names the active mode; press m again to restore the full details.
This is a session-only display toggle, applies to every GPU, and does not change collection
or one-shot text/JSON output.
The TUI color scheme is one of Textual's built-in
themes, chosen at startup by the TEXTUAL_THEME
environment variable (default: textual-dark). For example, TEXTUAL_THEME=ansi-dark gputaskman
(PowerShell: $env:TEXTUAL_THEME = "ansi-dark") renders with the terminal's own colors instead:
its default background and foreground and its ANSI palette, so the monitor blends into a custom
terminal theme; ansi-light and named themes such as nord or gruvbox are also available.
Set the variable in your shell profile to keep the choice across sessions; gputaskman stores no
configuration itself. The theme affects the live TUI only, not one-shot text or JSON output.
Chart series colors and the process-kind colors are explicit and do not follow the terminal palette.
All eight history charts are shown by default: GPU, SM clock (GFX on AMD, GT on Intel), VRAM, memory activity,
temperature, power, encoder, and decoder. They stack in narrow terminals and share rows as
the window widens. Click the Charts dropdown to focus on one metric or return to All charts.
A blank sample means no reading; zero is drawn at the baseline. Percentages use a 0–100%
scale, temperature uses 0–120°C, and the power and clock scales are displayed below the charts.
The dashboard and inspector scroll independently in short terminals so the process list stays usable.
Model/runtime discovery is throttled, so newly loaded models may take about 15 seconds to appear.
On multi-GPU systems, the TUI stacks a header and trend charts for each GPU and adds a GPU
column to the combined process list. A process using two GPUs has a separate row for each;
selecting a row inspects its memory on that GPU. Single-GPU layouts are unchanged.
Memory totals and histories stay separate per device; model files and runtime buffer logs
can span devices and do not prove per-device model placement. Discovery's 150 ms scan budget
is divided across GPUs, though each GPU has its own counter and telemetry queries.
Live check on a mixed-vendor Linux laptop (RTX 4050 Laptop GPU through NVML, AMD Phoenix iGPU
through DRM; CachyOS, kernel 7.3.3): both GPUs got their own header and charts, and the compositor
had a separate row on each GPU (measured on the NVIDIA one, n/a on the iGPU, where it opened
/dev/dri/card* and root-owned holders can't be ruled out without root). Systems with two
discrete GPUs, and multi-GPU on Windows, are not yet validated.
On Windows, the live TUI checks DXGI adapter topology every five seconds in the existing
sampling worker (or on the next sample with a longer interval). Removed adapters retain their
session GPU number with unavailable readings; surviving adapters keep their collectors and
histories, and newly discovered adapters are appended. Re-enabling an adapter rebuilds its
providers. LUIDs identify adapters; if a LUID changes, only a unique PCI location and
matching vendor/description can reconnect the old slot. Without that evidence, the old slot
remains unavailable rather than transferring its history or process ownership to another GPU.
--gpu N pins the adapter selected at startup, not whichever adapter later occupies index N;
it does not start monitoring other newly discovered devices. Session GPU numbers therefore
need not match a fresh --list-gpus after a topology change.
NVML handles are reacquired at the same low-frequency cadence; missing counters, lost telemetry
or sampling errors trigger provider reconstruction at the next successful discovery. Persistent
failures back off to at most one reconstruction per minute; a reappearing or changed adapter retries immediately.
Discovery errors retain the last known topology with a warning, not invented zero usage.
Pausing suspends discovery as well as sampling; resume performs an overdue check.
This recovery is covered by mocks, not validated with hardware disable/re-enable on the
reporter's hybrid AMD/NVIDIA laptop. On a three-GPU desktop (RTX 5060 Ti, RTX 3060, AMD iGPU;
Windows 11 build 26200, NVIDIA driver 610.88), disabling and re-enabling the RTX 3060 recovered
its slot, history, VRAM and processes, but NVML reads for that GPU then faulted inside nvml.dll
and nvmlShutdown() hung on exit. A fresh process read it normally. gputaskman therefore stops
reading NVML for a GPU whose reads fault, shows "restart gputaskman to restore it", and skips
nvmlShutdown() once an NVIDIA adapter has gone away (process exit releases the session). That
mitigation is covered by mocks and not yet validated on that hardware. It is not a claim of
physical hot-swap support.
Other backends and one-shot output retain startup-only discovery.
Under multi-GPU WSL, host attribution is disabled with a reason rather than risking matching
two devices by memory usage; Linux processes are listed once with GPU ?, because /dev/dxg
does not identify their GPU. --gpu N retains the existing single-device host matching.
--list-gpus lists selectable non-software DXGI adapters on Windows (including root-enumerated
display adapters), or hardware adapters on other platforms, with their vendor and adapter key.
"Microsoft Basic Render Driver" (WARP, Windows' CPU rasterizer) is hidden even when Windows lists it
without the software flag in place of a display adapter whose driver is missing or disabled; it has no
GPU memory or engines to show. --list-gpus names hidden adapters on stderr. --gpu N selects
one of these adapters: NVIDIA adapters are listed first, followed by other vendors, with each
group ordered by dedicated memory. An out-of-range
index is rejected rather than silently selecting another device. Compute-only devices such as an
NPU are not graphics adapters and are not listed; NVIDIA GPUs in TCC or MCDM mode are exceptions
(below). AMD and NVIDIA hardware coverage is described below; configurations
with multiple GPUs and mixed vendors need further hardware validation. --once and --json
still default to GPU 0; use --gpu N to collect another device without changing the snapshot format.
Device telemetry is matched to WDDM adapters by PCI location, not display name or enumeration order.
If a unique match cannot be established, telemetry is unavailable; buffer logs can still span devices,
so model-buffer attribution across GPUs is not yet reliable. This conservative matching also applies
to NVIDIA and may suppress telemetry when Windows does not expose a usable PCI address.
An NVIDIA GPU in TCC mode (a datacenter card, or a mining card such as the P102-100) has no
display driver, so Windows lists no adapter for it and publishes no GPU counters. On Windows,
gputaskman asks NVML, once when it starts, for TCC and MCDM devices that DXGI did not list and adds them
after the listed adapters, so no existing GPU number moves. --list-gpus marks them
TCC compute-only or MCDM compute-only with their PCI address (including the PCI domain when
nonzero), and --gpu N selects one. Adapter VRAM and each process's VRAM come from NVML. NVML documents per-process memory as always unavailable under WDDM
(Windows manages it, not the NVIDIA driver), so a TCC GPU is where it should be reported; a process
whose memory the driver does not report is n/a, never 0. Engine load, shared memory and commit are
n/a, and no model breakdown is attempted because it needs the shared memory counter too. A TCC/MCDM GPU
added or removed while gputaskman runs needs a restart to be noticed. This is covered by mocks, and
--list-gpus reports whether NVML found no TCC/MCDM GPU or could not complete its probe; raw driver
exception details are not printed. To validate a real TCC card, run gputaskman --list-gpus, then
gputaskman --once --gpu N for the TCC index and compare device and per-process VRAM with
nvidia-smi under the same workload. Record the GPU, driver and workload. The same code path was run
against a WDDM GPU (RTX 4080 SUPER, NVIDIA 630.20: adapter VRAM matched
nvidia-smi to the MiB with and without a 1 GiB CUDA allocation, and every per-process number stayed
Laatst bijgewerkt vanaf GitHub: 4 uur geleden
GitHub-cijfers worden een paar keer per dag ververst.
Log in of maak een account aan om te reageren.
Nog geen reacties. Wees de eerste.
Laat het zien: een live kaart met je positie en beoordeling, die zichzelf bijwerkt.
Liever de kleine? Voeg toe: ?style=flat