gputaskman Practical Tutorial
gputaskman 0.4.5 Practical Tutorial: Locating the GPU Video memoryOccupy processes and monitor local AI and scientific rendering load.
Version Notes: This article is based on gputaskman version 0.4.5, available as of November 24, 2026. This version was released on November 21, 2026. The project is still in its early, experimental development phase, and the availability of hardware counters depends on the operating system, graphics card driver, and GPU model; subsequent versions may adjust commands, display fields, and platform support. This article is compiled based on the project's README, Release Notes, and PyPI release records. Item-by-item hardware testing has not been performed on a local GPU device; please refer to the latest project documentation before official use.
It is not uncommon for graphics card memory to suddenly spike when running local large language models, PyTorch training tasks, image generation, or 3D rendering.Windows Task Manager can display overall GPU usage, but when multiple programs are using the GPU simultaneously, researchers often want to know: Which process is consuming video memory? How busy is the GPU currently? Approximately how much space are the local model's weights and key-value cache occupying? Are open browsers, renderers, or model services still using the GPU?
open source tools gputaskman This is precisely the endpoint monitoring tool designed to address the aforementioned issues. This article uses... gputaskman 0.4.5 (released November 21, 2026) Based on this, we will introduce the installation of the Windows portable version.Python It covers environment setup, real-time monitoring, process checks, model information viewing, and GPU load logging, and explains its measurement boundaries, estimated data, and privacy considerations.
Standalone GPU process monitoring tools
When a graphics card experiences high usage, the most common first step is to open Windows Task Manager and check the GPU page under “Performance”. However, total video memory usage and GPU utilization only indicate the overall state of the device and may not explain what each process is doing. Especially in local AI workflows, browsers, model services, Python training scripts, image generation software, and 3D renderers may all be using the GPU simultaneously, making it difficult to pinpoint the problem by looking at a single total.
For example, your computer may show that 12 GB of video memory is in use, but you might not know that:
- Is Ollama or llama.cpp loading a local model?
- Do Python processes still retain CUDA tensors or model caches?
- Are Blender, Cinema 4D, or other rendering software still using video memory?
- Do browser hardware acceleration, video decoding, or desktop compositing also use GPUs?
- Is the current process using the graphics card's local video memory, or system memory accessible to the GPU?
gputaskman It's a GPU monitoring and process inspection tool that runs in the terminal. It attempts to view device-level metrics, process-level memory usage, and engine activity together with identifiable runtime, model file, and some local model service information. Its positioning is somewhat similar to that of a GPU-based... htopIt should not only show how much the graphics card is used, but also explain which processes are using it as much as possible.
It is important to emphasize that gputaskman is not the Windows built-in Task Manager, nor is it an official NVIDIA tool; it is an independent open-source project under the MIT license and should not be mistaken for a system component provided by Microsoft with Windows. It monitors locally observable GPU workloads and is not responsible for monitoring cloud GPU services, nor is it suitable for pure CPU or pure NPU workloads.

Features of gputaskman 0.4.5
Main functions
| Features | What can be viewed? | Uses in scientific research and learning |
|---|---|---|
| Equipment monitoring | GPU memory, utilization, temperature, power consumption, clock speed, partial memory activity, and PCIe metrics. | Determine if the graphics card is under high load during training, inference, or rendering. |
| Process list | Which programs are using the GPU, and what process-level video memory and engine activity are available? | Detecting GPU usage by Python, model service, browser, or renderer |
| Runtime identification | Clues include CUDA, HIP, Vulkan, Direct3D, ggml, and ONNX Runtime. | The system helps determine the computing or graphics runtime environment used by the process. |
| Model Checker | Display information such as model name, architecture, quantization, weights, and estimated key-value cache when sufficient evidence is available. | Assisted analysis of local model services such as Ollam and llama.cpp |
| Historical records | Record JSON Lines snapshots, replay and summarize averages and peaks. | Compare resource changes before and after training, inference, or long-term rendering. |
| Command line output | Comparison of one-time text snapshot, JSON output, and snapshot differences | Incorporate monitoring results into scripts or troubleshooting logs. |
Version 0.4.5 Update
The project's Release page shows that version 0.4.5 was released on [date missing]. November 21, 2026Released. This version's improvements don't focus on drastically changing the interface, but rather on more clearly displaying incomplete or unavailable data as an unknown state, reducing the risk of mistaking “not read” for “value is zero”. Updates also address WSL host counters, macOS Metal query failures, NVML process list errors, multi-GPU device differentiation, and vLLM hints and token generation rate metrics.
For research users, this type of correction is important: if monitoring data doesn't specify its source and availability, it's easy to mistakenly assume values not provided by the driver are actually zero usage. gputaskman 0.4.5 places greater emphasis on preserving the “unknown” state, rather than filling in 0 just to make the table look complete.

