Hello, I have exactly the same issue when using pytorch  0.4.1 with:
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
NVIDIA-SMI 375.26                 Driver Version: 375.26
I read last remark about the driver being to old.
Has someone on this forum experience upgrading NVIDIA and being able to use cuda 8 with pytorch 0.4.1 ?
Thanks!