arafathnihar/fastai-singularity:latest

$ singularity pull shub://arafathnihar/fastai-singularity:latest

Singularity Recipe

Bootstrap: docker
From: nvidia/cuda:10.2-base-ubuntu18.04

%post
    apt-get update -y
    apt-get upgrade -y
    apt-get dist-upgrade -y
    apt-get install -y --no-install-recommends git gcc python3 python3-dev python3-setuptools python3-wheel python3-pip 
    pip3 install fastai jupyter notebook jupyter_contrib_nbextensions

    #clean up
    apt --purge autoremove -y
    apt clean
    rm -rf /var/lib/apt/lists/*

%runscript
    echo "Open a terminal in your machine and type the following command to port forward"
    echo "ssh -N -L 9999:$(hostname -i):9999 $(id -un)@rider.case.edu"

    FOLDER="course-v3"
    URL="https://github.com/fastai/course-v3.git"
    if [ ! -d "$FOLDER" ] ; then
        git clone $URL $FOLDER
    fi
    cd course-v3/nbs
    jupyter notebook --no-browser --ip=$(hostname -i) --port=9999

%help
    Please follow the steps :
        sudo singularity build fastai.sif fastai.def
        singularity run --nv fastai.sif

Collection


View on Datalad

Metrics

key value
id /containers/arafathnihar-fastai-singularity-latest
collection name arafathnihar/fastai-singularity
branch master
tag latest
commit 7841ba2f9bb82b587257d0513895f5f879d49e18
version (container hash) 4f9095083f7f631551ba1af6361d8434
build date 2020-07-26T23:06:56.583Z
size (MB) 3110.0
size (bytes) 1976098847
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.