home/categories/architecture-patterns/nvidia-nemo-megatron-bridge-skills-perf-techniques-packed-sequences-long-context-skill-md
architecture-patternsdevelopment

packed-sequences-long-context

Sequence packing and long-context training in Megatron Bridge. Use when the user asks about packed sequences, sequence packing, long context training, PackedSequenceSpecs, pack_sequences_in_batch, or CP with packing.

NVIDIA-NeMo
maintainer
NVIDIA-NeMo
Updated 3/20/2026
Stars
560
Forks
263
quick start

Installation and usage

Sequence packing and long-context training in Megatron Bridge. Use when the user asks about packed sequences, sequence packing, long context training, PackedSequenceSpecs, pack_sequences_in_batch, or CP with packing.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use packed-sequences-long-context