I just installed pytorch from http://pytorch.org/.
Using:
pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl
pip install torchvision
It didn’t help (I also changed mloss).