Add Pipeline UI docs (#194)
@ -5,8 +5,6 @@ title: Dataset Versions
|
||||
Use the Dataset versioning WebApp (UI) features for viewing, creating, modifying, and
|
||||
deleting [Dataset versions](../dataset.md#dataset-versioning).
|
||||
|
||||
From the [Datasets page](webapp_datasets.md), click on one of the Datasets in order to see and work with its versions.
|
||||
|
||||
## Dataset Version History
|
||||
The WebApp (UI) will present your dataset version structure in one of two ways, depending on the structure implemented.
|
||||
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 9.9 KiB |
BIN
docs/img/webapp_pipeline_DAG.png
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
docs/img/webapp_pipeline_card.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
docs/img/webapp_pipeline_context_menu.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
docs/img/webapp_pipeline_new_run.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
docs/img/webapp_pipeline_node.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
docs/img/webapp_pipeline_run_info.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
docs/img/webapp_pipeline_runs_table.png
Normal file
After Width: | Height: | Size: 153 KiB |
BIN
docs/img/webapp_pipeline_step_code.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
docs/img/webapp_pipeline_step_console.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
docs/img/webapp_pipeline_step_info.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
docs/img/webapp_pipeline_table.png
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
docs/img/webapp_pipeline_task_info.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
docs/img/webapp_pipelines_context_menu.png
Normal file
After Width: | Height: | Size: 18 KiB |
34
docs/webapp/pipelines/webapp_pipeline_page.md
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
title: Pipelines Page
|
||||
---
|
||||
|
||||
Use the **Pipelines** Page to navigate between and manage pipelines. The page shows execution summaries for all
|
||||
[ClearML Pipelines](../../fundamentals/pipelines.md).
|
||||
|
||||
Click on a pipeline card to navigate to its [Pipeline Runs Table](webapp_pipeline_table.md), where you can view the
|
||||
pipeline structure, configuration and outputs for all of the pipeline’s runs, as well as create new runs.
|
||||
|
||||

|
||||
|
||||
|
||||
## Pipeline Cards
|
||||
|
||||
The pipeline cards display summarized pipeline information:
|
||||
|
||||

|
||||
|
||||
* Pipeline name
|
||||
* Time since the pipeline’s most recent run
|
||||
* Run summary - Number of *Running*/*Pending*/*Completed*/*Failed* runs
|
||||
* Tags
|
||||
|
||||
|
||||
### Pipeline Actions
|
||||
|
||||
Click <img src="/docs/latest/icons/ico-bars-menu.svg" alt="Menu" className="icon size-md space-sm" /> on the top right
|
||||
of a pipeline card to open its context menu and access pipeline actions.
|
||||
|
||||

|
||||
|
||||
* Rename - Change the pipeline’s name
|
||||
* Add Tag - Add label to the pipeline to help easily classify groups of pipelines.
|
123
docs/webapp/pipelines/webapp_pipeline_table.md
Normal file
@ -0,0 +1,123 @@
|
||||
---
|
||||
title: The Pipeline Runs Table
|
||||
---
|
||||
|
||||
The pipeline runs table is a [customizable](#customizing-the-runs-table) list of the pipeline’s runs. From the table,
|
||||
you can view a run’s details, and manage runs (create, continue, or abort). The runs table's auto-refresh allows users
|
||||
to continually monitor run progress.
|
||||
|
||||

|
||||
|
||||
## Run Table Columns
|
||||
|
||||
The models table contains the following columns:
|
||||
|
||||
| Column | Description | Type |
|
||||
|---|---|---|
|
||||
| **RUN** | Pipeline run identifier | String |
|
||||
| **VERSION** | The pipeline version number. Corresponds to the [PipelineController](../../references/sdk/automation_controller_pipelinecontroller.md#class-pipelinecontroller) ’s and [PipelineDecorator](../../references/sdk/automation_controller_pipelinecontroller.md#class-automationcontrollerpipelinedecorator)’s `version` parameter | Version string |
|
||||
| **TAGS** | Descriptive, user-defined, color-coded tags assigned to run. | Tag |
|
||||
| **STATUS** | Pipeline run's status. See a list of the [task states and state transitions](../../fundamentals/task.md#task-states). | String |
|
||||
| **USER** | User who created the run. | String |
|
||||
| **STARTED** | Elapsed time since the run started. To view the date and time of start, hover over the elapsed time. | Date-time |
|
||||
| **UPDATED** | Elapsed time since the last update to the run. To view the date and time of update, hover over the elapsed time. | Date-time |
|
||||
| **RUN TIME** | The current / total running time of the run. | Time |
|
||||
| **_Metrics_** | Add metrics column (last, minimum, and / or maximum values). Available options depend upon the runs in the table. | Varies according to runs in table |
|
||||
| **_Hyperparameters_** | Add hyperparameters. Available options depend upon the runs in the table. | Varies according to runs in table |
|
||||
|
||||
## Customizing the Runs Table
|
||||
|
||||
Customize the table using any of the following:
|
||||
* Dynamic column ordering - Drag a column title to a different position.
|
||||
* Show / hide columns - Click <img src="/docs/latest/icons/ico-settings.svg" alt="Setting Gear" className="icon size-md" />
|
||||
to view and select columns to show. Click **Metric** and **Hyper Parameter** to add the respective custom columns
|
||||
* [Filter columns](#filtering-columns)
|
||||
* Sort columns
|
||||
* Resize columns - Drag the column separator to change the width of that column. Double click the column separator for
|
||||
automatic fit.
|
||||
|
||||
Changes are persistent (cached in the browser) and represented in the URL, so customized settings can be saved in a
|
||||
browser bookmark and shared with other ClearML users.
|
||||
|
||||
:::note Float Values Display
|
||||
By default, the runs table displays rounded up float values. Hover over a float to view its precise value in the
|
||||
tooltip that appears. To view all precise values in a column, hover over a float and click <img src="/docs/latest/icons/ico-line-expand.svg" alt="Expand" className="icon size-md" />.
|
||||
:::
|
||||
|
||||
### Filtering Columns
|
||||
|
||||
Filters can be applied by clicking <img src="/docs/latest/icons/ico-filter-off.svg" alt="Filter" className="icon size-md" />
|
||||
on a column, and the relevant filter appears.
|
||||
|
||||
There are a few types of filters:
|
||||
* Value set - Choose which values to include from a list of all values in the column
|
||||
* Numerical ranges - Insert minimum and / or maximum value
|
||||
* Date ranges - Insert starting and / or ending date and time
|
||||
* Tags - Choose which tags to filter by from a list of all tags used in the column.
|
||||
* Filter by multiple tag values using the **ANY** or **ALL** options, which correspond to the logical "AND" and "OR" respectively. These
|
||||
options appear on the top of the tag list.
|
||||
* Filter by the absence of a tag (logical "NOT") by clicking its checkbox twice. An `X` will appear in the tag's checkbox.
|
||||
|
||||
Once a filter is applied to a column, its filter icon will appear with a highlighted dot on its top right (<img src="/docs/latest/icons/ico-filter-on.svg" alt="Filter on" className="icon size-md" /> ).
|
||||
|
||||
To clear all active filters, click <img src="/docs/latest/icons/ico-filter-reset.svg" alt="Clear filters" className="icon size-md" />
|
||||
in the top right corner of the table.
|
||||
|
||||
:::note
|
||||
The following table customizations are saved on a per pipeline basis:
|
||||
* Columns order
|
||||
* Column width
|
||||
* Active sort order
|
||||
* Active filters
|
||||
* Custom columns
|
||||
:::
|
||||
|
||||
## Create Run
|
||||
To launch a new run for a pipeline, click **+ NEW RUN** on the top left of the page. This opens a **NEW RUN** modal, where
|
||||
you can set the run’s parameters. By default, the fields are pre-filled with the last run’s values.
|
||||
|
||||
Click **Advanced configurations** to change the run’s execution queue.
|
||||
|
||||

|
||||
|
||||
After clicking **RUN**, the new pipeline run is enqueued in the specified queue, and the run is added to the pipeline run table.
|
||||
|
||||
|
||||
## Run Actions
|
||||
|
||||
The following table describes the actions that can be done from the run table, including the [states](../../fundamentals/task.md#task-states)
|
||||
that allow each operation.
|
||||
|
||||
| Action | Description | States Valid for the Action | State Transition |
|
||||
|---|---|---|---|
|
||||
| Archive | To more easily work with active runs, archive a run. See [Archiving](../webapp_archiving.md). | Any state | None |
|
||||
| Restore | Action available in the archive. Restore a run to the active pipeline runs table. | Any state | None |
|
||||
| Run | Create a new pipeline run. Configure and enqueue it for execution. See [Create Run](#create-run). | Any State | *Pending* |
|
||||
| Abort | Manually stop / cancel a run. | *Running* / *Pending* | *Aborted* |
|
||||
| Continue | Rerun with the same parameters | *Aborted* | *Pending* |
|
||||
| Tags | User-defined labels added to runs for grouping and organization. | Any state | None |
|
||||
|
||||
These actions can be accessed with the context menu, when right-clicking a run.
|
||||
|
||||

|
||||
|
||||
Most of the actions mentioned in the chart above can be performed on multiple runs at once.
|
||||
[Select multiple runs](#selecting-multiple-runs), then use either the context menu, or the bar that appears at the bottom
|
||||
of the page, to perform operations on the selected runs. Actions can be performed only on the runs that match the action criteria
|
||||
(for example, only *Aborted* pipeline runs can be continued). The context menu shows the number of runs that can be
|
||||
affected by each action. The same information can be found in the bottom menu, in a tooltip that appears when hovering
|
||||
over an action icon.
|
||||
|
||||
## Selecting Multiple Runs
|
||||
|
||||
Select multiple runs by clicking the checkbox on the left of each relevant run. Clear any existing selection
|
||||
by clicking the checkbox in the top left corner of the table.
|
||||
|
||||
Click the checkbox in the top left corner of the table to select all items currently visible.
|
||||
|
||||
An extended bulk selection tool is available through the down arrow next to the checkbox in the top left corner, enabling
|
||||
selecting items beyond the items currently on-screen:
|
||||
* **All** - Select all runs in the pipeline
|
||||
* **None** - Clear selection
|
||||
* **Filtered** - Select all runs in the project that match the current active table filters
|
||||
|
60
docs/webapp/pipelines/webapp_pipeline_viewing.md
Normal file
@ -0,0 +1,60 @@
|
||||
---
|
||||
title: Pipeline Run Details
|
||||
---
|
||||
|
||||
The run details panel shows the pipeline’s structure and the execution status of every step, as well as the run’s
|
||||
configuration parameters and output.
|
||||
|
||||

|
||||
|
||||
Each step shows:
|
||||
|
||||

|
||||
|
||||
* Step name
|
||||
* Step status
|
||||
* Step execution time
|
||||
* Step log button - Hover over the step and click <img src="/docs/latest/icons/ico-console.svg" alt="console" className="icon size-md space-sm" />
|
||||
to view the step’s [console log and code](#run-and-step-log)
|
||||
|
||||
While the pipeline is running, the steps’ details and colors are updated.
|
||||
|
||||
## Run and Step Details
|
||||
### Run and Step Info
|
||||
|
||||
On the right side of the pipeline run panel, view the **RUN INFO** which shows:
|
||||
* Run Parameters
|
||||
* Reported Metrics
|
||||
* Produced Artifacts
|
||||
* Output Models
|
||||
|
||||

|
||||
|
||||
To view a run’s complete information, click **Full details**, which will open the pipeline’s controller [task page](../webapp_exp_track_visual.md).
|
||||
View each list’s complete details in the pipeline task’s corresponding tabs:
|
||||
* **PARAMETERS** list > **CONFIGURATION** tab
|
||||
* **METRICS** list > **SCALARS** tab
|
||||
* **ARTIFACTS** and **MODELS** lists > **ARTIFACTS** tab
|
||||
|
||||

|
||||
|
||||
To view a specific step’s information, click the step on the execution graph, and the info panel displays its **STEP INFO**.
|
||||
The panel displays the step’s name, task type, and status, as well as its parameters, metrics, artifacts, and models.
|
||||
|
||||

|
||||
|
||||
To return to viewing the run’s information, click the pipeline graph, outside any of the steps.
|
||||
|
||||
### Run and Step Log
|
||||
|
||||
Click on **DETAILS** on the top left of the info panel to view a run’s full console log. The log contains everything printed
|
||||
to stdout and stderr.
|
||||
|
||||

|
||||
|
||||
To view a step’s console log, click **DETAILS** and then click on a step.
|
||||
|
||||
You can also view the selected step’s code. On the top right of the console panel, click **Console**, then click **Code**
|
||||
in the menu.
|
||||
|
||||

|
@ -23,7 +23,8 @@ The ClearML Web UI is composed of the following pages:
|
||||
* [Compare experiments](webapp_exp_comparing.md)
|
||||
* [Share experiments and their models](webapp_exp_sharing.md) with other ClearML hosted service users
|
||||
* [Archive experiments and models](webapp_archiving.md)
|
||||
|
||||
|
||||
* [Pipelines](pipelines/webapp_pipeline_page.md) - View and manage your pipelines.
|
||||
* [Workers and Queues](webapp_workers_queues.md) - The resource monitoring and queues management page.
|
||||
|
||||
* [Settings](webapp_profile.md) (available through the profile menu <img src="/docs/latest/icons/ico-me.svg" alt="Profile button" className="icon size-lg space-sm" />) -
|
||||
|
@ -37,6 +37,11 @@ module.exports = {
|
||||
'webapp/webapp_archiving'
|
||||
]
|
||||
},
|
||||
{
|
||||
'Pipelines':[
|
||||
'webapp/pipelines/webapp_pipeline_page', 'webapp/pipelines/webapp_pipeline_table', 'webapp/pipelines/webapp_pipeline_viewing'
|
||||
]
|
||||
},
|
||||
'webapp/webapp_workers_queues', 'webapp/webapp_profile']
|
||||
},
|
||||
{'Configurations': ['configs/configuring_clearml', 'configs/clearml_conf', 'configs/env_vars']},
|
||||
|
4
static/icons/ico-console.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path d="M14 13.667v-8H3.333v8H14M14 3a1.333 1.333 0 0 1 1.333 1.333v9.333A1.333 1.333 0 0 1 14 15H3.333A1.333 1.333 0 0 1 2 13.667V4.333A1.333 1.333 0 0 1 3.333 3H14m-4.667 9.333V11h3.333v1.333H9.333m-2.28-2.666L4.38 7h1.887l2.2 2.2a.672.672 0 0 1 0 .947L6.28 12.333H4.393z" transform="translate(-.667 -1)" style="fill:#8492c2"/>
|
||||
<path style="fill:none" d="M0 0h16v16H0z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 474 B |