MLA-C02

Introduction to Training Models with SageMaker AI

Built-in algorithms and common ML libraries, script mode with framework containers, configuring training jobs, reducing training time and distributed training.

  • 5 lessons
  • Module quiz

Amazon SageMaker AI trains models on managed infrastructure: the customer specifies the algorithm or code, the data and the instances, and SageMaker AI provisions the compute, runs the job, saves the model and releases the instances. There are three ways to provide the training logic: built-in algorithms, which need no code; script mode, which runs the team's own code on managed framework containers; and custom containers.

Training jobs also need configuration for data access, security and cost, and large jobs need techniques to finish faster, such as managed Spot training, which saves up to 90 percent, efficient input modes and distributed training across many GPUs.

What the exam expects

Questions test choosing between built-in algorithms, script mode and custom containers, configuring security settings, and choosing a distributed training approach: data parallelism when the model fits on one GPU, and model parallelism when it does not.

How this module is organised

Matching SageMaker AI Built-in Algorithms to Problems explains the built-in algorithms and libraries. Training Custom Code with Script Mode and Framework Containers explains how custom code runs. Configuring Training Jobs for Cost, Speed, Reliability and Security covers data, compute and security settings. Reducing Training Time and Choosing Data Parallel or Model Parallel Distributed Training explain how to train faster and at larger scale.

  1. Matching SageMaker AI Built-in Algorithms to Problems Lesson 1
  2. Training Custom Code with Script Mode and Framework Containers Lesson 2
  3. Configuring Training Jobs for Cost, Speed, Reliability and Security Lesson 3
  4. Reducing Training Time Lesson 4
  5. Choosing Data Parallel or Model Parallel Distributed Training Lesson 5
  6. Practise and review
  7. Checkpoint Practice activities across the module
  8. Test your knowledge 4 questions