推論、デプロイ、ランタイム

gputaskman (shanselman/gputaskman)

shanselman/gputaskman

MIT-licensed terminal GPU process monitor in Python that breaks down per-process VRAM, WDDM shared memory spill, loaded AI runtimes, model files, and LLM buffer estimates across Windows, Linux, WSL, and Apple Silicon.

★ 3.8Kスター
⑂ 185フォーク数
9未解決の問題
Python言語
MITライセンス
Q85編集部スコア

概要

gputaskman is an `htop`-style terminal UI for local GPU workloads that answers not just how full your GPU is, but what each process is actually holding in memory. It maps device telemetry and per-process memory/engine activity to loaded runtimes, mapped model files, and LLM memory breakdowns (model weights vs. KV cache and compute buffers). Targeted strictly at local workloads—including LLM inference, vision, speech, fine-tuning/training (such as Unsloth), and graphics—it runs across Windows (NVIDIA, AMD, Intel/Qualcomm WDDM), Linux/WSL (NVML, amdgpu/i915, experimental Ascend 310P via npu-smi), and macOS on Apple Silicon.

主な機能

  • PyPI install via `uv tool install gputaskman` or `pipx install gputaskman` (`gtm` alias)
  • Portable standalone builds for Windows x64/ARM64 and Linux x64/ARM64 with SHA-256 checksums
  • Connects per-process VRAM & WDDM shared-RAM spill to runtimes, model files, and LLM weight/KV cache estimates
  • JSON single-shot export (`--once`, `--json`) using explicit `null` for unavailable counters
  • Supports Windows, native Linux, WSL2 host-matched views, Docker/Kubernetes containers, and Apple Silicon

要件、インストール、クイックスタート

1. Install from PyPI with uv or pipx (Python 3.11+):
uv tool install gputaskman
pipx install gputaskman
2. Launch the TUI with `gputaskman` (or short alias `gtm`).
3. Or run without Python on Windows/Linux using portable GitHub Release archives (`v0.4.5`): `gputaskman-VERSION-windows-x64.zip`, `gputaskman-VERSION-windows-arm64.zip`, or `gputaskman-VERSION-linux-x64.tar.gz` / `linux-arm64.tar.gz` (keep `_internal` beside `gputaskman.exe`).

使用方法

Run `gputaskman` (or `.\gputaskman.exe`) for the live terminal dashboard; add `--once` for a single snapshot or `--json` for structured output (unavailable counters emit `null` rather than zero). When cloning from source, run `uv run --locked gputaskman` (or `--frozen` with alternate mirrors on an unchanged checkout).

モデルの互換性とユースケース

Workload monitor rather than a model; inspects local PyTorch/CUDA, llama.cpp/GGUF, vLLM, and Unsloth runtimes.

ライセンスとリスクに関する注意事項

MIT License in repository LICENSE.

Editorial source review: README, repository metadata, release feed and LICENSE read; no install test.

リリースとメンテナンス

Latest GitHub release v0.4.5 (2026-11-21); marked early, experimental software with unsigned portable ZIP builds.

vllm

vllm-project/vllm

★ 89.5KPython

sglang

sgl-project/sglang

★ 32.2KPython

OpenVINO

openvinotoolkit/openvino

★ 10.6KC++