Installation requirements
gputaskman does not read all metrics from all GPUs through a single interface. Different operating systems and drivers expose different data, so the same field may have a value on one computer but display differently on another. N/A。
Platform and Support Overview
| environment | Support details listed in the project documentation | Precautions should be taken when using it. |
|---|---|---|
| Windows 10/11 64-bit | Supports Windows x64 and native ARM64 portable versions; can read some NVIDIA/AMD telemetry data, as well as process counters provided by WDDM. | Requires the current WDDM driver; the temperature, power consumption, clock, and process memory fields that can be read are not entirely the same across different manufacturers. |
| Linux native environment | Supports NVIDIA; AMD and Intel can read some data through the corresponding kernel driver interface. | glibc, kernel version, drivers, and user permissions affect visible processes and metrics; processes belonging to other users may require higher privileges to view. |
| WSL | Supports NVIDIA and has an AMD WSL path. | The host counters rely on WSL interop; the matching of Linux processes and Windows host counters may contain unpredictable flags. |
| macOS Apple Silicon | The README provides a section on running from source code; currently, there is no portable download package for macOS. | Some troubleshooting text in the same README still retains the old “macOS not supported” message; the unified memory and Metal metrics also differ from the dedicated graphics card's VRAM. Mac users should first verify the latest README/Release and are not advised to directly copy the Windows installation steps. |
Windows users are advised to start with the portable version; there's no need to configure Python, UV, or CUDA Toolkit first. Linux/WSL users who need a more detailed support matrix should directly read the Linux and WSL sections of the project's README.
Windows pre-installation checks
Recommended preparation:
- Windows 10 or Windows 11 64-bit system;
- Stable drivers currently provided by graphics card manufacturers;
- Windows Terminal or PowerShell;
- A supported GPU;
- A sufficiently wide terminal window. The project recommends using a terminal with approximately 140 columns or wider for a full table view.
If you are unsure of the current graphics card driver status, you can press Win + R,enter dxdiagOpen the DirectX Diagnostic Tool and check the graphics card and driver information on the “Display” page. Do not assume that all sensor fields will be available based solely on the graphics card model.
Windows Portable Installation:
No Python or CUDA Toolkit required
This is the most suitable installation method for ordinary Windows users.
Download from the official GitHub Releases
- Open the project's official release page:https://github.com/shanselman/gputaskman/releases。
- Enter the latest
GPU Task Manager v0.4.5Release page. - Select the corresponding file based on the processor architecture:
- For regular Intel/AMD 64-bit Windows computers, select the Windows x64 compressed file;
- For native Windows ARM64 devices, select the Windows ARM64 compressed package.
- Download the corresponding ZIP file and the one provided on the same release page.
.zip.sha256Verify the file. - Extract the ZIP file to a separate directory, for example...
D:\Tools\gputaskman-0.4.5\。
Note that x64 and ARM64 are different native builds and not the same generic program. Do not download the x64 package and run it via emulation to replace the ARM64 version simply because your device uses an ARM processor.
Verify downloaded file
This project provides SHA-256 checksum files for portable ZIP archives. After downloading, you can execute the following command in PowerShell:
Get-FileHash .\gputaskman-0.4.5-windows-x64.zip -Algorithm SHA256
Compare the SHA256 value output by the terminal with the corresponding value provided on the publishing page. .zip.sha256 Compare the file contents. The filenames should match the actual downloaded assets. If they do not match, do not run the compressed file; download it again and verify it once more.
Do not disassemble the files during decompression.
After decompression, you must keep it. gputaskman.exe 和 _internal The relative positions of folders. Don't just put... gputaskman.exe Copy it to the desktop only, do not delete it. _internal Folder.
The directory structure is roughly as follows:
gputaskman-0.4.5-windows-x64/ ├── gputaskman.exe ├── _internal/ └── Other included files
Startup tool
Press and hold in the blank space of the unzipped directory. Shift Right-click and select “Open Terminal Here,” or switch to that directory in Windows Terminal and then execute:
.\gputaskman.exe
If you want to output a state snapshot only once:
.\gputaskman.exe --once
If you want to output JSON:
.\gputaskman.exe --json
Check version and available parameters:
.\gputaskman.exe --version .\gputaskman.exe --help
Safety Reminder: The project README states that the current Windows portable build is unsigned and does not have a traditional installer. Windows may display an unknown publisher or security warning. Do not disable Windows security features to run it; first verify that the download address is indeed from the project's official GitHub Releases and check the SHA-256. If you cannot verify the file source or checksum, do not continue.

