Coder Social home page Coder Social logo

gzupark / gcp-ubuntu-gpu Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 25 KB

This is a quick shell script file to set up with NVIDIA GPUs on Google Cloud Platform VM.

License: MIT License

Python 1.19% Shell 98.81%
gcp nvidia-gpu ubuntu1604 anaconda3 nvidia-docker cuda

gcp-ubuntu-gpu's Introduction

[한국어 가이드]

Quick Set Up NVIDIA GPUs with GCP VM

  • OS: Ubuntu 16.04
  • GPU: NVIDIA K80, P100, V100
    • CUDA: 9.0.176
    • NCCL: 2.2.13
    • CUDNN: 7.1.4.18
  • Python: 3.5.2
    • TensorFlow: 1.12.0
    • PyTorch: 1.0.0
    • Other ML libraries
  • Programs:
    • Anaconda: 5.3.1, Python: 3.7.1 (is not default)
    • nvidia-docker: 2.0.0

How to use

  • Run gcp_setup_ubuntu1604.sh
  • Before you run this file, please check your OS Ubuntu 16.04.
  • You can modify this code if you want to use other OS or CUDA version.
wget https://raw.githubusercontent.com/GzuPark/gcp-ubuntu-gpu/master/gcp_setup_ubuntu1604.sh
bash gcp_setup_ubuntu1604.sh

Etc

Anaconda

  • If you want to change from default python interpreter to Anaconda:
sudo bash
ln -s -f /usr/bin/anaconda3/bin/python3 /usr/bin/python
ln -s -f /usr/bin/anaconda3/bin/pip /usr/bin/pip
ln -s -f /usr/bin/anaconda3/bin/jupyter /usr/bin/jupyter

Jupyter

  • First, run this command:
jupyter notebook --allow-root
  • And then, check your EXTERNAL_IP of a instance, enter like below on your web-browser (ex: 10.100.0.8)
10.100.0.8:8888

Issues

Please comment at the Issues tap.

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.