same problem here. running pytorch in docker and got the same issue. It was working fine on my computer but then  possibly due to an auto-update of Ubuntu my nvidia drivers were messed up. I reinstalled all my nvidia drivers. I had nvidia driver version 375 before and now I have 384. Since the reinstallation im not able to run pytorch DataParallel. I’m running cuda-8.0. This is definately a docker related issue because I can run locally just fine (albeit, im running pytorch 0.2.0_3 locally and in the docker image Im running 0.1.12_2).