GetExperiment

Updated at:

Retrieves the details of an experiment.

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:GetExperiment

get

*Experiment

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

None None

Request parameters

Parameter

Type

Required

Description

Example

ExperimentId

integer

Yes

The experiment ID.

234

ResourceGroupId

string

No

Resource Group Id

rg-kdsfjascjfm3

Response elements

Element

Type

Description

Example

object

The experiment object.

Data

object

The data.

Task

object

The experiment task.

TaskId

integer

The task ID.

167420

CreateTime

integer

The creation time.

1794225046000

UpdateTime

integer

The update time.

1794225046000

StartTime

integer

The start time.

1794225046000

EndTime

integer

The end time.

1794225056000

Params

object

The experiment parameters.

string

The environment parameters.

{}

Scene

string

The scenario.

baseline

Status

string

The status.

success

Workload

object

The workload information.

WorkloadId

integer

The workload ID.

13

WorkloadName

string

The workload name.

test

WorkloadDescription

string

The workload description.

test

WorkloadType

string

The workload name.

AI

Family

string

The workload family, such as AI and GPU.

AI

Scene

string

The workload scenarios.

NLP-LLM

Scope

string

The scope identifier of the workload.

common

JobKind

string

The training task type.

PyTorchJob

DefaultCpuPerWorker

integer

The default CPU allocation.

90

DefaultGpuPerWorker

integer

The default GPU allocation.

8

DefaultMemoryPerWorker

integer

The default memory allocation in GB.

500

DefaultShareMemory

integer

The default shared memory allocation in GB.

500

ParamSettings

array<object>

The parameter settings.

object

ParamName

string

The parameter name.

ITERATION

ParamDesc

string

The parameter description.

Number of iterations

ParamValue

string

The parameter value.

100

DefaultValue

string

The default parameter value.

100

ParamRegex

string

The regular expression for the parameter.

[0-9]+

ParamType

string

The parameter type.

number

StaticConfig

object

The static configuration.

FrameWork

string

The framework.

pyTorch

SoftwareStack

string

The software stack.

python

Os

string

The operating system.

linux

Parameters

string

The number of parameters.

7B

VersionId

integer

The version number.

1

Resource

object

The cluster information.

ResourceId

integer

The cluster ID.

189

ResourceName

string

The cluster name.

ecs.r8y.4xlarge

CpuCoreLimit

integer

The number of used CPU cores.

90

GpuLimit

integer

The number of used GPUs.

8

MemoryLimit

integer

The amount of used memory.

500

MaxGpu

integer

The amount of used memory.

8

MaxCpuCore

integer

The amount of used memory.

90

MaxMemory

integer

The amount of used memory.

500

UserAccessParam

object

The user authorization parameters.

AccessId

string

The user ID.

dev

AccessKey

string

The user key.

test

WorkspaceId

string

The workspace ID.

123434542498

Endpoint

string

endpoint

test

MachineType

object

The machine type.

MemoryInfo

string

The memory information.

32x 64GB DDR4 3200 Memory

Type

string

The type.

Public

BondNum

integer

The number of network bonds.

5

NodeCount

integer

The number of nodes.

1

CpuInfo

string

The CPU information.

2x Intel Icelake 8369B 32C CPU

NetworkInfo

string

The network information.

1x 100Gbps DP NIC for VPC \n 4x 100Gbps DP RoCE NIC

GpuInfo

string

The GPU information.

8x NVIDIA SXM4 80GB A100 GPU

DiskInfo

string

The disk information.

2x 480GB SATA SSD \n 4x 3.84TB NVMe SSD

NetworkMode

string

The network mode.

2

Name

string

The machine type name.

efg1.nvga1n

ResourceNodes

array<object>

The list of resource nodes.

object

NodeName

string

The node name.

InputCheck

ExperimentId

integer

The experiment ID.

1726882991828688898

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.

cifnews-guoyuan

WorkloadName

string

The workload name.

test

StartTime

string

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

2024-11-29 02:16:35

EndTime

string

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

2024-11-29 02:26:35

Status

string

The status.

RUNNING

Results

object

The task results.

ExperimentId

integer

The parameter name.

1748274952976261121

Duration

number

The duration.

764

