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.

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.0.1.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

gpu_tracker-1.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpu-tracker-1.0.1.tar.gz
  • Upload date:
  • Size: 15.7 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.0.1.tar.gz
Algorithm Hash digest
SHA256 44dbb4e6e2a746d5c951393f0de4fb7ae97ba99067c0bfb08b4dd65c490172bf
MD5 c463fd05c56594ce1f2668c4876ed6fd
BLAKE2b-256 5fe2b9f1ad2b179fd4717e7f00bf1873d4b77d874b3475ebfa2565c0287d59e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gpu_tracker-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 260c7bb939c6d4ae95cfcce365aa8ad9aa3f736597d7176f9c9d84a4d85bec64
MD5 aaa0196e587ec2dc13fdfff5c2f95c90
BLAKE2b-256 f9cd7bf4ed89393d349a3ca4095b0da987257c223a97cec6c483d4a03c151cb1

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