I tried running this command conda install pytorch==1.6.0 cudatoolkit=11.0 -c pytorch with python v3.7.10, Nvidia-driver 450.119.03 and CUDA version 11.0.
But the problem is torch.cuda.is_available() is returning False and torch.cuda.version is returning None.
It showed me the following logs:
added / updated specs:                                                                                                                                      
    - cudatoolkit=11.0                                                                                                                                        
    - pytorch==1.6.0                                                                                                                                          
                                                                                                                                                              
                                                                                                                                                              
The following packages will be downloaded:                                                                                                                    
                                                                                                                                                              
    package                    |            build                                                                                                             
    ---------------------------|-----------------                                                                                                             
    cudatoolkit-11.0.3         |       h15472ef_8       951.9 MB  conda-forge                                                                                 
    ------------------------------------------------------------                                                                                              
                                           Total:       951.9 MB                                                                                              
                                                                                                                                                              
The following NEW packages will be INSTALLED:                                                                                                                 
                                                                                                                                                              
  cffi               conda-forge/linux-64::cffi-1.14.5-py37hc58025e_0                                                                                         
  cudatoolkit        conda-forge/linux-64::cudatoolkit-11.0.3-h15472ef_8
  future             conda-forge/linux-64::future-0.18.2-py37h89c1867_3
  libblas            conda-forge/linux-64::libblas-3.9.0-8_mkl
  libcblas           conda-forge/linux-64::libcblas-3.9.0-8_mkl
  liblapack          conda-forge/linux-64::liblapack-3.9.0-8_mkl
  llvm-openmp        conda-forge/linux-64::llvm-openmp-11.1.0-h4bd325d_1
  mkl                conda-forge/linux-64::mkl-2020.4-h726a3e6_304
  ninja              conda-forge/linux-64::ninja-1.10.2-h4bd325d_0
  numpy              conda-forge/linux-64::numpy-1.21.0-py37h038b26d_0
  pycparser          conda-forge/noarch::pycparser-2.20-pyh9f0ad1d_2
  pytorch            conda-forge/linux-64::pytorch-1.6.0-cpu_py37hf1c21f6_1
  typing_extensions  conda-forge/noarch::typing_extensions-3.10.0.0-pyha770c72_0

The following packages will be DOWNGRADED:

  _openmp_mutex                                   4.5-1_gnu --> 4.5-1_llvm


Proceed ([y]/n)? y

Any suggestions?