Since you are using a Turing GPU, you should use CUDA10 instead of CUDA9.
Also, I would recommend to install the latest PyTorch version (1.1.0) which ships with some bug fixes and a lot of new features.