dlcookbook-dlbs icon indicating copy to clipboard operation
dlcookbook-dlbs copied to clipboard

singularity support

Open tbugfinder opened this issue 6 years ago • 6 comments

DL benchmarks could also get executed within HPC environments. Often singularity is the container engine used within HPC therefore singularity should be supported.

https://sylabs.io/singularity/

tbugfinder avatar Sep 29 '19 19:09 tbugfinder

Singularity support would be quite useful to more than just HPC users.

For example, many of our production multi-user systems have Singularity, but not docker. Our IT policy doesn't permit docker on some systems due to the reasons outlined here. I'd like to use a containerized dlbs to compare pytorch our x86-64 and Power9 systems equipped with Tesla V100s, but our DGX-2's policy only allows for Singularity.

qhaas avatar Aug 09 '20 17:08 qhaas

@qhaas Do you build Singularity containers by yourself or do you pull them from some kind of repository? We do have experience running DLBS + TensorFlow + Singularity but that never ended up in the github repo. I'll talk to people who actually ran that config. It will be super useful if you could provide example Singularity recipe. Thanks, Sergey.

sergey-serebryakov avatar Aug 11 '20 21:08 sergey-serebryakov

We normally just create singularity friendly docker images based on the upstream cuda images and build singularity images from the docker images. We would use the ngc pytorch image as a base, but we need ppc64le support for our IBM AC922 HPC.

qhaas avatar Aug 11 '20 23:08 qhaas

For getting started quickly we just pull images from dockerhub and those are converted to simg automatically. In that case singularity is almost an inline replacement to docker.

tbugfinder avatar Sep 18 '20 05:09 tbugfinder

@sergey-serebryakov Could the singularity test code be shared maybe in its own branch for now?

tbugfinder avatar Sep 18 '20 05:09 tbugfinder

Any updates on singularity support?

xuagu37 avatar Oct 22 '22 19:10 xuagu37