cuda toolkit 10 code example
Example 1: cuda version
nvcc --version
Example 2: cudatoolkit 11.1 and cudatoolkit 11.3
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia -c conda-forge
nvcc --version
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia -c conda-forge