Giter VIP home page Giter VIP logo

gpu-setup's Introduction

GPU-Setup: CUDA11.7

This Repository guides you with setting up NVIDIA-GPU on your PC.
Much of the below work is taken from here. This guide incorporates solution to some bugs we faced from the above source. By the time this repository is up, Pytorch supports CUDA11.7 and CUDA11.6 in GPU domain.So, this considers CUDA11.7.

Steps:
1.Run 1.sh: This step updates the kernel to 5.18.
This step restarts your PC (Don't panic[It's necessary])

sh 1.sh

2.Download NVIDIA Display Driver according to your GPU Hardware from here.
3.Restart your PC and enter Linux-5.18Kernel Recovery Mode through Grub and type below commands in the terminal.
This command is same as running the .run file but in recovery mode.

cd ..
cd /home/username/Downloads/
sudo sh NVIDIA-Linux-x86_64-DriverName.run

Screenshot from 2022-12-15 16-07-28
4.Download CUDA Toolkit through below command:

sh 2.sh

5.Download CUDNN from here.
This step requires login/signup.
Please install Linux-x86 Tar not Ubuntu22.04 Deb
Extract the downloaded file and rename the extracted folder to cudnn
After downloading, follow below steps:

sh 3.sh

From here,you can install Pytorch either in pip or conda.

Conda Installation

Below Steps are for conda installation(Necessary if you don't have conda):

sh 4.sh

Restart the terminal. Create a new conda environment and enter it by:

conda create --name (replace this)
conda activate (replace this)

Conda Installation for GPU-Support:(Necessary even if you have Conda)

sh 5.sh

Pip Installation:

pip3 install torch torchvision torchaudio

gpu-setup's People

Contributors

lokeshbadisa avatar

Watchers

 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.