Skip to main content

GPUInfoNV

GPUInfoNV is a Python library for gathering and managing information about NVIDIA GPUs. It provides functionality to retrieve GPU statistics, check PyTorch availability, and free up GPU resources.

Features

  • Detect and gather information about NVIDIA GPUs
  • Check PyTorch and CUDA availability
  • Retrieve detailed GPU statistics
  • Free up GPU resources, including process termination and cache clearing

Installation

You can install GPUInfoNV using pip:

pip install gpuinfonv

Quick Start

Here's a simple example of how to use GPUInfo:

from gpuinfonv import GPUInfo

# Create a GPUInfo instance
gpu_info = GPUInfo()

# Print information about all detected GPUs
gpu_info.print_gpu_info()

# Free up GPU resources
gpu_info.free_up_gpu(0)  # Free up GPU 0

Documentation

For more detailed information, check out our full documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for gpuinfonv 0.1.0

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

Source distribution (sdist)

Source distribution for gpuinfonv 0.1.0
File Size Uploaded Provenance Actions
gpuinfonv-0.1.0.tar.gz 4.5 kB Without provenance Details for gpuinfonv-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gpuinfonv 0.1.0
File Interpreter ABI Platform Actions
gpuinfonv-0.1.0-py3-none-any.whl Python 3 none any Details for gpuinfonv-0.1.0-py3-none-any.whl

Total release size: 9.8 kB

Release files / gpuinfonv-0.1.0.tar.gz

Download URL gpuinfonv-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
953b3466a39e834b0599f4ede8d06618c1f5102f55d85e9d666184467f363328
BLAKE2b-256 checksum
How to use checksums
47f20516fe613c3f2bc2016e869889e55ad3b7fa529f9ce911e345acc56bc27d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-44-generic

Release files / gpuinfonv-0.1.0-py3-none-any.whl

Download URL gpuinfonv-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e058c2b6b98c902a6de8bd967a0134c37d10754079bb6672cdaa4bda81b13d76
BLAKE2b-256 checksum
How to use checksums
b1ca7f736973a625d95326927bd670dae1a8cbfc1a92ffa5a0aca78f8e964da7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-44-generic

Security for gpuinfonv 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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