Install via UV or Pixel
If your computer already has Python 3.11 or later, you can also install it using Python tools. This method will place gputaskman in an isolated environment, eliminating the need to install it within a research project's virtual environment.
UV installation
uv tool install gputaskman gputaskman
Upgrade to the currently available PyPI versions:
UV tool upgrade gputaskman
Install using Pipx
If Pipx is already installed, you can execute:
pipx install gputaskman gputaskman
upgrade:
pipx upgrade gputaskman
Check version after installation:
gputaskman --version
This article uses version 0.4.5 as a baseline. Due to the frequent updates to the project, if the installation command retrieves a version newer than 0.4.5, the menus, fields, or parameters may have changed. When it is necessary to consistently reproduce the experimental environment, the actual installed version should be recorded, rather than simply recording “the latest version was installed”.
If you are not yet familiar with the differences between UV's project environment and tool environment, you can refer to this website. uv Python Environment Management TutorialThis uses UV toolIt is related to the project .venv The methods for installing the analysis package differ between the two systems.
Getting to know the main interface: Device, process, and model inspector
After launching, gputaskman will display an interactive text interface (TUI) in the terminal. If the terminal is too narrow, some columns and charts may wrap or be hidden. It is recommended to maximize the terminal window before viewing the data.
GPU device area
The device area typically displays the graphics card name, memory capacity and usage, GPU utilization, and the temperature, power consumption, clock speed, memory activity, and PCIe metrics currently available from the driver. Not every GPU provides all fields; missing data may be displayed. N/A Or blank.
Don't N/A Interpreted as 0. This indicates that the current drive or monitoring interface is not providing any available readings, and cannot be used to conclude that the device is not active.
Process list
The process list displays programs that are using the GPU, and includes information such as local video memory, shared system memory, GPU engine activity, and process type, if possible. Common processes may include:
python.exeIt may run PyTorch, TensorFlow, image processing, or other CUDA/HIP tasks;ollama.exe、llama-serverIt may run a large local language model;blender.exeIt may perform viewport calculations or rendering;- Browser process: may use hardware acceleration, video decoding, or WebGPU;
- Desktop synthesizers and system processes may also consume some GPU resources.
Seeing a process name does not mean you know what task it is performing. A Python process may be running CPU code or using the GPU; you should combine changes in GPU memory, engine activity, runtime information, and the actual task to make a judgment.
Common keyboard operations
| button | Features |
|---|---|
↑ / ↓ | Select the process and view details. |
s | Switch between sorting fields such as video memory, GPU utilization, shared memory, Paged, and name. |
a | Switch between top processes and all collected processes. |
c | Switch between all charts or a single indicator chart |
m | Switch between full diagnostics and simplified monitoring views |
p | Pause or resume data collection |
? | See the counter's meaning and limitations. |
Esc | Close Help Panel |
q | Exit Program |
m Changing only the display density of the current terminal interface will not change the data acquisition method, nor will it suddenly make previously unusable sensors usable.

