conda install pypatch code example
Example 1: conda install pytorch
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Example 2: conda install pytorch
(pytorch)$ python -m ipykernel install --user --name pytorch --display-name "PyTorch"