Suy luận, Triển khai & Thời gian chạy

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,8KSố sao
⑂ 185Fork
9Vấn đề đang mở
PythonNgôn ngữ
MITGiấy phép
Q85Điểm biên tập

Tổng quan

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.

Tính năng chính

  • 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

Yêu cầu, cài đặt và bắt đầu nhanh

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`).

Cách sử dụng

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).

Khả năng tương thích của mô hình và trường hợp sử dụng

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

Ghi chú về giấy phép và rủi ro

MIT License in repository LICENSE.

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

Phát hành và bảo trì

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++