Skip to main content

migedit

MIG Editor python CLI tool and bindings for MIG device management. Supports all MIG devices and supports both 1:1 gpu instance compute instances setups and setups where compute instances share gpu instances.

Usage (CLI)

migedit -i 2 -p 1 2 3 to create three instances (1g.5gb, 2g.10gb, 3g.20gb) on GPU 2.

or

migedit -i 2 -p s2 s2 to create two shared memory instances (2c.7g.40gb, 2c.7g.40gb) on GPU 2.

Usage (Python bindings)

import migedit to import migedit in your project.

migedit.get_mig_profiles() to get a list of all available MIG instance configurations.

migedit.make_mig_devices(0, ["1g.10gb"]) to remove old MIG instances and create new ones.

Changelog:'

  • 3.4: Resolve ValueError when no MIG configs are found.
  • 3.3: Removed sudo dependency on nvidia-smi.
  • 3.2: Added remove_mig_devices(). Empty command will now remove instances only. Added parsing of comma separated values.
  • 3.1: Added remove_old flag.
  • 3.0: Support for non-A100 devices (H100, A30, etc.) by dynamically grabbing available profiles.
  • 2.0: Support for Shared Memory Mig Mode (with 7g.40gb instances)
  • 1.1: Various bugfixes
  • 1.0: Initial

Supported platforms

  • Linux (Python 3.10 or higher)

Contributors

Thank You!

Contributions are welcome. (Please add yourself to the list)

Release files for migedit 0.3.4

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

Source distribution (sdist)

Source distribution for migedit 0.3.4
File Size Uploaded
migedit-0.3.4.tar.gz 5.9 kB Details

Built distribution (wheel)

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

Total release size: 11.6 kB

Release files / migedit-0.3.4.tar.gz

Download URL migedit-0.3.4.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5028f235ca0e396d814ca65f991f4f3c92a03b7623f1793fe31960d41491eda8
BLAKE2b-256 checksum
How to use checksums
9631d86fc69263c0d0dab9e502242c9b61c7cd309fef572a39c76d5697f71e0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / migedit-0.3.4-py3-none-any.whl

Download URL migedit-0.3.4-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e0cf7d9071d8d4727ad037c94c023aacbde023b72188d4235c18da6ccaef306
BLAKE2b-256 checksum
How to use checksums
d96651df8512c594d77de31952e67a91ec1cf219c7a412dccb6b7bd40c388a1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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