how to set up pytorch in miniconda code example
Example 1: conda install pytorch
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Example 2: install torch anaconda
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch