← 返回事件
持续讨论AI发版

viable/strict/1790175101: [Pipeline] Support outer gradient accumulation (#196641)

图:PyTorch Releases

发生了什么

Add a finalize_gradients step option so callers can keep FSDP accumulation open across complete pipeline schedules. Use the public FSDP finalizer. FSDP finalization reshards parameters, but the pipeline runtime kept the stage marked as unsharded. Track stages retained across calls separately and update the runtime state when reduction reshards a stage. This preserves the duplicate-unshard checks without forcing anot…

摘要按规则整理自下方来源原文

为什么在扩散

来源