Caffe2 Release 18.03

Caffe2 Release 18.03 (PDF)

The NVIDIA container image of Caffe2, release 18.03, is available.

Contents of Caffe2

This container image contains the complete source of the version of Caffe2 in /opt/caffe2. It is pre-built and installed into the /opt/caffe2/[binaries,lib] directories in the container image. The container also includes the following:

Driver Requirements

Release 18.03 is based on CUDA 9, which requires NVIDIA Driver release 384.xx.

Key Features and Enhancements

This Caffe2 release includes the following key features and enhancements.

  • Caffe2 container image version 18.03 is based on Caffe2 0.8.1.
  • When using ImageNet training scripts in nvidia-examples on multiple GPUs, the printed metrics in the log for weak scaling was wrong. Also, the number of epochs the model is trained for was wrong. Both of these issues are fixed in the this release.
  • Gradient clipping used to be done by executing a series of small operators that compute a ratio by which the learning rate gets scaled, which has the same effect as gradient clipping for SGD optimizers. However, that method is wrong with optimizers that use momentum or history such as AdaGrad and Adam. In this release, we added a new operator ClipByGlobalNorm that explicitly clips the gradient. This operator also supports mixed precision for inputs and outputs.
  • Caffe2 already supported cuDNN RNN, however that integration does not provide enough features and flexibility to use cuDNN RNN in seq2seq. We improved this integration and also enabled using cuDNN RNN in the seq2seq example in nvidia-examples.
  • Incorporated GitHub Caffe2 code as of February 16, 2018.
  • Latest version of cuBLAS 9.0.333
  • Latest version of cuDNN 7.1.1
  • Ubuntu 16.04 with February 2018 updates


Starting with the next major version of CUDA release, we will no longer provide Python 2 containers and will only maintain Python 3 containers.

Known Issues

In nvidia-examples/seq2seq, there is a bug that causes training to skip one epoch in case of loading a snapshot. This bug will be fixed in 18.04.

© Copyright 2024, NVIDIA. Last updated on Jan 27, 2020.