Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

caffegpudocker

Caffegpu docker

Install docker:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9;
sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list";
sudo apt-get update;
sudo apt-get install lxc-docker

Run docker instance:

sudo docker pull trackdr/caffegpudocker;
cd /usr/local/cuda-7.0/samples/1_Utilities/deviceQuery; make;
/home/ubuntu/NVIDIA_CUDA-7.0_Samples/bin/x86_64/linux/release/deviceQuery;
DOCKER_NVIDIA_DEVICES="--device /dev/nvidia0:/dev/nvidia0 --device /dev/nvidiactl:/dev/nvidiactl --device /dev/nvidia-uvm:/dev/nvidia-uvm";
sudo docker run -ti $DOCKER_NVIDIA_DEVICES trackdr/caffegpudocker /bin/bash

Download samples for cuda:

chmod +x cuda_*_linux.run;
./cuda_*_linux.run -extract=`pwd`;
./cuda-samples-linux-*.run -noprompt;
cd /usr/local/cuda-7.0/samples/1_Utilities/deviceQuery;
make;
../../bin/x86_64/linux/release/deviceQuery

cd /opt/caffe;
make runtest

Docker Pull Command
Owner
trackdr
Source Repository