Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions Singularity.v3.9-torch1.13.1-dj0.13.1.def
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
BootStrap: docker
From: ubuntu:22.04
From: ubuntu:21.10

%labels
MAINTAINER Christoph Blessing <[email protected]>

%post
apt update
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y tzdata
apt install -y software-properties-common
apt update && apt install -y software-properties-common
add-apt-repository universe


Expand Down Expand Up @@ -47,7 +45,7 @@ MAINTAINER Christoph Blessing <[email protected]>
blackcellmagic\
pytest \
pytest-cov \
numpy==1.23.5 \
numpy \
matplotlib \
scipy \
pandas \
Expand All @@ -61,12 +59,13 @@ MAINTAINER Christoph Blessing <[email protected]>
gitpython \
Pillow==8.0.1 \
jupyterlab \
datajoint==0.13.1
datajoint==0.12.7

python3.9 -m pip --no-cache-dir install \
torch==1.13.1 \
torchvision==0.14.1 \
torchaudio==0.13.1 \
torch==1.11.0+cu113 \
torchvision==0.12.0+cu113 \
torchaudio==0.11.0+cu113 \
-f https://download.pytorch.org/whl/cu113/torch_stable.html

%environment
export SHELL=/bin/sh
Expand Down