Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OSG provides ready-to-use singularity containers for TensorFlow workflows for both CPU and GPU jobs [1]. These containers are based on Ubuntu and live in cvmfs.

  1. /cvmfs/singularity.opensciencegrid.org/opensciencegrid/tensorflow:latest is the CPU only version of TensorFlow. This runs slower, but OSG has many more CPU only resources available than GPU resources.
  2. /cvmfs/singularity.opensciencegrid.org/opensciencegrid/tensorflow-gpu:latest is a modified TensorFlow-GPU image to be used on the GPUs available on OSG.

CPU jobs

For CPU jobs, the following attributes need to be added to your submit file:

...

The tutorial example can be found in github here.


Working with TensorFlow and GPU resources interactively

The following link shows how to submit condor jobs, requesting GPU resources and how access them via SSH: Using GPU resources via SSH.

References

[1] https://support.opensciencegrid.org/support/solutions/articles/12000028940-tensorflow#about-tensorflow