-
Notifications
You must be signed in to change notification settings - Fork 4
/
Singularity.v3.8-torch1.5.0-dj0.12.4
66 lines (58 loc) · 1.33 KB
/
Singularity.v3.8-torch1.5.0-dj0.12.4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
BootStrap: library
From: ubuntu:20.04
%labels
MAINTAINER Christoph Blessing <[email protected]>
%post
apt update && apt install -y software-properties-common
add-apt-repository universe
apt update && apt install -y \
build-essential \
git \
wget \
vim \
curl \
zip \
zlib1g-dev \
unzip \
pkg-config \
libblas-dev \
liblapack-dev \
python3-tk \
python3-wheel \
graphviz \
libhdf5-dev \
python3.8 \
python3.8-dev \
python3.8-distutils \
swig
apt-get clean
ln -s /usr/bin/python3.8 /usr/local/bin/python
ln -s /usr/bin/python3.8 /usr/local/bin/python3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.8 get-pip.py
rm get-pip.py
python3.8 -m pip --no-cache-dir install \
blackcellmagic\
pytest \
pytest-cov \
numpy \
matplotlib \
scipy \
pandas \
jupyter \
scikit-learn \
scikit-image \
seaborn \
graphviz \
gpustat \
h5py \
gitpython \
Pillow==6.2.0 \
torch==1.5.0 \
torchvision==0.6.0 \
jupyterlab \
datajoint==0.12.4
%environment
export SHELL=/bin/sh
%runscript
jupyter lab