Obtaining and Using a Container

Prerequisites

  • In the container scenario, you need to install Docker.
  • The driver, firmware, and toolbox have been installed on the host machine. For details, see the CANN Software Installation Guide.

Procedure

  1. Log in to Ascend Hub to obtain the corresponding image. (The account needs to be activated upon the first application.)
  2. Select an image from the list of supported images as required. For details about the configuration method, see the image link provided in Table 1.
    Table 1 Image list

    Image

    Image Description

    ascend-infer

    Ascend base inference image

    The image is already packed with necessary CANN runfiles and TensorFlow modules.