CentOS 7 builds Linux GPU server

Source: Internet
Author: User
Tags cuda toolkit

1. CUDA Toolkit Installation

To Https://developer.nvidia.com/cuda-gpus query GPU-supported CUDA versions:

To Https://developer.nvidia.com/cuda-downloads, according to the operating system choose to download the appropriate CUDA toolkit version, download is a. run file, the download is completed with the root user directly run the file installation.

After the installation is finished. Run:

Nvidia-smi

If the GPU status information is listed, it indicates that the installation was successful:

2. Installation of CUDNN

TensorFlow the acceleration of the neural network through the CUDNN Library implementation, so first go to https://developer.nvidia.com/rdp/cudnn-archive, according to cuda version download the corresponding version of CUDNN, is also a. run file that runs directly after the download is complete.

3. Installation of TensorFlow

In order to avoid issues such as version conflicts during installation, it is recommended that you install Anoconda first. To https://www.anaconda.com/download/#linux下载后, run the. sh file installation.

Then install TensorFlow using the following command:

Conda create-n tensorflow python=2.7source activate Tensorflowexport tf_binary_url=https://storage.googleapis.com/ Tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whlpip Install--ignore-installed--upgrade $TF _ Binary_url

Enter in turn:

SOURCE Activate Tensorflowpythonimport TensorFlow as Tfimport pandas as pdtf.__version__

If no error is found, the installation is successful:

CentOS 7 builds Linux GPU server

Related Article

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.