ListExperiments

Updated at:

Retrieves a list of experiments.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eflo:ListExperiments

list

*Experiment

acs:eflo:{#regionId}:{#accountId}:experiment/*

None None

Request parameters

Parameter

Type

Required

Description

Example

PlanId

integer

No

The plan ID.

189

Order

integer

No

The order.

1

ResourceGroupId

string

No

The resource group ID.

rg-uo8f26cpmo

Response elements

Element

Type

Description

Example

object

The experiment list.

Data

array<object>

The data.

array<object>

ExperimentId

integer

The experiment ID.

1684537476910997506

CreateTime

integer

The creation time.

1794225046000

UpdateTime

integer

The update time.

1794225046000

ExperimentName

string

The experiment name.

test

ExperimentType

string

The experiment type.

AI

ResourceName

string

The resource name.

ecs.r8y.4xlarge

WorkloadName

string

The workload name.

test

StartTime

string

The task start time in the YYYY-MM-DD HH:mm:ss format.

2024-10-22 10:18:10

EndTime

string

The task end time in the YYYY-MM-DD HH:mm:ss format.

2024-10-22 10:28:10

Status

string

The status.

RUNNING

Results

object

The task results.

ExperimentId

integer

The parameter name.

440

Duration

number

The duration.

20

SecondsPerIteration

number

The number of seconds per iteration.

89

SamplesPerSecond

number

The number of samples per second.

10

Mfu

number

MFU

34

WarningWorker

array<object>

The warning workers.

object

ExperimentId

integer

The experiment ID.

113

Hostname

string

The host IP address.

101.66.165.102

PodName

string

The pod name.

hzs-forge-sdxl-online-7ff4d86444-pc95h

GpuNum

integer

The number of GPUs.

90

GpuName

string

The GPU name.

8x OAM 810 GPU

WarningFlag

boolean

Indicates whether an alert is triggered.

false

WarningMsg

string

The alert message.

None

ErrorFlag

boolean

Indicates whether an error occurred.

false

ErrorMsg

string

The error message.

None

Tflops

number

The TFLOPS value.

43

SamplesPerSecond

number

The throughput.

53

ErrorWorker

array<object>

The error workers.

object

The error workers.

ExperimentId

integer

The experiment ID.

176

Hostname

string

The host IP address.

etcd_cluster_c0n2

PodName

string

The pod name.

fluxserv-6fc89b45cf-w8wq6

GpuNum

integer

The number of GPUs.

8

GpuName

string

The GPU name.

8x OAM 810 GPU

WarningFlag

boolean

Indicates whether an alert is triggered.

false

WarningMsg

string

The alert message.

None

ErrorFlag

boolean

Indicates whether an error occurred.

false

ErrorMsg

string

The error message.

None

Tflops

number

The TFLOPS value.

42

SamplesPerSecond

number

The throughput.

65

SetParams

object

The executed workload parameters.

{"ITERATION":"1000","NUMERICAL_FORMATS":"FP16"}

string

The parameter.

{}

GetParams

object

The parsed workload parameters.

string

The parameter.

{}

EnvParams

object

The runtime environment parameters.

CpuPerWorker

integer

The number of CPUs allocated per worker.

90

GpuPerWorker

integer

The number of GPUs allocated per worker.

8

MemoryPerWorker

integer

The amount of memory allocated per worker in GB.

500

ShareMemory

integer

The amount of shared memory allocated in GB.

500

WorkerNum

integer

The number of nodes.

1

CudaVersion

string

cudaVersion

1.0.0

NCCLVersion

string

NCCLVersion

1.0.0

GpuDriverVersion

string

GpuDriverVersion

1.0.0

PyTorchVersion

string

PyTorchVersion

1.0.0

ResourceNodes

array<object>

The specified nodes.

object

NodeName

string

The name of the node.

lingj1xxnjt1k4nv-mg18v52pydyuumae-0

TotalCPU

integer

The total number of CPUs.

90

TotalGPU

integer

The total number of GPUs.

8

TotalMemory

integer

The total amount of memory.

500

RequestCPU

integer

The number of CPUs requested.

90

RequestGPU

integer

The number of GPUs requested.

8

RequestMemory

integer

The amount of memory requested.

500

ExtendParam

object

The additional parameters.

string

The parameter.

{}

RequestId

string

The request ID.

5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB

AccessDeniedDetail

string

The access denial details.

{}

TotalCount

integer

The total number of queried items.

0

Examples

Success response

JSON format

{
  "Data": [
    {
      "ExperimentId": 1684537476910997500,
      "CreateTime": 1794225046000,
      "UpdateTime": 1794225046000,
      "ExperimentName": "test",
      "ExperimentType": "AI",
      "ResourceName": "ecs.r8y.4xlarge",
      "WorkloadName": "test",
      "StartTime": "2024-10-22 10:18:10",
      "EndTime": "2024-10-22 10:28:10",
      "Status": "RUNNING",
      "Results": {
        "ExperimentId": 440,
        "Duration": 20,
        "SecondsPerIteration": 89,
        "SamplesPerSecond": 10,
        "Mfu": 34,
        "WarningWorker": [
          {
            "ExperimentId": 113,
            "Hostname": "101.66.165.102",
            "PodName": "hzs-forge-sdxl-online-7ff4d86444-pc95h",
            "GpuNum": 90,
            "GpuName": "8x OAM 810 GPU",
            "WarningFlag": false,
            "WarningMsg": "无",
            "ErrorFlag": false,
            "ErrorMsg": "无",
            "Tflops": 43,
            "SamplesPerSecond": 53
          }
        ],
        "ErrorWorker": [
          {
            "ExperimentId": 176,
            "Hostname": "etcd_cluster_c0n2",
            "PodName": "fluxserv-6fc89b45cf-w8wq6",
            "GpuNum": 8,
            "GpuName": "8x OAM 810 GPU",
            "WarningFlag": false,
            "WarningMsg": "无",
            "ErrorFlag": false,
            "ErrorMsg": "无",
            "Tflops": 42,
            "SamplesPerSecond": 65
          }
        ]
      },
      "SetParams": {
        "key": "{}"
      },
      "GetParams": {
        "key": "{}"
      },
      "EnvParams": {
        "CpuPerWorker": 90,
        "GpuPerWorker": 8,
        "MemoryPerWorker": 500,
        "ShareMemory": 500,
        "WorkerNum": 1,
        "CudaVersion": "1.0.0",
        "NCCLVersion": "1.0.0",
        "GpuDriverVersion": "1.0.0",
        "PyTorchVersion": "1.0.0",
        "ResourceNodes": [
          {
            "NodeName": "lingj1xxnjt1k4nv-mg18v52pydyuumae-0",
            "TotalCPU": 90,
            "TotalGPU": 8,
            "TotalMemory": 500,
            "RequestCPU": 90,
            "RequestGPU": 8,
            "RequestMemory": 500
          }
        ],
        "ExtendParam": {
          "key": "{}"
        }
      }
    }
  ],
  "RequestId": "5514CB39-B7C0-5B89-8534-2DE1E0F2B7AB",
  "AccessDeniedDetail": "{}",
  "TotalCount": 0
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.