Skip to main content

pynvml-amd-windows

Purpose

pynvml-amd-windows is a drop-in replacement for NVIDIA's pynvml Python library, designed to allow existing pynvml-based applications to monitor and manage AMD GPUs on Windows systems. It provides a compatible API that redirects NVML calls to the AMD ADLX backend, enabling tools that were written for NVIDIA GPUs to work seamlessly with AMD hardware.

It was written for the specific purpose of enabling Crystools GPU performance monitoring for AMD platforms under Windows.

This package is especially useful if you have tools or scripts that expect pynvml to be present, and you want them to function without modification on systems with supported AMD GPUs.

Features

  • Implements the pynvml interface using AMD's ADLX library for Windows.
  • Compatible with most scripts and programs expecting import pynvml.
  • No need to modify existing code: the package transparently handles imports using a .pth file.

Installation

Using pip

pip install pynvml-amd-windows

From source

Clone or download this repository, then run:

pip install .

from within the project directory.

Usage

After installation, any Python program that imports pynvml (or uses a package depending on it) will transparently use the AMD implementation on Windows—no code changes required.

Example:

python
import pynvml

pynvml.nvmlInit()
count = pynvml.nvmlDeviceGetCount()
print("Number of AMD GPUs detected:", count)

Limitations

  • Only supports AMD GPUs on Windows using the ADLX backend.
  • Some advanced pynvml features may not be supported or may have slightly different behavior due to backend differences.

License

This project is distributed under the MIT License.

Authors


Metadata

Release files for pynvml-amd-windows 1.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynvml-amd-windows 1.0.14
File Size Uploaded Provenance Actions
pynvml_amd_windows-1.0.14.tar.gz 7.8 kB Without provenance Details for pynvml_amd_windows-1.0.14.tar.gz

Release files / pynvml_amd_windows-1.0.14.tar.gz

Download URL pynvml_amd_windows-1.0.14.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0b3c739450432a441d9f7285bbf15f2de64b76d65b2892d7ff7daa7b58af7c86
BLAKE2b-256 checksum
How to use checksums
4149189536f1a6faf85b10c4326a8f64136333626a679d802a312e1fd6810fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for pynvml-amd-windows 1.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page