SecondsPerIteration

number

The number of seconds per iteration.

1000

SamplesPerSecond

number

The number of samples per second.

10

Mfu

number

MFU

54.2

WarningWorker

array<object>

The warning worker.

object

ExperimentId

integer

The experiment ID.

9

Hostname

string

The service address.

whza008403

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.

true

WarningMsg

string

The alert message.

Slow nodes detected

ErrorFlag

boolean

Indicates whether an error occurred.

true

ErrorMsg

string

The error message.

Error message

Tflops

number

The TFLOPS value.

14

SamplesPerSecond

number

The throughput.

15

ErrorWorker

array<object>

The error nodes.

object

ExperimentId

integer

The experiment ID.

97

Hostname

string

The service address.

60.188.98.209

PodName

string

The pod name.

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

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.

true

ErrorMsg

string

The error message.

Connection reset

Tflops

number

The TFLOPS value.

12

SamplesPerSecond

number

The throughput.

23

WarningBoundList

array<object>

The warning nodes.

object

Iteration

integer

The iteration.

10

Upper

number

UPPER

56

Lower

number

LOWER

14

TaskIndividualResultList

array<object>

The invalid task results.

object

ExperimentId

integer

The experiment ID.

48

Hostname

string

The hostname of the node.

p-jt-waf-app1

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.

16

SamplesPerSecond

number

The throughput.

28

TaskIndividualResultMap

object

The invalid task results.

array<object>

The result object.

object

ExperimentId

integer

The experiment ID.

54

Hostname

string

The host IP address.

p-jt-waf-app1

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 a warning is triggered.

false

WarningMsg

string

The warning message.

None

ErrorFlag

boolean

Indicates whether an error occurred.

false

ErrorMsg

string

The error message.

None

Tflops

number

TFLOPS

45

SamplesPerSecond

number

The throughput.

23

SetParams

object

The running workload parameters.

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

string

The parameters.

{}

GetParams

object

The parsed workload parameters.

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

string

The parameters.

{}

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 node name.

p-jt-waf-app1

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 requested CPUs.

90

RequestGPU

integer

The number of requested GPUs.

8

RequestMemory

integer

The amount of requested memory.

500

ExtendParam

object

The additional parameters.

string

The parameters.

{}

RequestId

string

The request ID.

E67E2E4C-2B47-5C55-AA17-1D771E070AEF

AccessDeniedDetail

string

The access denied details.

{}

TotalCount

integer

The total count.

0

Examples

Success response

JSON format

