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

trunk/23047d0839b1b5ef8254539f46f191c44659af97: Fix oversized storage for reduced Smooth L1 loss (#200894)

图:PyTorch Releases

发生了什么

Linked issue or supporting maintainer Part of #185647 BC-breaking? No. Summary (human written only) F.smooth_l1_loss has the same oversized scalar storage issue fixed for mse_loss in #199823 . This PR uses the same reduced output pattern to Smooth L1, so mean and sum reductions no longer retain the full elementwise buffer. Agent details (if applicable) I used Codex to help implement this fix. I reviewed the diff and…

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

为什么在扩散

来源