Benchmarks:AI
Jump to navigation
Jump to search
Training
TensorFlow
TensorFlow provides scripts to run training benchmarks with different models. The scripts are hosted on GitHub here.
It is recommended to run the scripts using nvidia-docker2 and the TensorFlow docker image obtained from NGC.
To simplify the setup I have created a Dockerfile to pull the image and download the scripts. To use this first create a directory to hold your Dockerfiles.
mkdir ~/Dockerfiles
Then create a file in this directory and add the following
FROM nvcr.io/nvidia/tensorflow:18.10-py3 RUN apt-get update && apt-get install git && git clone -b cnn_tf_v1.10_compatible https://github.com/tensorflow/benchmarks ENTRYPOINT bash
To build the image run
docker build -f dockerfiles/tf_bench .