I can’t reproduce this issue on Ubuntu 16.04 with PyTorch 1.0.0a0+dfad8b6 and 1.0.0.dev20181228.
Maybe this is a macOS related issue? I can’t test it unfortunately, so let’s see if someone might help us out here.