Skip to content

Instantly share code, notes, and snippets.

@artiya4u
Last active April 26, 2016 05:20
Show Gist options
  • Save artiya4u/2e61ec082d53059a5291c692b7916c7b to your computer and use it in GitHub Desktop.
Save artiya4u/2e61ec082d53059a5291c692b7916c7b to your computer and use it in GitHub Desktop.
Installing Leaf - Open Machine Intelligence Framework GPU On Ubuntu 16.04

Installing Leaf Open Machine Intelligence Framework GPU On Ubuntu 16.04

sudo apt-get update
sudo apt-get install nvidia-361-dev
sudo apt-get install nvidia-cuda-toolkit
sudo apt-get install libblas-dev

Install cudnn-7.0

wget https://s3-ap-southeast-1.amazonaws.com/cudnn-file/cudnn-7.0-linux-x64-v4.0-prod.tgz
gunzip -c cudnn-7.0-linux-x64-v4.0-prod.tgz | tar xvf -
sudo cp cuda/include/cudnn.h /usr/include/
sudo cp cuda/lib64/* /usr/lib/

Install The Cap’n Proto

git clone https://github.com/sandstorm-io/capnproto.git
cd capnproto/c++
./setup-autotools.sh
autoreconf -i && ./configure && make -j6 check && sudo make install

Install Rust

curl -sSf https://static.rust-lang.org/rustup.sh | sh

Install Leaf

git clone https://github.com/autumnai/leaf.git
cd leaf
cargo run --release --no-default-features --features cuda --example benchmarks alexnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment