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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1e91e0b0c74f3a591b1040615bad55d3b4931bf48a2b2644261a2f16f6347b3
|
|
| MD5 |
e4829fa8a1421c7ffba294b35bf6635e
|
|
| BLAKE2b-256 |
6f00080ded1ce95c14c2b98c78fc164af815773813f87d4f6c2a1b5661272897
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nvidia_mig_py-0.1.1.tar.gz -
Subject digest:
b1e91e0b0c74f3a591b1040615bad55d3b4931bf48a2b2644261a2f16f6347b3 - Sigstore transparency entry: 264431805
- Sigstore integration time:
-
Permalink:
MoonOoOoO/nvidia-mig-py@b42854cbb6b513185c9e5069f14e3e1126703659 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/MoonOoOoO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b42854cbb6b513185c9e5069f14e3e1126703659 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ca48130915ee5942528dc72051ffa8486fe0f4d7d9540bbf743c57b640c0c01
|
|
| MD5 |
6edafafaff9734fe0c0d5d5482b54698
|
|
| BLAKE2b-256 |
49c7b3b2dab7cf6b0287f1c7fcaa5e8f531e63d417fa18f802f1305439cee2b5
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nvidia_mig_py-0.1.1-py3-none-any.whl -
Subject digest:
3ca48130915ee5942528dc72051ffa8486fe0f4d7d9540bbf743c57b640c0c01 - Sigstore transparency entry: 264431808
- Sigstore integration time:
-
Permalink:
MoonOoOoO/nvidia-mig-py@b42854cbb6b513185c9e5069f14e3e1126703659 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/MoonOoOoO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b42854cbb6b513185c9e5069f14e3e1126703659 -
Trigger Event:
release
-
Statement type: