I created 2 conda env
cudatoolkit               10.0.130 
pytorch                      1.2.0
torchvision                 0.5.0

will give me the
The NVIDIA driver on your system is too old (found version 10010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.

error.
While
torchvision               0.2.1                    py35_0
python                    3.5.6                hc3d631a_0
cudatoolkit               9.0                  h13b8566_0
pytorch                   0.4.0

has no error.
So this means the cudatoolkit 9.0 works fine on my driver? which config causes the compile error?