I haven’t seen this one before, but here are a few suggestions:

Try this out and see if anything happens: https://github.com/pytorch/pytorch/issues/1637#issuecomment-338268158 371

Install pytorch from source 44 and see if that fixes the bug?