I can't find any command to uninstall and remove all PyTorch dependencies. Even on the pytorch.org website.
I installed PyTorch with
conda install pytorch torchvision cuda80 -c soumith
Here's the correct set of commands according to CONTRIBUTING.md from the pytorch github repo:
Uninstall all existing pytorch installs
conda uninstall pytorch
pip uninstall torch
pip uninstall torch # run this command twice