Installing pytorch
2017-11-26 19:08
357 查看
Installing previous versions of PyTorch
http://pytorch.org/previous-versions/We’d prefer you install the latest version, but old binaries and installation instructions are provided below
for your convenience.
Via conda
To install a previous version of PyTorch via Anaconda or Miniconda, replace “0.1.12” in the following commands with the desired version (i.e., “0.2.0”).Installing with CUDA 8
conda install pytorch=0.1.12 cuda80 -c soumith
Installing with CUDA 7.5
conda install pytorch=0.1.12 cuda75 -c soumith
Installing without CUDA
conda install pytorch=0.1.12 -c soumith
From source
It is possible to checkout an older version of PyTorch and build it. You can list tags in PyTorchgit repository with
git tagand checkout a particular one (replace ‘0.1.9’ with the desired version)
with
git checkout v0.1.9
Follow the install from source instructions in the README.md of the PyTorch checkout.
Via pip
Download thewhlfile with the desired version from the list below, and run
pip install /path/to/whl/file
You can also directly pass a URL to pip:
pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl[/code]
CUDA support is optional; for example, you can install the cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl package on a system that does not have CUDA.
There are three major lists below: Linux binaries compiled with CUDA 8 support, Linux binaries with CUDA 7.5 support, and Mac OSX & miscellaneous other binaries.
相关文章推荐
- Pytorch 学习笔记之自定义 Module
- pytorch 数据集图片显示
- PyTorch:Mark一下找到的一些入门资源合集
- pytorch学习-数据可视化
- pytorch 一些 Loss Function
- ubuntu pytorch setup
- pytorch 学习
- pytorch multinomial 实例
- pytorch入门教程(一):Tensor###tensor好好好####
- pytorch 移动端框架 thnets 附c示例代码
- 使用pytorch完成kaggle猫狗图像识别
- PyTorch: Softmax多分类实战
- pytorch error:Run time error: tensors are on different GPUs
- 基于nv cuda9的docker镜像构建pytorch py3.5镜像
- tensorflow和pytorch数据的储存形式
- PyTorch no longer supports this GPU because it is too old.
- Pytorch tutorial 之Transfer Learning
- win10安装pytorch+torchvision
- PyTorch使用
- PyTorch快速搭建神经网络及其保存提取方法详解