Tensorflow ========== From the Tensorflow `github page `_ TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications. TensorFlow was originally developed by researchers and engineers working within the Machine Intelligence team at Google Brain to conduct research in machine learning and neural networks. However, the framework is versatile enough to be used in other areas as well. TensorFlow provides stable Python and C++ APIs, as well as a non-guaranteed backward compatible API for other languages. Tensorflow can most easily be installed and used by installing it into a virtual environment. A python package for tensorflow with options for Intel hardware (`intel-extension-for-tensorflow`) is available. Running Tensorflow with GPU acceleration on CSD3 ------------------------------------------------ To deploy Tensorflow with GPU support execute the following on an interactive session on a GPU node (see _`Interactive jobs via the scheduler` for starting one). .. literalinclude:: scripts/tensorflow/tensorflow_gpu_setup.sh :language: bash Running Tensorflow ------------------ Tensorflow can be run with a sbatch script similar to: .. literalinclude:: scripts/tensorflow/tensorflow_gpu_sbatch :language: bash Running Tensorflow in containers -------------------------------- CSD3 also supports running inside apptainer containers. A Tensorflow container can be downloaded from the Docker Hub and run with: .. literalinclude:: scripts/tensorflow/tensorflow_singularity.sh :language: bash