Practical application: Locating which program is using video memory
The following example, using a local Windows computer, demonstrates a troubleshooting process that doesn't require downloading large models. You can use your existing PyTorch, Ollam, Blender, or other GPU workloads without having to install new models for testing.
First record the idle state
When no training or rendering tasks are actively running, open PowerShell and execute:
.\gputaskman.exe --once
First, observe the device's video memory and process list to record which resident programs are using the GPU. Browsers, desktop applications, and security software may also show some GPU activity during idle periods, which does not necessarily indicate an anomaly.
Launch actual GPU workload
Launch the task you usually use in another window, for example:
- Run an existing PyTorch inference script;
- Start the local Ollam model service and initiate an inference;
- Perform a single GPU rendering in Blender;
- Open an image or video processing task that uses GPU acceleration.
Avoid starting multiple high-load tasks simultaneously in unfamiliar environments. Run one task first to determine which process is causing the resource changes.
Start real-time monitoring
Return to the monitoring window and execute:
.\gputaskman.exe -i 2
-i 2 This indicates that sampling is performed at approximately 2-second intervals. Depending on the number of processes and device specifications, information such as model recognition may appear slightly later; complete model information is not displayed immediately after each process starts.
Press in the interface sSwitch to sorting by video memory or GPU utilization; then use the up and down arrow keys to select suspicious processes and view the inspection information on the right or bottom.
Structural judgment
We recommend checking in the following order:
- First, look at the process name and PID. Confirm that it corresponds to the program you just launched.
- Let's look at the changes in video memory. Compared to the idle state, observe whether the local video memory of the process increases significantly.
- Check GPU Engine activity. If video memory is increased but GPU utilization is temporarily low, it may be because the model has been loaded but is not currently being computed.
- Examine runtime clues. Identifiers such as CUDA, HIP, Vulkan, or ONNX Runtime can help determine the computing environment used by a program.
- Combine with task logs. Compare monitoring information with Python output, model service logs, or rendering progress; do not draw conclusions based on a single number.
These fields are easily confused:
- VRAM / Local: GPU local memory related readings. The source of the counters and the process attribution rules differ across platforms.
- Shared: The system memory accessible to the GPU. This does not necessarily represent video memory overflow; it could also be host buffers that are intentionally allocated or fixed by the application.
- Paged: The project's estimates are based on several memory counters and are not Windows page file usage data, nor are they actual video memory swap-out events.
- GPU% It reflects the GPU engine activity of a process or device, but different operating systems may use different sampling sources; some platforms do not have per-process engine readings.
If a certain field displays N/A、null If the status is unknown, this conclusion should be retained and not rewritten to 0 GB or 0%. The project documentation clearly states that a missing counter is not equivalent to a measured value of zero.

View local AI model information:
Weights, Key-Value Cache, and Runtime Threads
One of the features of gputaskman is its model inspector. For supported local model runtime environments, it can attempt to identify the model loaded by the process and display information such as architecture, quantization, number of layers, weight size, and estimated KV cache cost.
For example, when running a local Ollam or llama.cpp service, the tool may combine the model file, command-line arguments, local service interface, and logs to display the model name and some buffer information. For vLLM, it may also read information such as model identifier, request status, or token rate when the corresponding interface is exposed on the server side.
However, three types of information must be distinguished:
- The operating system or driver that actually reports the counter. These are measurements read directly by the tool, but they are still affected by driver definitions, shared buffers, and permissions.
- Information reported in runtime or service logs. For example, the weights or key-value buffer size recorded by the model service when it is loaded; it reflects the moment described in the log and is not necessarily equal to the current real-time resident count of the GPU.
- Information derived from model files. For example, weights or KV cache can be estimated from the GGUF file header and model configuration; the actual results will be affected by the quantization method, context length, part of the GPU offload, sliding window attention, and runtime implementation.
The fact that a process loads a CUDA or PyTorch-related DLL does not alone prove that it is training a model; similarly, the appearance of a model file in the process mapping list does not prove that the model is currently fully residing in GPU memory. The value of gputaskman is to present clues in a concentrated manner, but the final judgment should still be based on the actual task and runtime logs.

