mcpbeat Sign in

Mig Configure Agent Skill

Configure NVIDIA MIG (Multi-Instance GPU) partitions on the DGX Station GB300, including enabling MIG mode, choosing a profile layout, creating instances, and retrieving MIG UUIDs. Use when the user asks to partition the GB300, set up MIG, run multiple models in isolation on one GPU, or reconfigure existing MIG instances.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
1211
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/NVIDIA/dgx-spark-playbooks --skill mig-configure

The instruction itself

3 sections, as written by the author

MIG Configuration on DGX Station

Configure MIG (Multi-Instance GPU) partitions on the DGX Station GB300.

Steps

  • Find the GB300 GPU index. Run:
   nvidia-smi --query-gpu=index,name --format=csv,noheader
  • Check current MIG state:
   nvidia-smi -i <GB300_INDEX> -q | grep -i "MIG Mode"
  • If MIG is already enabled, show current instances:
   nvidia-smi mig -lgi -i <GB300_INDEX>
   nvidia-smi mig -lci -i <GB300_INDEX>

If the user wants to reconfigure, destroy existing instances first (step 6).

  • If MIG is not enabled, enable it. All GPU processes must be stopped first:
   # Check for running GPU processes
   sudo fuser -v /dev/nvidia*

   # Enable MIG
   sudo nvidia-smi -i <GB300_INDEX> -mig 1

   # Verify
   nvidia-smi -i <GB300_INDEX> -q | grep -i "MIG Mode"
  • Show available profiles and help the user choose a layout:
   nvidia-smi mig -lgip -i <GB300_INDEX>

Common GB300 MIG profiles:

| ID | Profile name (driver-dependent) | Approx. memory | Use case |

|----|----------------------------------|----------------|----------|

| 19 | 1g.35gb (59x) · 1g.31gb (61x) | ~30 GB | Small models (7-8B), dev/test |

| 20 | 1g.35gb+me · 1g.31gb+me | ~30 GB | Same + media extensions |

| 15 | 1g.70gb | ~68 GB | Slightly larger inference |

| 14 | 2g.70gb | ~68 GB | Medium models (14-30B) |

| 9 | 3g.139gb (59x) · 3g.126gb (61x) | ~137 GB | Large models (70B quantized) |

| 5 | 4g.139gb · 4g.126gb | ~137 GB | Large models, more compute |

| 0 | 7g.278gb (59x) · 7g.251gb (61x) | ~276 GB | Full GPU as single instance |

> Profile names depend on your driver version; the profile IDs do not. Always read the exact

> names and sizes on your box with nvidia-smi mig -lgip -i <GB300_INDEX>, and create instances by

> ID. (Driver 59x reports the …35gb/139gb/278gb names; 61x reports …31gb/126gb/251gb for the

> same IDs.)

Suggest layouts based on the user's workload (use the stable IDs). Examples:

  • Two models (70B + smaller): one 3g + two 1g.70gb → IDs 9,15,15
  • Many small models: three 1g → IDs 19,19,19
  • One large model with isolation: the full 7g → ID 0

> MIG layouts are constrained by fixed memory-slice placement, not just total memory — never

> sum nominal GB and assume any combination fits. A 3g + 2g + 2g layout (9,14,14) is not

> realizable, for example, because the second 2g has no legal placement after a 3g. And

> nvidia-smi mig -lgip Free/Total tracks compute (GPC) slices, so it overstates the number

> of instances you can actually create (QA observed only 3 creatable 1g instances on a 61x

> Station even though Free/Total reported 7). Always validate a specific layout with

> nvidia-smi mig -lgipp before relying on it.

Ask the user what models they want to run before suggesting a layout.

  • Create (or recreate) instances:

If reconfiguring, destroy existing instances first:

   sudo nvidia-smi mig -dci -i <GB300_INDEX>
   sudo nvidia-smi mig -dgi -i <GB300_INDEX>

Then create the new layout:

   sudo nvidia-smi mig -cgi <PROFILE_IDS> -C -i <GB300_INDEX>
  • Get the MIG device UUIDs:
   nvidia-smi -L

Note the MIG-<uuid> entries — these are used to target specific MIG instances.

  • Show the user how to use MIG devices:
   # Bare metal
   export CUDA_VISIBLE_DEVICES=MIG-<uuid>

   # Docker
   docker run --gpus '"device=MIG-<uuid>"' ...
  • Report the final layout to the user with UUIDs and suggested docker commands for each instance.

Disabling MIG

If the user wants to return to full-GPU mode:

# Stop all workloads using MIG instances first
sudo nvidia-smi mig -dci -i <GB300_INDEX>
sudo nvidia-smi mig -dgi -i <GB300_INDEX>
sudo nvidia-smi -i <GB300_INDEX> -mig 0

> Do not run nvidia-fabricmanager on DGX Station. It has a single GB300 over NVLink-C2C (no

> NVSwitch fabric), so Fabric Manager is not installed and systemctl start nvidia-fabricmanager

> fails with "Unit not found." NVLink-C2C re-initializes automatically after MIG is disabled. If MIG

> mode is stuck in a "pending" state, reset the GPU instead: sudo nvidia-smi -i <GB300_INDEX> --gpu-reset.

Other skills for the same job

different authors, same section of the catalogue
Theme Factory
by anthropics
vendor ×16

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

36k tokens
Brand Guidelines
by anthropics
vendor ×13

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

3k tokens
Artifacts Builder
by JayZeeDesign
×8

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Web Artifacts Builder
by anthropics
vendor ×7

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

11k tokens scripts
Frontend Design
by Karanjot786
×6

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

1k tokens
Frontend Design
by anthropics
vendor ×4

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

5k tokens
Expo Tailwind Setup
by openai
vendor ×4

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

3k tokens
Use Dom
by openai
vendor ×3

Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.

3k tokens

How to use it

Copy the folder

Take nvidia/mig-configure from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference docker. Without those the skill loads but fails at the first command.