{
  "Data": {
    "Task": {
      "TaskId": 167420,
      "CreateTime": 1794225046000,
      "UpdateTime": 1794225046000,
      "StartTime": 0,
      "EndTime": 0,
      "Params": {
        "key": "{}"
      },
      "Scene": "baseline",
      "Status": "success"
    },
    "Workload": {
      "WorkloadId": 13,
      "WorkloadName": "test",
      "WorkloadDescription": "test",
      "WorkloadType": "AI",
      "Family": "AI",
      "Scene": "NLP-LLM",
      "Scope": "common",
      "JobKind": "PyTorchJob",
      "DefaultCpuPerWorker": 90,
      "DefaultGpuPerWorker": 8,
      "DefaultMemoryPerWorker": 500,
      "DefaultShareMemory": 500,
      "ParamSettings": [
        {
          "ParamName": "ITERATION",
          "ParamDesc": "Number of iterations",
          "ParamValue": "100",
          "DefaultValue": "100",
          "ParamRegex": "[0-9]+",
          "ParamType": "number"
        }
      ],
      "StaticConfig": {
        "FrameWork": "pyTorch",
        "SoftwareStack": "python",
        "Os": "linux",
        "Parameters": "7B"
      },
      "VersionId": 1
    },
    "Resource": {
      "ResourceId": 189,
      "ResourceName": "ecs.r8y.4xlarge",
      "CpuCoreLimit": 90,
      "GpuLimit": 8,
      "MemoryLimit": 500,
      "MaxGpu": 8,
      "MaxCpuCore": 90,
      "MaxMemory": 500,
      "UserAccessParam": {
        "AccessId": "dev",
        "AccessKey": "test",
        "WorkspaceId": "123434542498",
        "Endpoint": "test"
      },
      "MachineType": {
        "MemoryInfo": "32x 64GB DDR4 3200 Memory",
        "Type": "Public",
        "BondNum": 5,
        "NodeCount": 1,
        "CpuInfo": "2x Intel Icelake 8369B 32C CPU",
        "NetworkInfo": "1x 100Gbps DP NIC for VPC \\n 4x 100Gbps DP RoCE NIC",
        "GpuInfo": "8x NVIDIA SXM4 80GB A100 GPU",
        "DiskInfo": "2x 480GB SATA SSD \\n 4x 3.84TB NVMe SSD",
        "NetworkMode": "2",
        "Name": "efg1.nvga1n"
      },
      "ResourceNodes": [
        {
          "NodeName": "InputCheck"
        }
      ]
    },
    "ExperimentId": 1726882991828689000,
    "CreateTime": 1794225046000,
    "UpdateTime": 1794225046000,
    "ExperimentName": "test",
    "ExperimentType": "AI",
    "ResourceName": "cifnews-guoyuan",
    "WorkloadName": "test",
    "StartTime": "2024-11-29 02:16:35",
    "EndTime": "2024-11-29 02:26:35",
    "Status": "RUNNING",
    "Results": {
      "ExperimentId": 1748274952976261000,
      "Duration": 764,
      "SecondsPerIteration": 1000,
      "SamplesPerSecond": 10,
      "Mfu": 54.2,
      "WarningWorker": [
        {
          "ExperimentId": 9,
          "Hostname": "whza008403",
          "PodName": "fluxserv-6fc89b45cf-w8wq6",
          "GpuNum": 8,
          "GpuName": "8x OAM 810 GPU",
          "WarningFlag": true,
          "WarningMsg": "Slow node detected",
          "ErrorFlag": true,
          "ErrorMsg": "Error message",
          "Tflops": 14,
          "SamplesPerSecond": 15
        }
      ],
      "ErrorWorker": [
        {
          "ExperimentId": 97,
          "Hostname": "60.188.98.209",
          "PodName": "hzs-forge-sdxl-online-7ff4d86444-pc95h",
          "GpuNum": 8,
          "GpuName": "8x OAM 810 GPU",
          "WarningFlag": false,
          "WarningMsg": "None",
          "ErrorFlag": true,
          "ErrorMsg": "Connection reset",
          "Tflops": 12,
          "SamplesPerSecond": 23
        }
      ],
      "WarningBoundList": [
        {
          "Iteration": 10,
          "Upper": 56,
          "Lower": 14
        }
      ],
      "TaskIndividualResultList": [
        {
          "ExperimentId": 48,
          "Hostname": "p-jt-waf-app1",
          "PodName": "fluxserv-6fc89b45cf-w8wq6",
          "GpuNum": 8,
          "GpuName": "8x OAM 810 GPU",
          "WarningFlag": false,
          "WarningMsg": "None",
          "ErrorFlag": false,
          "ErrorMsg": "None",
          "Tflops": 16,
          "SamplesPerSecond": 28
        }
      ],
      "TaskIndividualResultMap": {
        "key": [
          {
            "ExperimentId": 54,
            "Hostname": "p-jt-waf-app1\n",
            "PodName": "fluxserv-6fc89b45cf-w8wq6",
            "GpuNum": 8,
            "GpuName": "8x OAM 810 GPU\n",
            "WarningFlag": false,
            "WarningMsg": "None",
            "ErrorFlag": false,
            "ErrorMsg": "None",
            "Tflops": 45,
            "SamplesPerSecond": 23
          }
        ]
      }
    },
    "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": "p-jt-waf-app1",
          "TotalCPU": 90,
          "TotalGPU": 8,
          "TotalMemory": 500,
          "RequestCPU": 90,
          "RequestGPU": 8,
          "RequestMemory": 500
        }
      ],
      "ExtendParam": {
        "key": "{}"
      }
    }
  },
  "RequestId": "E67E2E4C-2B47-5C55-AA17-1D771E070AEF",
  "AccessDeniedDetail": "{}",
  "TotalCount": 0
}

Error codes

HTTP status code

Error code

Error message

Description

400 NotFound not found. Data does not exist

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.