The TensorFlow deep learning framework is used in this topic to describe how to deploy a NVIDIA GPU Cloud (NGC) environment on instances with GPU capabilities.
Prerequisites
- An Alibaba Cloud account is created and the real-name verification is completed. For more information, see Account management FAQ and Real-name registration FAQ.
- An NGC account is created from the NGC website.
- The NGC API key is obtained from the NGC website and saved locally. The NGC API key will be verified when you log on to the NGC container environment.
Background information
As a deep learning ecosystem from NGC allows developers to access the deep learning software stack free of charge and is fit for creating a deep learning development environment.
At present, NGC has been fully deployed in members of the gn5 instance family. Moreover, Alibaba Cloud Marketplace provides NGC container images optimized for NVIDIA Pascal GPUs. Developers can deploy NGC container images from Alibaba Cloud Marketplace to quickly build container environments and access optimized deep learning frameworks while reducing the time spent on product development and business deployment. Other benefits include pre-installation of the development environment, support for optimized algorithm frameworks, and continuous updates.
The NGC website provides images of different versions of the current mainstream deep learning frameworks such as Caffe, Caffe2, CNTK, MXNet, TensorFlow, Theano, and Torch. You can select the desired image to deploy the environment.
- gn4, gn5, gn5i, gn6v, gn6i, and gn6e
- ebmgn5i, ebmgn6i, ebmgn6v, and ebmgn6e
The following example shows how to create an instance with GPU capabilities and deploy an NGC environment on the instance. A gn5 instance is used in this example.