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 p
You can also use
conda remove torch torchvision
Please note that this will remove the specified packages (here: torch and torchvision) and any other package which depends on torch and torchvision, if there're any.
P.S. conda uninstall is an alias to conda remove.
conda uninstall
conda remove