yamand16:

I installed Cuda 10.0 and Cudnn 7.6 with Anaconda


To build PyTorch from source with CUDA support, you would need a local CUDA and cudnn installation.
The runtime from conda shouldn’t be sufficient to build.