← Back to events
ActiveAIRelease

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

Photo: PyTorch Releases

What happened

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…

Summary assembled by rule from the sources below

Why it's spreading

Sources