Reduce training memory with targeted tuning.
Reduce GPU memory pressure during training with targeted allocator, parallelism, and activation-memory adjustments.
When to use it
Use when training runs encounter GPU OOM errors or approach the memory limit, including LoRA training with sequence parallelism.
Give it a training project with GPU memory pressure; it tunes the launch environment and applicable training configuration.
What you provide
The tuning techniques apply to an existing Megatron Bridge training setup.
The first tuning step configures PyTorch's CUDA allocator to use expandable memory segments.
The workflow targets GPU training memory and CUDA allocator fragmentation.
No additional actions listed.