PAI involves several core concepts, including workspaces, resource groups, datasets, and models. Understanding these concepts helps you quickly get started with PAI resource management and your AI development workflow.
Concepts for administrators
|
Term |
Description |
|
Workspace |
A workspace is the top-level entity in PAI used to centrally manage compute resources and user permissions. For AI developers, it offers end-to-end development tools that support team collaboration and AI asset management. PAI workspaces are interoperable with DataWorks workspaces. A workspace created in PAI also appears in the DataWorks workspace list. Default Workspace: This workspace is associated with commonly used pay-as-you-go resources that require your consent to activate. It allows new users to quickly start development and training without needing to understand concepts such as resource groups. |
|
Deep Learning Containers (DLC) |
DLC is a cloud-native AI platform provided by PAI that offers a flexible, stable, easy-to-use, and high-performance machine learning training environment. DLC supports various algorithm frameworks, ultra-large-scale distributed deep learning jobs, and custom algorithm frameworks. It provides two types of working clusters:
|
|
Resource group |
|
|
Member |
Alibaba Cloud accounts and RAM users that join a workspace are called workspace members. Members with different roles can collaborate in the AI development process within the same workspace. The Workspace Owner and Workspace Administrators can manage workspace members. |
|
Role |
A role associates a member with a set of permissions. Basic roles are predefined by the system, and you can also create custom roles. The system supports the following basic roles:
|
|
Dependencies |
To use all PAI features, PAI depends on other Alibaba Cloud services, such as Object Storage Service (OSS), Apsara File Storage NAS (NAS), Log Service (SLS), Container Registry (ACR), and API Gateway. In most cases, an Alibaba Cloud account or a Resource Administrator must activate these services and grant permissions to RAM users in advance. |
Concepts for AI developers
|
Term |
Description |
|
Dataset |
A collection of data used for tasks such as labeling, training, and analysis. You can register structured data, unstructured data, or directories from storage services such as OSS, NAS, and MaxCompute as a dataset. PAI allows you to centrally manage the storage, versions, and schema of the dataset. |
|
Pipeline |
A static object that defines the scheduling logic for upstream and downstream components by using a directed acyclic graph (DAG). After a pipeline is built, you can repeatedly submit it for execution. Each execution generates a PipelineRun. |
|
PipelineDraft |
An editable pipeline object on the Designer canvas. You can repeatedly edit a PipelineDraft to generate different pipelines. Submitting a PipelineDraft for execution generates a PipelineRun. |
|
Component |
The smallest configurable and executable unit in a pipeline or PipelineDraft. Components come from the following sources:
|
|
Node |
When a component is dragged to the canvas, the component forms a node in the pipeline. |
|
Snapshot |
Each time you run a PipelineDraft, regardless of whether it is a full run, a single-node run, or a partial-node run, the system records the complete configuration information. This information is saved as a snapshot, which includes the node configurations, run parameters, and execution modes. Snapshots can be used for versioning and configuration rollbacks. |
|
PipelineRun |
A single execution of a pipeline. You can generate a PipelineRun by submitting a PipelineDraft from Designer or by submitting a pipeline directly by using an SDK. |
|
Job |
A task that runs on compute resources, such as a training task that is submitted to DLC. The job's resource environment is managed by the user. |
|
Run |
A single task execution. A run is compatible with the concept in MLFlow and must belong to an experiment. You can use runs to track training tasks that are submitted to PAI. You can also use an MLflow client to create a run on your on-premises machine. A single run can contain multiple jobs. |
|
Model |
The output of a training job that is created based on a dataset and algorithm code. A model can be used to predict new data. |
|
Processor |
A software package that contains online inference logic, including model loading and request handling logic. A processor is typically deployed with a model file to create a model service. PAI supports the following two types of processors:
|
|
Model service |
A long-running service that is created by deploying a model file and its online inference logic. You can create, update, stop, start, scale out, and scale in a model service. |
|
Image |
PAI allows you to manage Docker images as AI assets. The following image sources are supported:
An image can be used to build custom components in a pipeline, start a DSW instance using the image as its environment, or be specified as the execution environment when you submit a training job. |
|
Instance |
The smallest unit launched on compute resources. The following types of instances are included:
|
PAI product modules
|
Term |
Description |
|
iTAG |
A data labeling tool that integrates intelligent, black-box capabilities to reduce the manual effort of labeling and help you quickly obtain high-quality labeled datasets. |
|
Designer |
A visual workflow design tool for AI development. It provides a wide range of built-in machine learning algorithm components. You can drag and drop components to train models without writing code. |
|
Data Science Workshop (DSW) |
A cloud-based, interactive development environment (IDE) for AI developers. DSW includes Notebook, VSCode, and a terminal. You can start DSW based on an image and specify NAS as storage. |
|
Deep Learning Containers (DLC) |
You can submit training jobs to compute resources associated with your workspace, such as general-purpose compute resources. After you submit the jobs, you can view the job details in the task management module of PAI. |
|
Elastic Algorithm Service (EAS) |
Supports one-click deployment of large-scale, complex models, real-time auto scaling, and a comprehensive O&M and monitoring system. |
|
AI Asset Management |
Provides management capabilities for core AI assets, including datasets, models, and code configurations. |
|
Scenario-based solution |
A collection of ready-to-use solutions for vertical industry scenarios, developed based on the capabilities of PAI. |