Giter Site home page Giter Site logo

trellixvulnteam / pytorch0.4.1_cuda11_4neu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from garry1ng/pytorch0.4.1_cuda11

0.0 0.0 0.0 61.06 MB

Pytorch 0.4.1 with CUDA 11 and cudnn 8.2

License: Other

Shell 0.60% C++ 43.90% Python 30.86% C 6.30% Objective-C 0.02% Lua 0.01% CSS 0.01% Objective-C++ 0.96% Cuda 15.15% Makefile 0.06% HTML 0.02% CMake 1.85% Batchfile 0.04% Metal 0.16% Dockerfile 0.08% Vim Script 0.01%

pytorch0.4.1_cuda11_4neu's Introduction

Pytorch0.4.1 with CUDA 11 and cudnn 8.2

This is a repo for setup Pytorch0.4.1 with CUDA 11 and cudnn 8.2

  1. Download CUDA 11.1 and cudnn 8.0.5 from Nvidia. I use cuda_11.1.0_455.23.05_linux.run and cudnn-11.1-linux-x64-v8.0.5.39.tgz. Set up your CUDA_HOME and LD_LIBRARY_PATH in your .bashrc.

  2. Install dependencies from conda.

conda create -n "pytorch0.4" python=3.7
conda activate "pytorch0.4"
conda install numpy pyyaml mkl=2021.4.0 mkl-include setuptools cmake cffi typing
  1. Recursively Clone Pytorch0.4.1 from https://github.com/garry1ng/pytorch0.4.1_cuda11.git. Make sure the submodules except nervanagpu are also included.
git clone https://github.com/garry1ng/pytorch0.4.1_cuda11.git
cd pytorch0.4.1_cuda11/
# git submodule deinit third_party/nervanagpu/
# git rm third_party/nervanagpu
git submodule sync
git submodule update --init --recursive
  1. Install PyTorch.
python setup.py install
  1. run test_pytorch0.4_cu11_cudnn.py to check if it is correctly installed. You should have some output like this:

Note: the patch may be outdated if the third party libraries update (very unlikely though). Locating these files can save time.

  • third_party/nccl/src/common_coll.h
  • third_party/gloo/cmake/Cuda.cmake

pytorch0.4.1_cuda11_4neu's People

Contributors

andresy avatar apaszke avatar bddppq avatar bwasti avatar clementfarabet avatar colesbury avatar ezyang avatar fmassa avatar gchanan avatar goldsborough avatar harouwu avatar houseroad avatar killeent avatar kittipatv avatar koraykv avatar lukeyeager avatar onnxbot avatar orionr avatar peterjc123 avatar pietern avatar pjh5 avatar salexspb avatar slayton58 avatar soumith avatar ssnl avatar virrages avatar yangqing avatar yf225 avatar zdevito avatar zou3519 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.