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

viable/strict/1792521211: [funcol] Add broadcast autograd (#200882)

发生了什么

_c10d_functional.broadcast has no autograd, unlike torch.distributed.nn.functional.broadcast . Fixes #200877 . Backward sums the grads onto src with the functional reduce, which returns zeros off src. This keeps backward rank agnostic, so it traces the same graph on every rank. Test plan: python -m pytest test/distributed/test_functional_differentials.py This PR was authored with an AI assistant (Claude). Pull Reque…

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

为什么在扩散

来源