如何使用Anaconda通过终端或导航器从1.4更新到1.5的PyTorch?
使用 conda update --all 更新Anaconda会更新一些包,但不包括 PyTorch。最初,我通过运行 conda install -c pytorch pytorch 安装了 PyTorch。
在PyTorch Github页面上,有以下命令:conda install -c pytorch magma-cuda90 # 或[magma-cuda92 | magma-cuda100 | magma-cuda101 ](根据您的cuda版本而定),但我想知道已安装版本和此版本之间是否会发生任何冲突。
谢谢!
使用 conda update --all 更新Anaconda会更新一些包,但不包括 PyTorch。最初,我通过运行 conda install -c pytorch pytorch 安装了 PyTorch。
在PyTorch Github页面上,有以下命令:conda install -c pytorch magma-cuda90 # 或[magma-cuda92 | magma-cuda100 | magma-cuda101 ](根据您的cuda版本而定),但我想知道已安装版本和此版本之间是否会发生任何冲突。
谢谢!
2.x
之前)应该提供向后兼容性(只有下一个“主要版本”会破坏先前的行为,虽然有一些例外情况,请参见 优化器和调度程序答案,因此您正在获得的更改应该会改善您的用户体验。如果不是这种情况,并且发生了严重的回归,您应该在官方PyTorch repo上提出问题。 - Szymon Maszke