သဘောတရား
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
| Technique | Speeds up | Note |
|---|---|---|
| FastFile or Pipe | Start-up | Skips the full download |
| Mixed precision | Each step | Smaller memory |
| Early stopping | The whole job | Needs a validation metric |
| Warm pools | Job start | Instances stay alive |
| Training Compiler | GPU training | No new releases |
| Managed Spot | Cost only | Checkpoint to resume |
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
| Technique | Speeds up | Note |
|---|---|---|
| FastFile or Pipe | Start-up | Skips the full download |
| Mixed precision | Each step | Smaller memory |
| Early stopping | The whole job | 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
| Technique | Speeds up | Note |
|---|---|---|
| Warm pools | Job start | Instances stay alive |
| Training Compiler | GPU training | No new releases |
| Managed Spot | Cost only | Checkpoint to resume |
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
| Input mode | How it works | Pick when |
|---|---|---|
| File | Copy all data, then train | Small data |
| FastFile | Stream S3 objects as files | Large data, easiest change |
| Pipe | Stream through a pipe | Large data, older option |
ဘာလဲ
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.
ဒီ task ထဲမှာ · 2.2
- Built-in algorithms for tabular data
- Built-in algorithms: clustering, dimensionality reduction, anomaly
- Built-in algorithms: text, sequence and forecasting
- Built-in algorithms: image and video
- Training jobs, script mode and ML libraries
SageMaker AMT
- Reducing training time
- Distributed training and HyperPod
- Overfitting, underfitting and catastrophic forgetting
- Combining models
- Epochs, steps, batch size and learning rate
- Task-specific prompt engineering
- Fine-tuning and continued pre-training in Bedrock
- PEFT, LoRA and fine-tuning on SageMaker
- Model distillation
- Optimizing retrieval and embedding models