ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

概念

Reducing training time

Find where a job loses time, then fix it: data input, precision, instances, start-up and wasted epochs.

本课尚未翻译,暂以英文显示。

  • FastFile or Pipe

    Speeds up
    Start-up
    Note
    Skips the full download
  • Mixed precision

    Speeds up
    Each step
    Note
    Smaller memory
  • Early stopping

    Speeds up
    The whole job
    Note
    Needs a validation metric
  • Warm pools

    Speeds up
    Job start
    Note
    Instances stay alive
  • Training Compiler

    Speeds up
    GPU training
    Note
    No new releases
  • Managed Spot

    Speeds up
    Cost only
    Note
    Checkpoint to resume
Techniques and what each speeds up.

1 / 2

  • FastFile or Pipe

    Speeds up
    Start-up
    Note
    Skips the full download
  • Mixed precision

    Speeds up
    Each step
    Note
    Smaller memory
  • Early stopping

    Speeds up
    The whole job
    Note
    Needs a validation metric

2 / 2

  • Warm pools

    Speeds up
    Job start
    Note
    Instances stay alive
  • Training Compiler

    Speeds up
    GPU training
    Note
    No new releases
  • Managed Spot

    Speeds up
    Cost only
    Note
    Checkpoint to resume
Techniques and what each speeds up.
  • File

    How it works
    Copy all data, then train
    Pick when
    Small data
  • FastFile

    How it works
    Stream S3 objects as files
    Pick when
    Large data, easiest change
  • Pipe

    How it works
    Stream through a pipe
    Pick when
    Large data, older option
Three data input modes.

是什么

First find the bottleneck. If the GPUs sit idle waiting for data, the fix is data loading, not a bigger instance. Watch GPU and CPU use in Amazon CloudWatch. Status: SageMaker Debugger, which could profile jobs, was moved to maintenance in the June 2026 availability update and is closed to new customers from July 30, 2026. The same update lists SageMaker Profiler as entering sunset.

是什么

Data input mode. File mode downloads the whole data set to the instance before training starts. FastFile mode shows S3 objects as files and streams them as the script reads, so training starts at once. Pipe mode streams data through a pipe and is the older streaming option. Use FastFile or Pipe for large data sets.

是什么

Compute. Mixed precision trains with 16-bit numbers where safe, which saves memory and runs faster on modern GPUs. Choose an instance with the right accelerator, and use a larger batch if memory allows. Early stopping ends a run that has stopped improving. Managed warm pools keep instances alive for a period you set after a job, so the next job skips start-up. They help when you run many short jobs, such as tuning. Managed Spot training cuts cost, not time, and a restart after an interruption adds delay, so checkpoint often.

是什么

SageMaker Training Compiler optimizes deep learning models for GPU training. Status: AWS announced that there will be no new releases. Existing containers keep working but get no patches.

要记住

  • Check GPU use first. An idle GPU means slow data loading.
  • FastFile or Pipe starts training without waiting for a full download.
  • Mixed precision: faster steps and smaller memory on modern GPUs.
  • Early stopping and warm pools save time. Spot saves cost, not time.

要记住

  • Training Compiler: no new releases. Debugger: maintenance. Profiler: sunset.
  • A larger batch helps GPU use if memory allows. Adjust the learning rate with it.

考试中

  • “Training starts slowly because 2 TB is copied first” points to FastFile or Pipe mode.
  • “Many short tuning jobs waste minutes starting instances” points to managed warm pools.
  • “Speed up GPU training and cut memory use” points to mixed precision.