All Products
Search
Document Center

Platform For AI:View and add images

Last Updated:Oct 09, 2023

The image management module allows you to view the details of Machine Learning Platform for AI (PAI) official images and add existing custom images from Container Registry. This way, you can use the image management module to manage all images in PAI. This topic describes how to view the details of PAI official images and add existing custom images from Container Registry.

Account and permission requirements

  • Alibaba Cloud account: You can use an Alibaba Cloud account to perform all operations without additional authorization.

  • RAM user: You need to add a RAM user as a workspace member with specific roles and assign permissions to the roles. For more information, go to the Roles and Permissions page. image.png

PAI official images

On the Official Images tab, you can view the details of the images that are related to federated learning in PAI and images that are used for model training in Deep Learning Containers (DLC).

  1. Go to the Images page.

    1. Log on to the Machine Learning Platform for AI console.

    2. In the left-side navigation pane, click Workspaces. On the Workspace list page, click the name of the workspace that you want to manage.

    3. In the left-side navigation pane, choose AI Computing Asset Management > Images.

  2. Click the Official Images tab to view the PAI official images, as shown in the following figure.

    PAI官方公开镜像You can also enter the name of an official image in the search box to find the image.

  3. Find an image that you want to manage and click the image.png icon in the Image Address column to copy the image address.

Custom images

On the Custom Images tab, you can click Add Image to add an existing image from Container Registry. This feature allows you to manage all images in PAI. To add a custom image, perform the following steps:

  1. On the Images page, click the Custom Images tab.

  2. On the Custom Images tab, click Add Image.

  3. In the Add Image dialog box, configure the required parameters. The following table describes the parameters.

    Parameter

    Description

    Image Name

    The display name of the image that you want to add to the image list.

    Image Type

    Valid values:

    • Personal Edition Image (Container Registry): provides basic container images for individual developers.

    • Enterprise Edition Image (Container Registry): allows enterprises to manage and distribute Open Container Initiative (OCI) artifacts such as container images, Helm charts, and Operators in a secure and efficient manner.

    Enterprise Edition Instance (Container Registry)

    This parameter is available only if you set the Image Type parameter to Enterprise Edition Image (Container Registry).

    Select a Container Registry Enterprise Edition instance to create a custom image.

    Image Namespace

    Select a namespace. You can manage a collection of repositories in the namespace.

    Image Repository

    Select an existing image repository. For more information about image repositories, see Main features of a repository.

    Image Tag

    Select an image tag.

    Customize Domain Name

    This parameter is available only if you set the Image Type parameter to Enterprise Edition Image (Container Registry).

    After you select a custom domain name, you can use the custom domain name to access the Enterprise Edition instance over HTTP.

    Visibility

    The visibility of the custom image. Valid values:

    • Visible to Me: The image is visible only to you and the administrator of the current workspace.

    • Visible to Current Workspace: The image is visible to all users of the current workspace.

    CPU/GPU

    You can select a CPU or GPU type to ensure that the image can run as expected in a specific environment.

    Description

    The description of the image. A properly written description can facilitate image management.

  4. Click Add Image.

    The added image appears in the image list, as shown in the following figure.image.png

Manage custom images

You can go to the Custom Images tab and view all images that have permissions. On the tab, you can also refer to the following figure to manage images.a10a736fb4856a1e03e325dcf0cd6709.png

  • You can find the image that you want to manage and move the pointer over the ① section to view the image ID.

  • You can find the image and click the 复制 icon to copy the image address so that you can use the image for training.

  • You can find the image and click View Registry Address in the Actions column to go to the details page and view the public endpoint of the image. Copy the endpoint to use the image for training.