Smaws_Client_SageMaker.CreateTrainingPlanCreates a new training plan in SageMaker to reserve compute capacity.
Amazon SageMaker Training Plan is a capability within SageMaker that allows customers to reserve and manage GPU capacity for large-scale AI model training. It provides a way to secure predictable access to computational resources within specific timelines and budgets, without the need to manage underlying infrastructure.
How it works
Plans can be created for specific resources such as SageMaker Training Jobs or SageMaker HyperPod clusters, automatically provisioning resources, setting up infrastructure, executing workloads, and handling infrastructure failures.
Plan creation workflow
Users search for available plan offerings based on their requirements (e.g., instance type, count, start time, duration) using the
{{:https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_SearchTrainingPlanOfferings.html}SearchTrainingPlanOfferings} API operation.
Scheduled.The plan can be used to:
When the plan start date arrives, it becomes Active. Based on available reserved capacity:
Plan composition
A plan can consist of one or more Reserved Capacities, each defined by a specific instance type, quantity, Availability Zone, duration, and start and end times. For more information about Reserved Capacity, see
{{:https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ReservedCapacitySummary.html}ReservedCapacitySummary} .
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_training_plan_request ->
(Types.create_training_plan_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_training_plan_request ->
(Types.create_training_plan_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result