executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
distributed-and-domain-parallelRoute PhysicsNeMo distributed launches, DDP/FSDP2, DeviceMesh, ShardTensor, and domain-parallel input/output handling.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about DistributedManager, launchers, DDP/FSDP2, named DeviceMesh layouts, ShardTensor inputs, scatter/sync APIs, or torch.compile caveats around domain parallelism.
requires_grad_ or sync_module_over_mesh failing?"scripts/domain_parallel_smoke.py with no flags.--distributed under torchrun, mpirun, or srun.ddp mesh group, or no wrapper if only domain parallelism is active.torch.distributed.fsdp.fully_shard) on the ddp mesh only.torch.compile? Compile only safe submodules; keep ring/sequence-sharded attention and other p2p collectives outside the compiled region.ShardTensor is for activations, not wholesale model surgery.distribute_module.DistributedManager.initialize() gives the expected rank, world size, device, and launcher detection.ddp_size * domain_size == world_size.full_tensor().sync_module_over_mesh on a tiny plain module and confirm weights and buffers match the source rank.requires_grad=True, check the leaf tensor and its gradient on the smoke path.torch.compile case, verify the eager path first.references/distributed-workflows.md — launcher recipes, DDP/FSDP2 skeletons, logging, and checkpoint notes.references/shardtensor-api.md — DeviceMesh, scatter_tensor, sync_module_over_mesh, batch semantics, and torch.compile constraints.references/troubleshooting.md — common ShardTensor and distributed failure modes.../model-selection/SKILL.md../datapipes/SKILL.md../mesh-and-geometry/SKILL.md../diffusion-and-generative/SKILL.md../active-learning-and-deployment/SKILL.md