Skip to main content

Python bindings for Nvidia MIG

Project description

NVIDIA MIG Manager

A Python library for managing NVIDIA GPU Multi-Instance GPU (MIG) partitions and resources. This library provides a simple interface to create, list, and destroy MIG partitions, as well as monitor their resource usage. Only tested with NVIDIA A30 GPUs.


Features

  • MIG Partition Management: Create, list, and destroy MIG partitions on NVIDIA GPUs that support MIG.
  • Resource Allocator: Automatically create MIG partitions based on workload memory requirements.
  • Resource Monitoring: Track memory, compute utilization, temperature, and power usage for each MIG partition to maintain optimal performance and prevent bottlenecks.

Installation

Requirements

  • Python: >= 3.7
  • NVIDIA GPU with MIG support
  • NVIDIA Driver and DCGM Python bindings

Install via pip

To install the library, simply clone the repository and install dependencies:

git clone git@github.com:MoonOoOoO/nvidia-mig-py.git
pip install .

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_mig_py-0.1.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvidia_mig_py-0.1.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file nvidia_mig_py-0.1.1.tar.gz.

File metadata

  • Download URL: nvidia_mig_py-0.1.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nvidia_mig_py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b1e91e0b0c74f3a591b1040615bad55d3b4931bf48a2b2644261a2f16f6347b3
MD5 e4829fa8a1421c7ffba294b35bf6635e
BLAKE2b-256 6f00080ded1ce95c14c2b98c78fc164af815773813f87d4f6c2a1b5661272897

See more details on using hashes here.

Provenance

The following attestation bundles were made for nvidia_mig_py-0.1.1.tar.gz:

Publisher: python-publish.yml on MoonOoOoO/nvidia-mig-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nvidia_mig_py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nvidia_mig_py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nvidia_mig_py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ca48130915ee5942528dc72051ffa8486fe0f4d7d9540bbf743c57b640c0c01
MD5 6edafafaff9734fe0c0d5d5482b54698
BLAKE2b-256 49c7b3b2dab7cf6b0287f1c7fcaa5e8f531e63d417fa18f802f1305439cee2b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for nvidia_mig_py-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on MoonOoOoO/nvidia-mig-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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