Individual skill
nemo-mbridge-perf-memory-tuning
Techniques for reducing peak GPU memory in Megatron Bridge — expandable segments, PEFT + SP input re-gather, parallelism resizing, activation recompute, CPU offloading constraints, and common OOM fixes.
skills/nemo-mbridge-perf-memory-tuning/SKILL.md
Source commit fce3cca4170be75e82c64920654d56ee2811b005
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,917
- Repository last updated
- Nov 9, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- agentic-ai Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codex Repository topic
- coding-agents Repository topic
- cuda Repository topic
- developer-tools Repository topic
- llm Repository topic
- omniverse Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
BENCHMARK.mddoc · 3,997 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytesSKILL.mdcore · 14,433 bytescard.yamlasset · 10,029 bytesevals/evals.jsonasset · 1,474 bytesskill-card.mddoc · 4,162 bytesskill.oms.sigasset · 4,825 bytes
Read excerpt
# Memory Tuning
Stable docs: @docs/parallelisms.md
Card: @skills/nemo-mbridge-perf-memory-tuning/card.yaml
## What It Is
GPU OOM failures during training often stem from memory **fragmentation** rather
than raw capacity. PyTorch's default CUDA allocator can leave unusable gaps
between allocations. The single most effective fix is:
```bash
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
```