Linux/windows gpu/cpu version Pytorch installation

Source: Internet
Author: User
Tags pytorch

Install on Windows:

Latest 0.4.0 Version:

On the Pytorch official website https://pytorch.org/Select the corresponding version of the installation, Conda installation is relatively slow, it is recommended to choose PIP installation (although still very slow), of course, can find a good image is also excellent. Install the CPU version of the Cuda at the selected none.

0.3.0 and other previous old versions:

Recommended reference https://www.zhihu.com/question/67209417, with the inside of the image will be faster.

Install on Linux:

Direct PIP Install HTTP://DOWNLOAD.PYTORCH.ORG/WHL/CU80/TORCH-0.2.0.POST3-CP36-CP36M-MANYLINUX1_X86_64.WHL

Change the back directly to the desired version, specific to the official website.

GPU Post-Installation tests:

Some pits:

The following versions of GPU 1080 are installed as 0.3.0 as possible, and the installation of 0.4.0 is not supported on Windows.

Linux/windows gpu/cpu version Pytorch installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.