I tried the pytorch from conda built with CUDA 9 and 10,  from pip built with CUDA9 and pytorch built from source within conda environment on training the MNIST: https://github.com/pytorch/examples/tree/master/mnist 2
The training time for the pip version with CUDA9 was around 71 seconds, for the conda version with CUDA 9 was around 90 seconds and for the conda version with CUDA 10 for the one built from source was around 118 seconds. Will Pytorch release the pytorch 1.2.0 built with CUDA 10 on pip? Or is there a way to build pytorch from source without conda?
The environment:
GPU: 1080Ti
Driver: 430.4
python version: 3.6.8
The torch.backends.cudnn.enabled is True.
Conda is installed with miniconda
Pip version of pytorch is installed in a virtual environment created by virtualenv