This problem raises again in my GPU server. I was using Titan x, torch-0.1.11.post5-cp27,cuda8.0, install from pip using whl.
But when I uninstall it and reinstall with torch-0.1.10.post2, it worked fine.