Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save truatpasteurdotfr/617fa118d52a0e3e34b73a761a6d72d6 to your computer and use it in GitHub Desktop.
Save truatpasteurdotfr/617fa118d52a0e3e34b73a761a6d72d6 to your computer and use it in GitHub Desktop.
keras/tensorflow singularity
usage:
0) env.sh adapt to your HPC setup
1) download.sh <- pull the required files except cudnn (license)
2) you need to download the cudnn yourself
3) ./singularity-buildme.sh local-keras-tf-0.12.1-gpu-nvidia-367.57.def
I use external plain files for the setup and post phases: no size limit issue in the singularity def file
if you add more file, don't forget to fix the setup.sh file which copies file into the container.
Modify the ingularity-buildme.sh to meet your local build setup (I build in /dev/shm)
You need sudo/root for the bootstrap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment