Create a workflow

更新时间:
复制 MD 格式

Create Designer workflows from built-in templates, custom templates, blank canvases, or imported JSON files.

Prerequisites

A workspace is created. Create and manage workspaces.

Create a workflow

Log on to the PAI console. Select a workspace and go to the Designer page.

The top of the Designer page has three tabs: Workflow List, Built-in Templates, and Custom Templates. Click the New drop-down button in the upper-left corner and select New to create a blank workflow or Import to import an existing workflow.

Create a workflow in one of the following ways:

Use a preset template

Designer includes dozens of built-in templates for various frameworks and industry scenarios. Select a template and adjust components or configurations to build your model.

Parameter

Description

Workflow name

Custom workflow name.

Workflow data storage

The OSS bucket path for temporary data and models. Defaults to workspace storage if not configured.

For each run, Designer automatically creates a temporary folder at workflow_storage_path/task_ID/node_ID, which simplifies per-component storage configuration.

Visibility

  • Visible to Me: Creates workflow in the My Pipelines folder, visible only to you and workspace administrators.

  • Visible to Current Workspace: Creates workflow in the Pipelines Visible to Workspaces folder, visible to everyone in the workspace.

Create a blank workflow

Add components to a blank canvas and build a model from scratch.

Parameter

Description

Workflow name

Custom workflow name.

Workflow data storage

The OSS bucket path for temporary data and models. Defaults to workspace storage if not configured.

For each run, Designer automatically creates a temporary folder at workflow_storage_path/task_ID/node_ID, which simplifies per-component storage configuration.

Visibility

  • Visible to Me: Creates workflow in the My Pipelines folder, visible only to you and workspace administrators.

  • Visible to Current Workspace: Creates workflow in the Pipelines Visible to Workspaces folder, visible to everyone in the workspace.

Use a custom template

In enterprise scenarios, algorithm experts can convert stable workflows into reusable templates. Other team members use these templates to quickly build, deploy, and validate models.

Generate a custom template from a successfully run workflow and share it with other developers in the workspace.

Use a custom template

Members with the Developer role in the workspace can clone a workflow from a template to continue development. In the left-side navigation pane, choose Model Development & Training > Designer and click the Custom Templates tab. In the search bar, select Template Name, enter the name of your target template, and select it. Then, click Create from Template in the lower-right corner.

Parameter

Description

Workflow name

Custom workflow name.

Workflow data storage

The OSS bucket path for temporary data and models. Defaults to workspace storage if not configured.

For each run, Designer automatically creates a temporary folder at workflow_storage_path/task_ID/node_ID, which simplifies per-component storage configuration.

Visibility

  • Visible to Me: Creates workflow in the My Pipelines folder, visible only to you and workspace administrators.

  • Visible to Current Workspace: Creates workflow in the Pipelines Visible to Workspaces folder, visible to everyone in the workspace.

If you do not have a custom template, see Create custom template.

Create custom template

After you create a custom template, other developers in the workspace can view it and create workflows from it.

  1. Double-click a successfully run workflow name to open its details page.

  2. Click Publish as Template above the canvas.

  3. In the Publish as Template dialog box, configure Template Name, Description, and Documentation Link (optional), then click Publish.

    For Documentation Link, enter an accessible HTTP address that describes the custom template.

  4. After the template is published, click OK. You are redirected to the Custom Templates tab. On this tab, you can view the template's information, such as its name, author, and creation time. From here, you can select the template and click Create from Template to create a new workflow, or click Delete to remove it.

Import an existing workflow

Import a JSON workflow file to create a workflow. Designer imports components and their configurations from the file. Adjust them as needed to build your model.

Parameter

Description

Workflow name

Custom workflow name.

Workflow data storage

The OSS bucket path for temporary data and models. Defaults to workspace storage if not configured.

For each run, Designer automatically creates a temporary folder at workflow_storage_path/task_ID/node_ID, which simplifies per-component storage configuration.

Visibility

  • Visible to Me: Creates workflow in the My Pipelines folder, visible only to you and workspace administrators.

  • Visible to Current Workspace: Creates workflow in the Pipelines Visible to Workspaces folder, visible to everyone in the workspace.

Next steps