Created
June 28, 2016 00:44
-
-
Save Akramz/98131a1b9a5f1c5a1745275266815d4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
installation guide for spot GPU instances : | |
* MUSTS : | |
- sudo apt-get update | |
- sudo apt-get -y dist-upgrade | |
- sudo apt-get install -y gcc g++ gfortran build-essential git wget linux-image-generic libopenblas-dev python-dev python-pip python-nose python-numpy python-scipy | |
- sudo apt-get install -y liblapack-dev | |
- sudo apt-get install -y libblas-dev | |
* THEANO : | |
- sudo pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git / sudo pip install theano | |
* KERAS : | |
- sudo pip install keras | |
- sudo pip install keras --upgrade | |
* PANDAS : | |
- sudo pip install pandas | |
* IPYTHON | |
- sudo pip install ipython | |
* H5 : | |
- sudo apt-get install libhdf5-dev | |
- sudo apt-get install cython | |
- sudo pip install h5py | |
* CUDA : | |
- wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
- sudo dpkg -i [deb file] | |
- rm [deb file] | |
- sudo apt-get update | |
- sudo apt-get install -y cuda | |
* CUDA-CONFIG : (in home) | |
$ echo "export PATH=/usr/local/cuda-7.5/bin:$PATH" >> .bashrc | |
$ echo "export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH" >> .bashrc | |
$ source ~/.bashrc | |
#- sudo reboot | |
* .THEANORC | |
[global] | |
floatX = float32 | |
device = gpu | |
optimizer = fast_run | |
[lib] | |
cnmem = 0.95 | |
[nvcc] | |
fastmath = True | |
[blas] | |
ldflags = -llapack -lblas | |
[cuda] | |
root=/usr/local/cuda-7.5 | |
* DATA : | |
- wget https://www.dropbox.com/s/6hf0vchg9i57rks/cities_weather.zip?dl=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment