Skip to main content

Tracks computational resources of a process and its child processes, most prominently GPU RAM, as well as RAM and compute time.

Project description

Description

The gpu_tracker package provides a Tracker class that tracks (profiles) the usage of compute time, maximum RAM, and maximum GPU RAM. The compute time is a measurement of the real time taken by the task as opposed to the CPU-utilization time. The GPU tracking is for Nvidia GPUs and uses the nvidia-smi command, assuming the Nvidia drivers have been installed. Computational resources are tracked throughout the duration of a context manager or the duration of explicit calls to the start() and stop() methods of the Tracker class. The gpu-tracker command-line interface alternatively tracks the computational-resource-usage of an arbitrary shell command.

Documentation

The complete documentation for the gpu_tracker package, including tutorials, can be found here.

Installation

Requires python 3.10 and above.

Install on Linux, Mac OS X

python3 -m pip install gpu-tracker

Install on Windows

py -3 -m pip install gpu-tracker

PyPi

See our PyPi page here.

Questions, Feature Requests, and Bug Reports

Please submit any questions or feature requests you may have and report any potential bugs/errors you observe on our GitHub issues page.

GitHub Repository

Code is available on GitHub: https://github.com/MoseleyBioinformaticsLab/gpu_tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpu-tracker-1.2.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

gpu_tracker-1.2.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file gpu-tracker-1.2.0.tar.gz.

File metadata

  • Download URL: gpu-tracker-1.2.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gpu-tracker-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6eb249180765b4e321642555854b12c34629cfd715e01310d866bc24d10c62a0
MD5 8152d34d58855e33242e11ea8b9cc297
BLAKE2b-256 df21675e7991fe9816f6594a5dd30ec0fbc2c852e811059c243f3b437b816425

See more details on using hashes here.

File details

Details for the file gpu_tracker-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: gpu_tracker-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gpu_tracker-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4706258c3c0d03a1069bafcb8201b7d5d2bdbbcc59fe63b3793121afb2c9b04d
MD5 e502b00442cc9a30f38a8ac3332c9a92
BLAKE2b-256 f4184124d0efbee8fc7e7e470ba0b49b81713737e61c95807c33e5e06e0e7a40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page