GetRLTrainingProgress

Updated at:

Retrieves the RL training progress of a DLC job.

Operation description

Retrieves the RL training progress of a DLC job.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v1/jobs/{JobId}/rltrace/progress HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

JobId

string

Yes

The job ID.

dlc5yfk7eyg95lac

Request parameters

Parameter

Type

Required

Description

Example

StartTime

string

No

The start time of the query window in UTC RFC3339 format. Default value: EndTime-7d.

2026-08-04T00:00:00Z

EndTime

string

No

The end time of the query window in UTC RFC3339 format. Default value: now.

2026-08-07T00:00:00Z

Response elements

Element

Type

Description

Example

object

Schema of Response

JobId

string

The job ID.

dlc-20210126170216-xxxxxxx

Found

boolean

Indicates whether master-0 has logs within the window. If the value is false, other fields use default values.

true

LastLogTime

integer

The time of the last log in UNIX seconds.

1787474487

ServerNow

integer

The current server time in UNIX seconds, used by the frontend to calculate the time since the last log.

1787475398

Config RLProgressConfig

The parsing result of the training configuration dump. Unparsed fields are empty.

{}

Step RLProgressStep

The step progress. Pace is calculated based on the difference between two adjacent step markers. ETA = (Total - Current) × Pace.

1

Phase

string

The original text of the latest trainer phase marker.

disagg: actor generate sequences

PhaseTime

integer

The time of the phase marker in UNIX seconds, used by the frontend to calculate the dwell time.

1787474487

TrainMode

string

The training mode. Valid values: disagg (decoupled training and inference), colocate (co-located training and inference), or an empty string (unrecognized).

disagg

Stages RLProgressStages

The phase pipeline.

[{'Index': 'Group0-Stage0', 'StageInfo': {'Status': 'FAIL', 'EndTime': 0, 'Jobs': [{'Id': 477917255}], 'Name': u'\u9636\u6bb51', 'StartTime': 1784858533000}, 'Name': u'\u9636\u6bb51'}]

Trainer RLProgressTrainer

The internal status of the trainer, such as mini-batch, micro-batch, or parameter synchronization.

Buffer RLProgressBuffer

The readiness of the data buffer. The ETA is estimated by using the rollout completion rate as a proxy.

Eval RLProgressEval

The readiness of the eval buffer (tag=-1).

Throughput

number

The latest generation throughput in tokens per second.

1200

Rollout RLProgressRollout

The rollout throughput.

Slow RLProgressSlow

The soft alerts for slow inference. Up to 20 details are included.

Fatal

array

The fatal errors. Up to 5 errors are included, and sandbox business noise is excluded.

RLProgressFatal

A fatal training error record, including the error log and its occurrence time.

False

HealthOk

boolean

Indicates whether no fatal errors are found. If Fatal is empty, the value is true.

true

RequestId

string

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Success response

JSON format

{
  "JobId": "dlc-20210126170216-xxxxxxx",
  "Found": true,
  "LastLogTime": 1787474487,
  "ServerNow": 1787475398,
  "Config": {
    "TrainBatchSize": 512,
    "RolloutN": 8,
    "PpoMiniBatchSize": 128,
    "TotalSteps": 3,
    "NumMinibatches": 4
  },
  "Step": {
    "Current": 3,
    "Total": 3,
    "Time": 1787474487,
    "PaceSec": 14,
    "Pct": 100,
    "EtaSec": 0
  },
  "Phase": "disagg: actor generate sequences",
  "PhaseTime": 1787474487,
  "TrainMode": "disagg",
  "Stages": {
    "Mode": "colocate",
    "Stages": [
      {
        "Key": "traj",
        "Label": "Generate trace",
        "Marker": "start/end generation",
        "Optional": false,
        "Status": "done",
        "StartTime": 1787474487,
        "EndTime": 1787474487,
        "Duration": 0.483
      }
    ],
    "CurrentIndex": 6,
    "StepDone": false
  },
  "Trainer": {
    "MiniIdx": 1,
    "NumMinibatches": 4,
    "Micro": {
      "Current": 3,
      "Total": 3
    },
    "Sync": {
      "State": "end",
      "Cost": 1.5
    }
  },
  "Buffer": {
    "Ready": 500,
    "Consumed": 0,
    "Finished": 500,
    "Target": 512,
    "TrainBatchSize": 512,
    "Detail": [
      {
        "Tag": 1,
        "Ready": 500,
        "Consumed": 0,
        "Finished": 500,
        "Total": 3
      }
    ],
    "Pct": 100,
    "Training": true,
    "FillRatePerMin": 120.5,
    "EtaSec": 0
  },
  "Eval": {
    "Ready": 500,
    "Finished": 500,
    "Total": 3,
    "Progress": 500,
    "Done": true,
    "Pct": 100
  },
  "Throughput": 1200,
  "Rollout": {
    "Finished": 500,
    "Processed": {
      "Done": 0,
      "Total": 3
    },
    "RatePerMin": 31.2
  },
  "Slow": {
    "Elapsed": 42.5,
    "Time": 1787474487,
    "Details": [
      {
        "Elapsed": 42.5,
        "Time": 1787474487,
        "Message": "CUDA out of memory. Tried to allocate 2.00 GiB",
        "Rank": 0,
        "Pod": "dlc193cpaitk8eny-master-0",
        "WorkerPid": 12345,
        "Ip": "192.168.0.12",
        "Rid": "req-8f3a2c1d",
        "TokenizerPid": "12360",
        "Ipc": "ipc://worker-0",
        "IsPause": "false",
        "StatePresent": "true",
        "OutQueue": "3"
      }
    ]
  },
  "Fatal": [
    {
      "Time": 1787474487,
      "Message": "CUDA out of memory. Tried to allocate 2.00 GiB",
      "RawMessage": "[rank0]: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.00 GiB",
      "SubsecNs": 123456789,
      "CollectNs": "1787474487713456789"
    }
  ],
  "HealthOk": true,
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid.
500 InternalServerError An internal error has occurred. Try again later.
403 OperationForbidden You are not authorized to access the specified job.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.