Create Training Plan
sagemaker_create_training_plan | R Documentation |
Creates a new training plan in SageMaker to reserve compute capacity¶
Description¶
Creates 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
search_training_plan_offerings
API operation. -
They create a plan that best matches their needs using the ID of the plan offering they want to use.
-
After successful upfront payment, the plan's status becomes
Scheduled
. -
The plan can be used to:
-
Queue training jobs.
-
Allocate to an instance group of a SageMaker HyperPod cluster.
-
-
When the plan start date arrives, it becomes
Active
. Based on available reserved capacity:-
Training jobs are launched.
-
Instance groups are provisioned.
-
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
ReservedCapacitySummary
.
Usage¶
Arguments¶
TrainingPlanName
[required] The name of the training plan to create.
TrainingPlanOfferingId
[required] The unique identifier of the training plan offering to use for creating this plan.
Tags
An array of key-value pairs to apply to this training plan.
Value¶
A list with the following syntax: