天天看點

pytorch 0.3釋出(0.3.0b0),更新資訊以及更新步驟

pytorch 0.3釋出了

性能提升、新的網絡層,支援ONNX,正式支援CUDA9、CuDNNv7,大量bug修複。

Performance improvements, new layers, ship models to other frameworks (via ONNX), CUDA9, CuDNNv7, lots of bug fixes

具體更新資訊請移步官方的release:

https://github.com/pytorch/pytorch/releases

新的編譯好的更新包請移步這裡:

https://zhuanlan.zhihu.com/p/31747695

快捷門更新包(whl):

https://pan.baidu.com/s/1dF6ayLr#list/path=%2F&parentPath=%2F

更新包是上面那個連接配接的童鞋編譯好的,他隻編譯好了whl版的conda版的暫時沒編譯好。

不想編譯的童鞋可以直接到官網release界面下載下傳源碼版自行進行編譯

安裝步驟

下好上面的whl檔案。在win10下進行pip安裝。

C:\Users\dell\PycharmProjects\Pytorch-Learn>C:\Users\dell\Anaconda3\envs\my-pytorch\Scripts\pip install "torch-0.3.0b0+591e73e-cp36-cp36m-win_amd64.whl"
Processing c:\users\dell\pycharmprojects\pytorch-learn\torch-0.3.0b0+591e73e-cp36-cp36m-win_amd64.whl
Requirement already satisfied: pyyaml in c:\users\dell\anaconda3\envs\my-pytorch\lib\site-packages (from torch==0.3.0b0+591e73e)
Requirement already satisfied: numpy in c:\users\dell\anaconda3\envs\my-pytorch\lib\site-packages (from torch==0.3.0b0+591e73e)
Installing collected packages: torch
  Found existing installation: torch 0.2.1+a4fc05a
    Uninstalling torch-0.2.1+a4fc05a:
      Successfully uninstalled torch-0.2.1+a4fc05a
Successfully installed torch-0.3.0b0+591e73e