GetExperimentPlan

Updated at:

Retrieves the details of an experiment plan.

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

get

*ExperimentPlan

acs:eflo:{#regionId}:{#accountId}:experimentplan/{#ExperimentPlanId}

None None

Request parameters

Parameter

Type

Required

Description

Example

PlanId

integer

Yes

The plan ID.

189

Response elements

Element

Type

Description

Example

object

The query result.

Data

object

The data.

PlanId

integer

The plan ID.

189

CreateTime

string

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

2024-07-07 02:08:54

UpdateTime

string

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

2024-07-07 02:08:54

TemplateId

integer

The ID of the associated test plan template.

2162

TemplateName

string

The name of the associated test plan template.

MM

ResourceId

integer

The ID of the associated resource.

260860230684

PlanPipeline

array<object>

The test plan pipeline.

array<object>

WorkloadId

integer

The workload ID.

14

WorkloadName

string

The workload name.

test

ResourceId

integer

The resource ID.

36

ResourceName

string

The resource name.

GPU

Scene

string

The Scenarios, such as "baseline".

baseline

SettingParams

object

The configured workload parameters.

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

string

The parameter.

{}

EnvParams

object

The configured environment parameters.

CpuPerWorker

integer

The number of allocated CPUs per worker.

90

GpuPerWorker

integer

The number of allocated GPUs per worker.

8

MemoryPerWorker

integer

The amount of allocated memory per worker in GB.

500

ShareMemory

integer

The amount of allocated shared memory 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.

ods_galaxy_gateway_tickets

TotalCPU

integer

The total number of CPUs.

90

TotalGPU

integer

The total number of GPUs.

8

TotalMemory

integer

The total memory.

500

RequestCPU

integer

The number of currently requested CPUs.

90

RequestGPU

integer

The number of currently requested GPUs.

8

RequestMemory

integer

The amount of currently requested memory.

500

ExtendParam

object

The additional parameters.

string

The parameter.

{}

PipelineOrder

integer

The node sequence number.

1

ResourceGroupId

string

The resource group ID.

rg-acfmvmpzi7lmxhq

Tags

array<object>

The tags.

object

The tag information.

TagKey

string

The tag key.

appName

TagValue

string

The tag value.

test

RequestId

string

The request ID.

6DBAC169-93D1-5DCD-8109-30FB623B3197

AccessDeniedDetail

string

The access denied details.

{}

TotalCount

integer

The total count.

0

Examples

Success response

JSON format

{
  "Data": {
    "PlanId": 189,
    "CreateTime": "2024-07-07 02:08:54",
    "UpdateTime": "2024-07-07 02:08:54",
    "TemplateId": 2162,
    "TemplateName": "MM",
    "ResourceId": 260860230684,
    "PlanPipeline": [
      {
        "WorkloadId": 14,
        "WorkloadName": "test",
        "ResourceId": 36,
        "ResourceName": "GPU",
        "Scene": "baseline",
        "SettingParams": {
          "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": "ods_galaxy_gateway_tickets",
              "TotalCPU": 90,
              "TotalGPU": 8,
              "TotalMemory": 500,
              "RequestCPU": 90,
              "RequestGPU": 8,
              "RequestMemory": 500
            }
          ],
          "ExtendParam": {
            "key": "{}"
          }
        },
        "PipelineOrder": 1
      }
    ],
    "ResourceGroupId": "rg-acfmvmpzi7lmxhq",
    "Tags": [
      {
        "TagKey": "appName",
        "TagValue": "test"
      }
    ]
  },
  "RequestId": "6DBAC169-93D1-5DCD-8109-30FB623B3197",
  "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.