zhcf/caffe_singularity_images:caffe1.0_cuda80
$ singularity pull shub://zhcf/caffe_singularity_images:caffe1.0_cuda80
Singularity Recipe
Bootstrap: docker
From: nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
%post
# remove cuda drivers
apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
wget \
libatlas-base-dev \
libboost-all-dev \
libgflags-dev \
libgoogle-glog-dev \
libhdf5-serial-dev \
libleveldb-dev \
liblmdb-dev \
libopencv-dev \
libprotobuf-dev \
libsnappy-dev \
protobuf-compiler \
python-dev \
python-numpy \
python-pip \
python-setuptools \
python-scipy && \
rm -rf /var/lib/apt/lists/*
%post
cd /opt
git clone -b 1.0 --depth 1 https://github.com/BVLC/caffe.git
pip install -U pip~=9.0
cd caffe/python
for req in $(cat requirements.txt) pydot; do pip install $req; done
cd ..
git clone https://github.com/NVIDIA/nccl.git && cd nccl && make -j install && cd .. && rm -rf nccl
mkdir build && cd build
cmake -DUSE_CUDNN=1 -DUSE_NCCL=1 .. && \
make -j"$(nproc)"
%environment
PYTHONPATH=/opt/caffe/python:$PYTHONPATH
PATH=/opt/caffe/build/tools:/opt/caffe/python:$PATH
export PYTHONPATH PATH
%post
echo "/opt/caffe/build/lib" >> /etc/ld.so.conf.d/caffe.conf && ldconfig
Collection
- Name: zhcf/caffe_singularity_images
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/zhcf-caffe_singularity_images-caffe1.0_cuda80 |
collection name | zhcf/caffe_singularity_images |
branch | master |
tag | caffe1.0_cuda80 |
commit | a38a17300753cc9c799cb444ac19684d2df3dcc6 |
version (container hash) | 4b314c24b645455541e5bae92de9213a |
build date | 2020-10-20T18:13:31.505Z |
size (MB) | 3206 |
size (bytes) | 1628782623 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.