News for hackers. Stuff that matters.
Re:Speedup from switch to += by masklinn on Monday September 12, 2022 @12:20AM (#32806054)
Nah it’s because PyTorch has a different implementation for __iadd__. It’s saving a copy by mutating the LHS in-place, and possibly more divergent as comments report broken code.

There are no comments on this comment yet.