How to upgrade cuda on pytorch code example Example: conda update pytorch conda update pytorch torchvision -c pytorch