Skip to content

Instantly share code, notes, and snippets.

@lukeyeager
Last active February 2, 2017 20:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
NVcaffe on CentOS7
FROM nvidia/cuda:7.0-devel-centos7
RUN yum install -y epel-release
RUN yum install -y gcc gcc-c++ make cmake \
git \
gflags-devel glog-devel \
opencv-devel \
boost-devel \
openblas-devel \
protobuf-devel \
leveldb-devel snappy-devel hdf5-devel lmdb-devel
RUN git clone https://github.com/NVIDIA/caffe.git ~/caffe --branch caffe-0.14
RUN mkdir ~/caffe/build && \
cd ~/caffe/build && \
cmake .. -DBLAS=Open && \
make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment