Skip to main content

A library and CLI utilities for managing performance states of NVIDIA GPUs.

Project description

nvidia-pstate

A library and CLI utilities for managing performance states of NVIDIA GPUs.

Installation

pip3 install nvidia_pstate

Usage

# List available performance states (TODO: does not work right now, use nvidia-smi -q and count memory clocks)
nvidia-pstate list-pstates

# Set performance state for specific GPU
nvidia-pstate set-pstate -i 0 -ps 0

# Let driver decide which performance state GPU should use
nvidia-pstate set-pstate -i 0 -ps 16

# Set performance state for all GPUs
nvidia-pstate set-pstate -ps 0

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

nvidia_pstate-1.0.0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

nvidia_pstate-1.0.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

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