Record a training or rendering process and summarize the peak values.
Looking at real-time numbers alone is sometimes insufficient. For example, does GPU memory gradually increase after 30 minutes of model training? How do GPU temperature and power consumption change at the start of rendering? These questions can be addressed using... record Record a snapshot of a JSON line, and then... summary Summary.
Record GPU status for 5 minutes
Execute the following command in the Windows portable version directory:
.\gputaskman.exe record --gpu 0 --interval 5 --duration 300 -o .\session.jsonl
Parameter meaning:
--gpu 0Select the GPU numbered 0; for multi-GPU devices, first check the actual GPU list and numbers.--interval 5Records every 5 seconds, reducing the file size generated by long-term recording.--duration 300Record for 300 seconds, which is 5 minutes.-o .\session.jsonl: Appends the results to the specified file.
If you want to continue recording until you manually stop, you can omit this step. --durationThen press Ctrl + C End. The project documentation states that the log file is appended JSON lines, with each line corresponding to a complete snapshot.
Summary of average and peak values
Execute after recording is complete:
.\gputaskman.exe summary .\session.jsonl
The summary will display the average and peak values of metrics such as the number of samples, time range, GPU memory usage and utilization, as well as processes with high resource consumption. Metrics that could not be successfully read will be treated as unknown values and should not be included in the comparison as 0.
Replay Record
.\gputaskman.exe replay .\session.jsonl
Replay allows you to view snapshots of the recorded data over time, making it suitable for reviewing memory changes at a specific stage after training or rendering has finished. Replay files do not re-capture GPU data.
Compare before and after the task begins
You can also save two JSON snapshots:
.\gputaskman.exe --json | Set-Content .\before.json
Start the task and wait for resource usage to stabilize before executing:
.\gputaskman.exe --json | Set-Content .\after.json .\gputaskman.exe diff .\before.json .\after.json
This allows for quick comparison of device and process changes between two sampling sessions. Note that you should try to keep the GPU selection consistent during the comparison; if you change the graphics card midway or the device identity cannot be verified, the tool may refuse to treat the readings from two different devices as the same set of data for comparison.
Privacy risks associated with logged files: The JSON output may include local file paths, command-line arguments, model names, and local server ports. Even if the file does not contain model weights, it does not mean it can be publicly shared. It should be checked and anonymized before sharing.
In conjunction with other tools
gputaskman does not need to replace system tools. A more reasonable approach is to choose tools based on the task and cross-validate them on key data.
| Tools | Main uses | Relationship with gputaskman |
|---|---|---|
| Windows Task Manager | View system processes, overall GPU activity, and common hardware counters. | Suitable for quickly determining system status; gputaskman further integrates runtime and model cues. |
nvidia-smi | View NVIDIA GPU, driver, device-level metrics, and available process information. | Suitable for cross-checking under NVIDIA environment; some per-process video memory fields may be unavailable under Windows WDDM. |
| GPU-Z / Vendor Monitoring Tools | View information such as hardware sensors, frequency, temperature, and power consumption. | Suitable for verifying hardware sensor readings; may not provide the same model checking and recording workflow. |
| gputaskman | Connection device counters, process information, runtime and model clues | Suitable for troubleshooting which local process is using the GPU and recording resource changes during a task. |
If gputaskman and the vendor's tools display different values, don't immediately assume one of them is faulty. First, check the counter definition, sampling time, driver mode, shared memory, and process ownership rules. Especially in WDDM, WSL, container, or multi-GPU environments, different tools may observe data at different levels.
If your work involves rendering scientific models using C4D/Redshift, you can use this site's [website/platform name]. C4D + Redshift Scientific Rendering Installation and Configuration Tutorial This article should be read in conjunction with the previous one: the former addresses rendering environment and GPU configuration issues, while this one focuses on observing which local processes consume GPU resources during the rendering process. The two articles have different objectives, and monitoring readings should not be used as a benchmark for rendering performance.
Frequently Asked Questions and Limitations
No GPU data after startup
First, check your graphics card driver and system compatibility. Windows users can run... dxdiagFirst, confirm the driver status and WDDM support; Linux users should confirm the availability of the corresponding driver and kernel interface. Alternatively, you can execute:
.\gputaskman.exe --list-gpus
Check if the tool can detect the device. If this parameter is not listed in the current version's help information, then... --help The actual output shall prevail.
The process list contains data, but some columns display N/A.
This usually indicates that the current system or driver does not provide a corresponding counter, or that the process does not have sufficient permissions.N/A A value not equal to 0 does not necessarily indicate a GPU failure. You can first compare the system's Task Manager or the vendor's tools under the same load.
The Python process appeared, but it could not recognize the model name.
The tool cannot automatically read models from any Python process. A specific model will only be displayed if process parameters, model files, runtime interfaces, or logs provide sufficient evidence. Some programs close files after loading models or use unsupported service interfaces, in which case only runtime or video memory activity clues will be displayed.
In WSL, process ownership is uncertain.
The Linux process and the Windows host GPU counters in WSL are not in the same process namespace. The tool may need to match based on the visible context and indicate the matching or inference status in the interface. Multiple GPUs, multiple WSL distributions, Docker, and other container environments increase the difficulty of matching. When encountering... ? Do not treat lines marked with other uncertain symbols as belonging to processes that have been strictly confirmed.
Are multi-GPU results completely reliable?
The project provides a multi-GPU interface and device differentiation, but the README still points out that some dual discrete graphics card and Windows multi-GPU combinations have not yet been fully verified in real-world testing. If the research task relies on precise single-card attribution, it is recommended to first verify each card with known loads and record the graphics card model, driver version, and testing method.
Is it possible to monitor cloud-based GPUs?
No. gputaskman targets local GPU workloads. Cloud GPUs, remotely hosted inference services, or computing resources used only through the API will not appear in the local process table simply because the tool is installed on your machine.
Can you tell me exactly how much video memory each layer of the model uses?
This cannot be guaranteed. The model inspector can provide clues such as weights and key-value cache based on runtime logs, model files, and service interfaces, but some information is estimated and cannot replace the framework's own memory analyzer or strict memory allocation tracking.
Privacy and Usage Recommendations
The project README states that during normal monitoring, the system reads local process metadata, compatible model file headers, load logs, and local service responses. It does not dump model weights or actively send telemetry data. However, this does not mean the output files are free of privacy information.
- The process command line may contain the project directory, parameters, or username;
- The model path may reveal the topic name, sample number, or internal project code;
- Local service ports and process names may expose running applications;
- The JSONL log file will retain the above information from multiple snapshots.
suggestion:
- Obtain the software only from the official GitHub Releases or PyPI project page;
- For Windows portable bags, first verify the SHA-256; do not disable system security features to bypass the warning.
- Do not run as an administrator unless a specific metric requires additional privileges and you understand its impact.
- Do not upload raw JSON/JSONL records directly to public forums;
- When dealing with unpublished experimental data, restricted models, and collaborative projects, first confirm the laboratory's data security requirements.
Conclusion
gputaskman 0.4.5 is suitable for filling the information gap in traditional GPU monitoring regarding “what a process is actually doing”. It can put device counters, process activity, runtime clues, and some local model information into a terminal interface, and can also record a training, inference, or rendering process for easy comparison later.
However, it remains a rapidly iterating, experimental open-source project. Whether the hardware counter is available, whether the process memory can be accurately attributed, and whether the model information is measurement or estimation all depend on the specific platform and data source. A more reliable approach is to first use Task Manager or vendor tools to understand the device status, then use gputaskman to locate suspicious processes, and finally cross-verify by combining program logs with actual tasks. For research work, recording the version, driver, graphics card model, and test conditions is more valuable than simply saving a screenshot of the memory usage.
Reference Links
- gputaskman official GitHub repository:https://github.com/shanselman/gputaskman
- gputaskman official Releases:https://github.com/shanselman/gputaskman/releases
- gputaskman v0.4.5 Release History:https://github.com/shanselman/gputaskman/releases/tag/v0.4.5
- gputaskman PyPI project page:https://pypi.org/project/gputaskman/
- PyPI 0.4.5 Release History:https://pypi.org/project/gputaskman/0.4.5/
- r/StableDiffusion Community Discussion (2026-11-07):https://www.reddit.com/r/StableDiffusion/comments/1xq94xa/microsoft_engineer_built_a_tool_that_shows_whats/
- TechPowerUp related report (November 10, 2026):https://www.techpowerup.com/354659/microsoft-developer-builds-a-gpu-task-manager-to-show-which-apps-are-eating-your-vram
- UV official tool installation documentation:https://docs.astral.sh/uv/concepts/tools/




