← Back to events
ActiveAIRelease

trunk/0993a6c66933eecdcfddbdc79a80f702067bc367: [Pipeline] Defer FSDP gradient reduction waits (#196725)

Photo: PyTorch Releases

What happened

Split pipeline FSDP gradient reduction into explicit start and wait actions. REDUCE_GRAD starts asynchronous FSDP gradient finalization and stores its public GradientReductionHandle . WAIT_REDUCE_GRAD waits for that handle and completes gradient scaling. Every reduction has exactly one matching wait, and each pipeline rank may have at most one pending reduction. By default, the wait remains adjacent to its reduction…

Summary assembled by rule from the sources below

Why it's spreading

Sources