Trainings

Trainings are dedicated workloads that are specifically used for training models. They are by design preemptible workloads because they are used in unattended sessions where the scientists and researchers do not need to be present. These workloads are allowed to utilize resources over the project's quota.

Create a training.

post

Create a training workload using container related fields.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
and
and
Responses
post
/api/v1/workloads/trainings

Get training data.

get

Retrieve training details using a workload id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/workloads/trainings/{workloadId}

Delete a training.

delete

Delete a training using a workload id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

Responses
delete
/api/v1/workloads/trainings/{workloadId}

Suspend a training.

post

Suspend a training from running using a workload id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

Responses
post
/api/v1/workloads/trainings/{workloadId}/suspend

Resume a training.

post

Resume a training that was suspended using a workload id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

Responses
post
/api/v1/workloads/trainings/{workloadId}/resume

Last updated