Most of you use our stable releases. Our current stable release is v0.1.2
However, some of you use the master branch of PyTorch.
We wanted to give those of you who use the master branch a heads-up about some breaking changes that will be merged starting today.
These breaking changes are because we will be introducing NumPy-like Broadcasting into PyTorch (See PR#1563).
We will be releasing a comprehensive set of backward-compatibility warnings and codemod mechanisms in v0.2 to detect code that will change behavior, so that you can be aware of and fix it.
However, these warnings will only be available when we release v0.2 one or two weeks from now.
In this small window of time, our master branch will change behavior.
We hope this does not cost too much trouble to you,
Note that in the vast majority of cases, it wonât be breaking at all. Previously we accepted addition of tensors with shapes (4, 1) and (1, 4), which would give a (4, 1) tensor as a result. However, after these changes the inputs are going to get broadcast and output a (4, 4) tensor. So, as long as you donât depend on this, and all shapes in your program were matching, the new changes wonât change the behavior at all. If we detect that you depended on it, a warning will be raised.